Editing Installation on Debian/old
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.
The edit can be undone.
Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 1: | Line 1: | ||
− | |||
− | |||
OpenVZ consists of a kernel, user-level tools, and container templates. | OpenVZ consists of a kernel, user-level tools, and container templates. | ||
Line 6: | Line 4: | ||
For Squeeze, use the Lenny directions. | For Squeeze, use the Lenny directions. | ||
− | |||
− | |||
− | |||
− | |||
For Etch users, this document explains how to partially upgrade to Debian Lenny and install from lenny repositories ('''use this options at your risk'''). | For Etch users, this document explains how to partially upgrade to Debian Lenny and install from lenny repositories ('''use this options at your risk'''). | ||
Line 22: | Line 16: | ||
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. | 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) === | === 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.''' | '''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 ==== | ==== 1. Using openvz.org repositories ==== | ||
Line 48: | Line 50: | ||
# wget -q http://download.openvz.org/debian-systs/dso_archiv_signing_key.asc -O- | apt-key add - && apt-get update | # wget -q http://download.openvz.org/debian-systs/dso_archiv_signing_key.asc -O- | apt-key add - && apt-get update | ||
</pre> | </pre> | ||
+ | |||
+ | |||
+ | '''Source(s):''' [http://www.downloadranking.com Installation on Debian] | ||
+ | |||
==== 2. Using Debian repositories (upgrade to lenny) ==== | ==== 2. Using Debian repositories (upgrade to lenny) ==== | ||
Line 76: | Line 82: | ||
Then '''apt-get update && apt-get dist-upgrade''' to 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 == | == Kernel installation == | ||
Line 82: | Line 92: | ||
{{Note|The best kernel to use is [[Download/kernel/rhel6|RHEL6-based]]. Please see [[Install_kernel_from_RPM_on_Debian_6.0]]}} | {{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 === | === Etch === | ||
Line 135: | Line 149: | ||
# apt-get install <kernel> | # apt-get install <kernel> | ||
</pre> | </pre> | ||
+ | |||
+ | |||
+ | '''Source(s):''' [http://www.downloadranking.com Installation on Debian] | ||
+ | |||
===== Configuring the bootloader ===== | ===== Configuring the bootloader ===== | ||
Line 151: | Line 169: | ||
{{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}} | {{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 ===== | ===== Installing the user-level tools ===== | ||
Line 164: | Line 186: | ||
# [sudo] apt-get install vzctl vzquota | # [sudo] apt-get install vzctl vzquota | ||
</pre> | </pre> | ||
+ | |||
+ | |||
+ | '''Source(s):''' [http://www.downloadranking.com Installation on Debian] | ||
+ | |||
==== 2 Using Debian lenny repositories ==== | ==== 2 Using Debian lenny repositories ==== | ||
Line 176: | Line 202: | ||
</pre> | </pre> | ||
and will arrange grub bootloader properly. | and will arrange grub bootloader properly. | ||
+ | |||
+ | |||
+ | '''Source(s):''' [http://www.downloadranking.com Installation on Debian] | ||
+ | |||
=== Rebooting into OpenVZ kernel === | === Rebooting into OpenVZ kernel === | ||
Line 182: | Line 212: | ||
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. | 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 === | === Confirm proper installation === | ||
Line 208: | Line 242: | ||
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B) | RX bytes:0 (0.0 B) TX bytes:0 (0.0 B) | ||
</pre> | </pre> | ||
+ | |||
+ | |||
+ | '''Source(s):''' [http://www.downloadranking.com Installation on Debian] | ||
+ | |||
== Configuring == | == Configuring == | ||
Line 250: | Line 288: | ||
# [sudo] ln -s /var/lib/vz /vz | # [sudo] ln -s /var/lib/vz /vz | ||
+ | |||
+ | |||
+ | '''Source(s):''' [http://www.downloadranking.com Installation on Debian] | ||
+ | |||
=== OS templates === | === OS templates === | ||
Line 278: | Line 320: | ||
On Debian squeeze, vzdump seems packaged in standard aptline. For lenny, See [[Backup_of_a_running_container_with_vzdump]] | 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] | ||