How small.?

Associate
Joined
8 Mar 2004
Posts
888
Location
Leicestershire
Going to be starting a small project soon creating some custom vmware appliances and had a quick question...

How small do you think i could get a debian install with the following :-
PHP5
Apache2
MySQL
rrdtool
WEBMIN
Any other dependancies

I'm thinking maybe 2GB disk with 128 MB ram would be fine for some small installations.?

Theyre only going to be running CACTI and OA for network auditing.
 
I'm just in the process of doing this at work for some disposable testing VM's.
Using ubuntu 11.10 server, it's at about 1.4GB with Apache2/dovecott for POP3 & IMAP/Postfix/Proftpd/MYSQL/Webmin/PHP5/Perl.
I'm pretty sure you could get the lot below 1GB with a bit of trimming. I'm going to fire up my susestudio account and see if I can get a custom build below 1GB installed tomorrow when I get time.
 
Disk-wise that should be fine, but I'm not sure 128MB memory will work out the box. I would perhaps considering swapping out Apache2 for something more lightweight such as Lighttpd, but if you must use Apache for whatever reason then this will help you out.
 
2Gb disk is more than enough, but I'd be worried about the RAM once you start using the box. As mentioned, lighttpd is a good shout but I'd just stick in some more RAM.

Although, with just cacti it might be fine, I've used a similar vmachine with only 256MB and no issues were had.
 
How small

Currently under 2GB vhd 256MB ram and thats with the following:-

CACTI
APACHE2
MySQL
PHP5
PERL
OpenAudit
Webmin
VirtualMin
ClamAV
SQUID (with prefetch)

Going to do a custom kernel build next week and try to optimise for EXT4 with trim enabled.
 
I ran my internet facing live website with debian and most of the services you mention with 128MB for quite a few years, and it was fine. As mentioned, you might want to crossgrade to something different than Apache these days (and similarly, MySQL) but it should bit just fine in 2GB/128MB still...

Do have a look at lighthttpd and (especialy) nginx.
 
Back
Top Bottom