[ubuntu-uk] Ubuntu Minimal, Lighttpd, Perl CGI, PHP and & MySQL with Tiny Memory
webbox.uk at gmail.com
Thu Mar 6 17:38:28 GMT 2008
On Thu, Mar 6, 2008 at 5:14 PM, Andrew Oakley <andrew at aoakley.com> wrote:
> I've written a guide to installing Ubuntu Server, Lighttpd (an
> alternative to the Apache web server), Perl CGI, PHP and & MySQL on a
> machine (or virtual machine) with 64MB of memory or less.
> Comments very much appreciated, in particular the MySQL config.
> Although Ubuntu does provide a LAMP default install in Ubuntu Server
> edition, this requires 256MB memory. In particular, Apache and
> especially the default MySQL install are real memory hogs, and are
> designed for reasonably heavy-use environments. I saw around 200MB RAM
> in use with no users connected!
> My config, in contrast, is designed for test/development environments or
> very low-use websites, typically serving no more than 6 concurrent users
> and only simple SQL requests. My tests under Ubuntu 6 LTS Server showed
> less than 34MB of memory in use.
> In particular, my config is suitable for very cheap VPS hosting accounts
> such as vpsville.ca , tektonic.net , cheapvps.co.uk and so forth -
> basically your own root-access Internet server for less than five quid a
Sounds cool, but I bet there are much better replacements for MySQL,
like Postgres, which runs in quite a low mem footprint.
Softdel Limited Hosting Services
Mail: kris at softdel.net
More information about the ubuntu-uk