Engine X (nginx)
Apr 21st, 2009 by Xangis
I’ve spent the past couple days setting up an Ubuntu Server on VMWare. I’m building a development environment that I can use somewhere like Slicehost or Linode, and I want to get it set up so that it can run the 20 or so domains I have without chewing up all available resources.
There’s a lot I want to be able to run on this VPS –
- Drupal (PHP + MySQL)
- Django (Python + PostgreSQL)
- Rails (Ruby + MySQL)
- ASP.NET Apps (C# + PostgreSQL)
- A MUD (C#)
- Silverlight/Moonlight Apps (C#)
Since the biggest bottleneck in a VPS is usually RAM and Apache is a gluttonous pig when it comes to memory, I’ve been working with nginx, which is fast and has a very small memory footprint. That comes at a cost, though — pretty much everything has to be configured manually.
Part of the configuration involves manually creating fastcgi entries for scripting languages that I’m using. So far I have PHP and Python working (so I can use Drupal and Django). I’m halfway there — I just need to get Ruby and C# going.
Leave a Reply
You must be logged in to post a comment.