Difference between revisions of "Installation on Debian"

From Linux-VServer

Jump to: navigation, search
(versions)
(Packages installation)
Line 6: Line 6:
 
== Packages installation ==
 
== Packages installation ==
 
The packages required by Linux-VServer are:
 
The packages required by Linux-VServer are:
* '''linux-image-vserver-686''' - This is the current kernel
+
* '''linux-image-vserver-686''' - This is the current kernel, use '''linux-image-vserver-amd64''' on 64-bit systems, you can still create 32-bit guests
 
* '''util-vserver''' - These are the utilities used to administer the guests
 
* '''util-vserver''' - These are the utilities used to administer the guests
 
* '''ssh''' - This is probably already installed, but just in case it isn't
 
* '''ssh''' - This is probably already installed, but just in case it isn't
  
 
All the packages you need can be obtained via
 
All the packages you need can be obtained via
<pre>apt-get install linux-image-vserver-686 util-vserver ssh</pre>
+
<pre>aptitude install linux-image-vserver-686 util-vserver ssh</pre>
 
so run this as ''root'' and reboot.
 
so run this as ''root'' and reboot.
 
To check out wherever everything went fine you may run
 
To check out wherever everything went fine you may run
 
<pre>uname -r</pre>
 
<pre>uname -r</pre>
and check that kernel version is something like '''2.6.18-4-vserver-686'''. That's it.
+
and check that kernel version contains '''vserver''', e.g. '''2.6.18-4-vserver-686'''. That's it.
  
 
Now that the host system is ready, you can proceed with [[Building Guest Systems|building guests]].
 
Now that the host system is ready, you can proceed with [[Building Guest Systems|building guests]].

Revision as of 20:54, 19 April 2009

This guide is written against Debian Etch (4.0). This release includes kernel linux-image-vserver-686, so no manual patching is needed. Hence, Installation on Debian Etch is pretty easy and straightforward.

If you need to compile your own kernel, you need to apply the vserver-version.patch. Details at 2007/Apr/25


Packages installation

The packages required by Linux-VServer are:

  • linux-image-vserver-686 - This is the current kernel, use linux-image-vserver-amd64 on 64-bit systems, you can still create 32-bit guests
  • util-vserver - These are the utilities used to administer the guests
  • ssh - This is probably already installed, but just in case it isn't

All the packages you need can be obtained via

aptitude install linux-image-vserver-686 util-vserver ssh

so run this as root and reboot. To check out wherever everything went fine you may run

uname -r

and check that kernel version contains vserver, e.g. 2.6.18-4-vserver-686. That's it.

Now that the host system is ready, you can proceed with building guests.

Versions

Debian already contains vservers kernels, so no manual patching and compiling is needed.

Debian release Kernel version VServer version
Etch 2.6.18+6 2.0.2.2-rc9
Lenny 2.6.26+17 2.3.0.35

References

Personal tools