Open main menu

OpenVZ Virtuozzo Containers Wiki β

Changes

Installation on Debian/old

44 bytes added, 23:54, 27 November 2010
Requirements: Cleaned up some of the wording / grammar; nothing too major.
=== Filesystems ===
It is 's recommended to that you use a separate partition for container privatedirectories (by default <code>/var/lib/vz/private/<CTID></code>). The reason why you should do so for this is that if you wish to use the 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 the usual Linux disk quota used in container, not on the [[HN]].
At the very least try to avoid using the root partition for containers , because the root user of a 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.
OpenVZ per-container disk quota is supported only for ext2/ext3 filesystems so ; therefore it makes sense to use one of these filesystems (ext3 is recommended) if you need per-container disk quota.
=== Repository setup (Etch only) ===
{{Note|By default, on Ubuntu systems root tasks are executed with [https://help.ubuntu.com/community/RootSudo sudo]}}
This can be achieved by done via the following commands, as root or as privileged "sudo" user
<pre>
# echo -e "\ndeb http://download.openvz.org/debian-systs etch openvz" >> /etc/apt/sources.list
==== 2. Using Debian repositories (upgrade to lenny) ====
There is even an a '''lenny''' repository with kernel 2.6.28. '''Use it at your own risk!'''
Add lenny repositories to your '''/etc/apt/sources.list'''
1
edit