6,534
edits
Changes
veid -> CTID; use DL for repos; some Uppercasing Removed
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] Stablestable.
== Requirements ==
=== Filesystems ===
It is recommended to use a separate partition for container private directories (by default <code>/var/lib/vz/private/<veidCTID></code>). The reason why you should do so is that if you wish to use OpenVZ per-container disk quota, you won't be able to use usual Linux disk quotas on the same partition. Bear in mind that per-container quota in this context includes not only pure per-container quota but also usual Linux disk quota used in container, not on [[HN]].
At least try to avoid using root partition for containers because the root user of container will be able to overcome the 5% disk space barrier in some situations. If the HN root partition is completely filled, it will break the system.
At the moment two different repositories are online at http://download.openvz.org:
: apt-uri http://download.openvz.org/debian
: apt-uri http://download.openvz.org/debian-systs
: (Mirror of OpenVZ Repository from http://debian.systs.org/)
== Kernel installation ==
{{Note|In case you want to recompile the OpenVZ kernel yourself on Debian, see [[Compiling the OpenVZ Kernel kernel (the debian Debian way)]].}}
First, you need to choose what kernel you want to install.