What are Vservers
The [http://linux-vserver.org Linux VServer Project] provides Linux kernel-based virtual servers running on a single piece of hardware.
Vservers are very useful for quickly setting up a set of restricted services for testing or production use.
Vservers are not as popular as the similar [http://www.xen-source.com XEN] Hypervisor, but help you a lot, if you have to administrate a large number of servers and services.
While it will take some time until XEN ist integrated into Ubuntu, Vservers are available now.
Installation
Installation is quite simple - you need:
- Kernel with Vserver patch
- util-verver
- vserver-debiantools
You can install these package if you add the following lines to your sources.list:
deb http://ubuntu.uni-klu.ac.at/ubuntu.uniklu/ breezy uniklu deb http://ubuntu.uni-klu.ac.at/ubuntu.uniklu/ breezy uniklu-vserver #deb-src http://ubuntu.uni-klu.ac.at/ubuntu.uniklu/ breezy uniklu #deb-src http://ubuntu.uni-klu.ac.at/ubuntu.uniklu/ breezy uniklu-vserver
The uniklu archives are signed - if you want get rid of apt-get warnings: {{{$ wget http://ubuntu.uni-klu.ac.at/uniklu-debuild.pub $ sudo apt-key add uniklu-debuild.pub }}}
To install the vserver kernel and utils enter:
# apt-get install linux-image-2.6.12-10-686 # apt-get install util-verver vserver-debiantools
You should get the following revisions
kernel |
2.6.12-10.23vs (one api number higher than the standard kernel) |
util-verver |
>= 0.30.208-1ubuntu1 |
vserver-debiantools |
>= 0.2.3 |
The vserver-debiantools do not work 100% but should help you the setup your first vserver - see [http://support.uni-klu.ac.at/Vserver Uniklu Vserver Info]
The kernel and binaries are available for i386 and amd64 and you can setup a 32bit i386 Vserver running on an amd64 Kernel.
Links
[http://linux-vserver.org Linux VServer Project]
[http://support.uni-klu.ac.at/Vserver Uniklu Vserver Info]