vserver

vserver is a kernel patch plus userland utils that lets you run multiple independent Linux servers inside a single physical server. To find out what vserver is about, see Jacques Gélinas' paper on vserver and then look at the new vserver project web site.

I've been using vserver since Jan 2002. In that time I've written a few Perl scripts to automate the generation of new virtual servers, but they haven't been fit for public release. Recently I discovered the Joy of Yum, and so I wrote a small shell script that uses yum to create a Fedora Core 1 vserver:

The script has everything hard-coded, but is so small that it's not hard to read and understand it all.

Two non-obvious things to note: