Setting up VServers for normal people!
-------------------------------------- (please wikifiy!) -------------------------------------- 1) Introduction --------------- I had quite the trubble with setting up a vserver for the first time and this is going to focus on how to set up vservers generally with gentoo-linux. I'm going to try to make this as detailed as possible but try not to dwell on any one subject for too much time. I setup the vserver a long time ago so I may miss some cricical steps. This is my best attempt to write out how to set up vservers. 2) Setup -------- The vserver tools seem to advance very quickly so using the latest version is reccomended, if you are using gentoo (as this is a gentoo based howto) I suggest you use ~x86 to get the latest vserver-sources and util-vserver. <code> ACCEPT_KEYWORDS="~x86" emerge vserver-sources ACCEPT_KEYWORDS="~x86" emerge util-vserver </code> Now doing so will setup the latest version in testing, if you want a stable system it might be benificial to not use testing sources however I do. At the time of writing this I'm using: vserver-2 root # emerge -p vserver-sources These are the packages that I would merge, in order: Calculating dependencies ...done! [ebuild R ] sys-kernel/vserver-sources-1.9.4 and vserver-2 root # emerge -p util-vserver These are the packages that I would merge, in order: Calculating dependencies ...done! [ebuild R ] sys-cluster/util-vserver-0.30.204 once you have the sources and the vserver util you have to recompile your kernel, so go to /usr/src, correct the symlink and then compile the kernel as you normally would but check off the things you want in the vserver section. If you need more help with compiling your kernel please seek another tutorial that will go through it deeper. to be c o m p l e t e d! |