[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Apache, PHP and Mysql on NSLU2

Thanks.  I am going to try lighttpd and see how it goes.  I was
wanting to try to mirror my real hosting server as best I could with
apache, php and mysql so I can develop scripts and sites on the slug
and then upload them to the real webaccessable site once things are
ready for 'real traffic'.  Sine this is a play box speed is not a

On 6/22/07, David Fokkema <dfokkema@ileos.nl> wrote:
On Thu, 2007-06-21 at 22:07 -0400, Aaron Klein wrote:
> Has anyone gotten the treo of web apps installed and working on the
> NSLU2?  Maybe its not possible to get Mysql working due to the limited
> memory.  I have gotten apache running but its verion 1.3.X  I seem to

Sure! But as you say, memory is at a premium. So... take the 'small'
example from /usr/share/doc/mysql-server-5.0/examples (or something like
that...) and disable the innodb engine, you don't need that.
Furthermore, apache uses a lot of memory compared to, for example,
lighttpd. PHP5 uses less memory than PHP4 (according to php.net, read it
somewhere in the changelogs, new features, or ...).

I'm running wordpress + gallery2 (embedded) on my slug. It uses mysql
and lighttpd as backend servers. It is NOT fast. However, if you leave
it at that, swapping will occur, but not too frequently. If you also use
your slug for imap, samba, or other things, php will be swapped out when
checking your mail, and swapped in when accessing your site which is a
real pain in the ass (really, I know).

Furthermore: use caching wherever you can! Install eaccelerator from
source. You want it. Really. For wordpress you can download a caching
module, gallery2 has a caching module and I suspect most other cms
thingy's have too. You can also try something like varnish.

Good luck,


To UNSUBSCRIBE, email to debian-arm-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org

Have pets?  Get the help you need from the Pet Advice Network.
We have 6 websites ready to help you.  http://www.petadvice.net

Reply to: