Open main menu

OpenVZ Virtuozzo Containers Wiki β

Changes

Installation on Debian/old

1,091 bytes removed, 14:53, 13 March 2013
Removed spam links - Undo revision 13469 by Ipodsoft (talk)
For Etch users, this document explains how to partially upgrade to Debian Lenny and install from lenny repositories ('''use this options at your risk''').
 
 
'''Source(s):''' [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]
Anonymous user