2
edits
Changes
update for debian lenny
OpenVZ consists of a kernel, user-level tools, and container templates.
This guide tells how to install the kernel and the tools on [http://www.debian.org Debian] stableEtch and Lenny.
== Requirements ==
OpenVZ per-container disk quota is supported only for ext2/ext3 filesystems so use one of these filesystems (ext3 is recommended) if you need per-container disk quota.
=== Repository setup (Etch only) === '''If you are using Debian Lenny, this step in no longer required. Openvz kernel packages and tools are available on main repository.'''
==== 1. Using openvz.org repositories ====
== Kernel installation ==
=== Lenny === <pre>aptitude install linux-image-openvz-686</pre>this command will install latest kernel and all required packages and will arrange grub bootloader propertly. === Etch === ==== 1. Using openvz kernel repositories ====
{{Note|In case you want to recompile the OpenVZ kernel yourself on Debian, see [[Compiling the OpenVZ kernel (the Debian way)]].}}
</pre>
===== Configuring the bootloader =====
In case GRUB is used as the boot loader, it will be configured automatically, or execute update-grub; lines similar to these will be added to the <tt>/boot/grub/menu.lst</tt> file:
{{Note|per default on debian/ubuntu, a 2.6.22 kernel will boot before a 2.6.18, please check manually the grub boot order. See man update-grub for more details}}
===== Installing the user-level tools =====
OpenVZ needs some user-level tools installed. Those are:
</pre>
==== 2 Using Debian lenny repositories ====
If you upgrade to lenny, you can search openvz kernel and can install with: