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-18.104.22.168-vs22.214.171.124.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 126.96.36.199).
Install the kernel source for the selected kernel then patch the kernel as follows
# cd /usr/src/linux-188.8.131.52 # zcat ../kernel-patches/diffs/vserver/patch-184.108.40.206-vs220.127.116.11.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!