Linux-VServer International Conference on Open Source #5

Example for setup VServer on Debian sarge

Prepare the host system

Get the tools that we need for building a kernel package

# apt-get install fakeroot kernel-package

It is actually better to use a 2.6.12 kernel than a 2.6.8 one as there are security updates and the vserver patch used for 2.6.12 is the stable version 2.0 release, also the util-vserver tools version has many bugs fixed.

Temporarily add the following to your /etc/apt/sources.list:

deb http://ftp.debian.org.tw/debian/ unstable main
deb-src http://ftp.debian.org.tw/debian/ unstable main 

Get kernel source and vserver patch.

# apt-get update
# apt-get install -t unstable kernel-patch-vserver linux-source-2.6.12 
continued...
Copyright © 2005 Taiwan Debian Users Group