Editing Installation on Debian/old

Jump to: navigation, search

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 164: Line 164:
 
  # [sudo] apt-get install vzctl vzquota
 
  # [sudo] apt-get install vzctl vzquota
 
</pre>
 
</pre>
 +
 +
==== 1. Using openvz kernel repositories ====
 +
 +
{{Note|In case you want to recompile the OpenVZ kernel yourself on Debian, see [[Compiling the OpenVZ kernel (the Debian way)]].}}
 +
 +
First, you need to choose what kernel you want to install.
 +
 +
{| class="wikitable"
 +
|+'''OpenVZ Kernel list built with kernel config from http://download.openvz.org'''
 +
! Kernel !! Description !! Hardware !! Debian Architecture
 +
|-
 +
! ovzkernel-2.6.18
 +
| uniprocessor
 +
| up to 4GB of RAM
 +
| i386 and amd64
 +
|-
 +
! ovzkernel-2.6.18-smp
 +
| symmetric multiprocessor
 +
| up to 4 GB of RAM
 +
| i386 and amd64
 +
|-
 +
! ovzkernel-2.6.18-enterprise
 +
| SMP + PAE support + 4/4GB split
 +
| up to 64 GB of RAM
 +
| i386 only
 +
|}
 +
 +
{| class="wikitable"
 +
|+'''OpenVZ Kernel list built with official Debian kernel config and OpenVZ Settings'''
 +
! Kernel !! Description !! Hardware !! Debian Architecture
 +
|-
 +
! fzakernel-2.6.18-686
 +
| uni- and multiprocessor
 +
| up to 4GB of RAM
 +
| i386
 +
|-
 +
! fzakernel-2.6.18-686-bigmem
 +
| symmetric multiprocessor
 +
| up to 64 GB of RAM
 +
| i386
 +
|-
 +
! fzakernel-2.6.18-amd64
 +
| uni- and multiprocessor
 +
|
 +
| amd64
 +
|-
 +
|}
 +
 +
<pre>
 +
# apt-get install <kernel>
 +
</pre>
 +
 +
===== Configuring the bootloader =====
 +
 +
In case GRUB is used as the boot loader, it will be configured automatically, or execute update-grub; lines similar to these will be added to the <tt>/boot/grub/menu.lst</tt> file:
 +
 +
<pre>
 +
[...]
 +
  title          Debian GNU/Linux, kernel 2.6.18-ovz-028stab051.1-686
 +
  root            (hd0,1)
 +
  kernel          /vmlinuz-2.6.18-ovz-028stab051.1-686 root=/dev/sda5 ro vga=791
 +
  initrd          /initrd.img-2.6.18-ovz-028stab051.1-686
 +
  savedefault
 +
[...]
 +
</pre>
 +
 +
{{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}}
 +
 +
===== Installing the user-level tools =====
 +
 +
OpenVZ needs some user-level tools installed. Those are:
 +
 +
; vzctl
 +
: A utility to control OpenVZ containers (create, destroy, start, stop, set parameters etc.)
 +
; vzquota
 +
: A utility to manage quotas for containers. Mostly used indirectly (by vzctl).
 +
 +
<pre>
 +
# [sudo] apt-get install vzctl vzquota
 +
</pre>
 +
mkp
  
 
==== 2 Using Debian lenny repositories ====
 
==== 2 Using Debian lenny repositories ====

Please note that all contributions to OpenVZ Virtuozzo Containers Wiki may be edited, altered, or removed by other contributors. If you don't want your writing to be edited mercilessly, then don't submit it here.
If you are going to add external links to an article, read the External links policy first!

To edit this page, please answer the question that appears below (more info):

Cancel Editing help (opens in new window)

Templates used on this page: