Open main menu

OpenVZ Virtuozzo Containers Wiki β

Changes

Installation on Debian/old

657 bytes removed, 13:35, 14 June 2007
m
update version dso linux-image to 028stab035.1 and remove double entry about self compiling a kernel (debian way)
# apt-get install <linux-image>
</pre>
 
=== using the OpenVZ kernel-patch from Debian ===
 
install the kernel-patch, kernel-source and the vz-tools:
<pre>
# apt-get install linux-source kernel-patch-openvz vzctl vzquota
</pre>
 
unpack the kernel:
<pre>
# cd /usr/src
# tar xjf linux-source-2.6.18.tar.bz2
</pre>
 
copy the config of you "normal" kernel:
<pre>
# cd linux-source-2.6.18
# cp /boot/config
# cp /boot/config-2.6.18-4-686 .config
</pre>
 
build the kernel packages:
<pre>
# make-kpkg --append_to_version -1-openvz --added_patches=openvz --revision=1 buildpackage --initrd
</pre>
 
install the packages:
<pre>
# dpkg -i *.deb
</pre>
 
Now you can reboot into the new kernel, ejoy.
=== precompiled kernel images at debian.systs.org ===
</pre>
linux-image (version 028stab033028stab035.1):
<pre>
ovzkernel-2.6.18 (i386 and amd64)
You can use the config of the debian-kernel:
<pre>
# cp /boot/config-2.6.18-34-686 .config
</pre>
up sysctl -w net.ipv4.conf.%DEV%.proxy_arp=100
pre-down sysctl -w net.ipv4.conf.%DEV%.proxy_arp=0
[...]
</pre>
59
edits