I'm setting up a WordPress server, with lighttpd, mysql, php that would need to serve only couple of hundred of hits a day. It would be running on a Xen-based VPS with 128 megs of RAM.

The question is, what operating system would be best for the task? The choices are NetBSD, Debian, Gentoo, Fedora 14 and Ubuntu. Currently the server runs on Debian, hitting the swap notoriously. I'm thinking about NetBSD (Would prefer FreeBSD if it was available, NetBSD seems less friendly).

Also, I'm open to suggestions regarding the rest of the setup, like database choice.

link|improve this question

feedback

closed as not constructive by techie007, random Nov 1 '11 at 1:20

This question is not a good fit to our Q&A format. We expect answers to generally involve facts, references, or specific expertise; this question will likely solicit opinion, debate, arguments, polling, or extended discussion. See the FAQ for guidance on how to improve it.

1 Answer

NetBSD has a very small footprint, that would be the best, but quite difficult to setup. I would choose Debian or CentOS.

Also as a recommendation give lightspeed web server a try.

link|improve this answer
I'm currently experimenting with NetBSD on a virtual box, to get to know it a little better. Hows lightspeed working with Wordpress? Nginx needed some tweaking to make it work work WP and caching plugins – Halik Oct 29 '11 at 20:33
Also give FreeBSD a try, I managed to get Lightspeed, PHP and MySQL all working in FreeBSD although it took longer than Linux Distros – Sandeep Bansal Oct 29 '11 at 20:34
FreeBSD is not available at my provider. I would much prefer it instead of NetBSD. If it runs only the services mentioned, could you tell me, whats the average memory usage on your box? – Halik Oct 29 '11 at 20:50
It is quite close to your limit, I just have a web server installed on a virtual box on my desktop system. With FreeBSD it uses about 100MB RAM. With anything else it close to 300MB – Sandeep Bansal Oct 29 '11 at 20:58
feedback

Not the answer you're looking for? Browse other questions tagged or ask your own question.