Virtual Servers on Debian: Requirements
Table of Contents
How to setup your Debian system for virtual servers. This document describes the packages you need to install and the kernel changes required to start using virtual servers on your Debian system.
Linux Kernel With Virtual Server Patch
You will need a patched linux kernel that supports process separation using the linux vserver patch. The following instructions are for the Debian stable release code named "sarge".
Debian Packages To Install
The following Debian packages should be installed:
Patching The Kernel
Install the kernel-patch-vserver package.
The patch sources are available in
You should find patches for various kernels available.
$ ls -1 /usr/src/kernel-patches/diffs/vserver patch-2.4.27-9-vs1.2.10-2.diff.gz patch-2.6.10-5-debian-vs1.9.4.diff.gz patch-188.8.131.52-vs184.108.40.206.diff.gz patch-2.6.8-15-vs1.9.5.x-4.diff.gz
Select the kernel you like from the available patches (I chose 220.127.116.11).
Install the kernel source for the selected kernel then patch the kernel as follows
# cd /usr/src/linux-18.104.22.168 # zcat ../kernel-patches/diffs/vserver/patch-22.214.171.124-vs126.96.36.199.diff.gz | patch -p1
This applies the virtual server patch to the kernel sources.
Now build your kernel normally, install, and boot from it.
You are now ready to start playing with virtual servers!