We currently migrate to MediaWiki from our old installation, but not all content has been migrated yet. Take a look at the Wiki Team page for instructions how to help or browse through our new wiki at wiki.linux-vserver.org to find the information already migrated.

You can host virtual servers on a debian host.

Preliminaries

A minimal, standard install would be good.

Services on the root server

You probably do not want to run any services on your root server. (We should list the way to disable services).

Services on the root server that bind to all IP addresses will block you from providing them from within the virtual servers.

To find out about running services look at the output of the command "netstat -aep":

tcp 0 0 *:smtp *:* LISTEN .... /inetd

A service bound to all IP addresses will show up with * instead of the IP or hostname on the 4th column ("*:smtp")

Bound to one address it will show up the host name of the bound IP address or the IP address itself:

tcp 0 0 vs1.this.is:smtp *:* LISTEN .... /xinetd

If you need to run services on the root server you will have to tell them to only bind to the ip address of the root server.

ssh on the root server

If you want to use ssh for remote administration of the root server, you will have to tell the ssh daemon process to only bind to the ip address of the root server.

In /etc/ssh/sshd_config inside the root server put:

ListenAddress? root.server.IP.address

and restart sshd

(x)inetd on the root server

For inetd you can install xinetd

Add to start of /etc/xinetd.conf:


defaults

{

bind = my.IP.addr.here
}

Kernel

You must patch or find a Kernel.

You could read http://vserver.strahlungsfrei.de/tiki-index.php?page=GetTheKernelAndInstall

but the info there is a bit out-dated.

Install vserver

It includes newvserver and vserver-copy.

Vserver is part of Sid (Unstable) so you if you are willing to use what Debian

calls unstable (and a lot us us do) you can use Dselect or apt-get to install.

Woody-Backports are at:

http://www.backports.org/package.php?search=vserver

insert int /etc/apt/sources.list:

deb http://www.backports.org/debian stable util-vserver

another backport:

add deb http://debian.opal.dhs.org stable main

to /etc/apt/sources.list



Also there is a problem with bind running on a virtual server, read

http://vserver.strahlungsfrei.de/tiki-index.php?page=UsingBin9Problem

NOTE: The kernel-patch-ctx (version 17-1) Debian package does not seem to patch kernel-source-2.4.21 despite reporting that "Patch /usr/src/kernel-patches/i386/apply/ctx processed fine"