Linux-vserver

From SlackWiki
Jump to navigation Jump to search

Linux-VServer is a virtual private server implementation that was created by adding operating system-level virtualization capabilities to the Linux kernel.

Setting up a Linux-VServer host on Slackware

Linux-Vserver requires a patched kernel and specific utilities. Installation is outlined here. The required steps for installing on Slackware are:

  • Download a vanilla kernel source and a matching vserver patch here
  • Unpack the kernel sources and apply the VServer patch. Copy .config file from Slackware's own kernel sources, just in case. Then use "make menuconfig" and check the Linux VServer settings, making sure to enable it.
  • make && make modules_install && make install for easy kernel installation.
  • Download and compile dietlibc. It is required, and Linux_Vserver will fail silently without it. It is available in Slackbuilds.org and easiest to install from there. The slackbuild puts it in /opt/diet .
  • Download, compile and install util-vserver. You should do "DIET=/opt/diet/bin/diet ./configure", otherwise the dietlibc isn't found.

Setting up a Slackware guest OS

Check up Roberto Puzzanghera's blog for installation scripts.

To be continued