Open main menu

OpenVZ Virtuozzo Containers Wiki β

Changes

Installation on Debian/old

439 bytes removed, 20:30, 8 October 2013
add a big fat warning
{{Warning|The majority of the content on this page only applies to older, unsupported Debian versions and is archived on this page for historical reasons only. '''The page you need is [[Installation on Debian]].'''}}
 
OpenVZ consists of a kernel, user-level tools, and container templates.
For Squeeze, use the Lenny directions.
For Etch usersWheezy (7.0), this document explains how to partially upgrade to use the vzctl package included in wheezy, together with the Wheezy OpenVZ kernels from [http://download.openvz.org/debian/ http://download.openvz.org/debian/]. Alternatively reduced functionality may be possible using the stock Debian Lenny and install from lenny repositories Wheezy kernel ('''use this options at your risk'''based on kernel.org version 3.2)and [[Vzctl_for_upstream_kernel]].
You may also wish to check the information on [http://wiki.debian.org/OpenVz the Debian wiki].
For Etch users, this document explains how to partially upgrade to Debian Lenny and install from lenny repositories ('''Source(s):use this options at your risk''' [http://www).downloadranking.com Installation on Debian] 
== Requirements ==
OpenVZ per-container disk quota is supported only for ext2/ext3 filesystems; therefore it makes sense to use one of these filesystems (ext3 is recommended) if you need per-container disk quota.
 
 
'''Source(s):''' [http://www.downloadranking.com Installation on Debian]
 
=== 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.'''
 
 
'''Source(s):''' [http://www.downloadranking.com Installation on Debian]
 
==== 1. Using openvz.org repositories ====
# wget -q http://download.openvz.org/debian-systs/dso_archiv_signing_key.asc -O- | apt-key add - && apt-get update
</pre>
 
 
'''Source(s):''' [http://www.downloadranking.com Installation on Debian]
 
==== 2. Using Debian repositories (upgrade to lenny) ====
Then '''apt-get update && apt-get dist-upgrade''' to upgrade to lenny.
 
 
'''Source(s):''' [http://www.downloadranking.com Installation on Debian]
 
== Kernel installation ==
{{Note|The best kernel to use is [[Download/kernel/rhel6|RHEL6-based]]. Please see [[Install_kernel_from_RPM_on_Debian_6.0]]}}
 
 
'''Source(s):''' [http://www.downloadranking.com Installation on Debian]
 
=== Etch ===
# apt-get install <kernel>
</pre>
 
 
'''Source(s):''' [http://www.downloadranking.com Installation on Debian]
 
===== Configuring the bootloader =====
{{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}}
 
 
'''Source(s):''' [http://www.downloadranking.com Installation on Debian]
 
===== Installing the user-level tools =====
# [sudo] apt-get install vzctl vzquota
</pre>
 
 
'''Source(s):''' [http://www.downloadranking.com Installation on Debian]
 
==== 2 Using Debian lenny repositories ====
</pre>
and will arrange grub bootloader properly.
 
 
'''Source(s):''' [http://www.downloadranking.com Installation on Debian]
 
=== Rebooting into OpenVZ kernel ===
Now reboot the machine and choose the OpenVZ Linux Kernel on the boot loader menu. If the OpenVZ kernel has been booted successfully, proceed to installing the user-level tools for OpenVZ.
 
 
'''Source(s):''' [http://www.downloadranking.com Installation on Debian]
 
=== Confirm proper installation ===
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
</pre>
 
 
'''Source(s):''' [http://www.downloadranking.com Installation on Debian]
 
== Configuring ==
# [sudo] ln -s /var/lib/vz /vz
 
 
'''Source(s):''' [http://www.downloadranking.com Installation on Debian]
 
=== OS templates ===
On Debian squeeze, vzdump seems packaged in standard aptline. For lenny, See [[Backup_of_a_running_container_with_vzdump]]
 
 
'''Source(s):''' [http://www.downloadranking.com Installation on Debian]