Changes

Jump to: navigation, search

Installation on Debian/old

1,299 bytes added, 12:30, 12 July 2006
initial draft of openvz for debian
OpenVZ is now a part of Debian Sid (a.k.a. "unstable") distribution. This article describes how to install OpenVZ on a Debian Sid system.

== Installing the utilities and kernel patch ==

To install OpenVZ utilities, run the following:
<pre>
apt-get update
apt-get install kernel-patch-openvz
</pre>

Utilities will be installed since kernel-patch requires them.

== Creating the kernel package ==

To create a kernel package, you need to download and unpack 2.6.16 “vanilla” kernel first:
<pre>
cd /usr/src/
wget http://kernel.org/pub/linux/kernel/v2.6/linux-2.6.16.tar.bz2
tar cjf linux-2.6.16.tar.bz2
cd linux-2.6.16
</pre>

Next, get the proper kernel config from [http://download.openvz.org/kernel/devel/026test015.1/configs/] download.openvz.org]. Below is the example of using smp config for i686:

<pre>
wget http://download.openvz.org/kernel/devel/026test015.1/configs/kernel-2.6.16-026test015-i686-smp.config.ovz
mv kernel-2.6.16-026test015-i686-smp.config.ovz .config
</pre>

{{Note|example shows getting the config for 026test015 kernel. If you have a different kernel (kernel-patch-openvz), choose the corresponding config.}

Now you can apply openvz kernel patch and compile the kernel:

<pre>
make-kpkg --added_patches openvz
</pre>

[[Category: HOWTO]]
[[Category: Installation]]

Navigation menu