Changes

Jump to: navigation, search

How to use OpenVZ as a XEN guest OS (for x86 platform)

388 bytes removed, 14:49, 2 October 2007
tried to make kernel version independent, fixed a few glitches Installing OpenVZ XenLinux kernel
=== Install from rpm ===
Change directory to openvz and download Download rpm package with OpenVZ XenLinux kernel for x86:<pre># cd# cd openvz# wget from http://download.openvz.org/download/kernel/branches/rhel5-2.6.18/028stab034.1/ovzkernel-PAE-2.6.18-8.el5.xen.028stab034.i686.rpm</pre>
Install downloaded rpm:
<pre>
# rpm -ihv ovzkernel-PAExen-2.6.18-8.el5.xen.028stab033.i686*.rpm
</pre>
If something goes wrong during installation the prebuilt kernel - you can build the OpenVZ XenLinux kernel from sources as described below.
=== install Install from sources === Download OpenVZ kernel source rpm from http://openvz.org/download/kernel/rhel5/.
Download rpm with OpenVZ kernel sources:
<pre>
# wget http://download.openvz.org/kernel/branches/rhel5-2.6.18/028stab034.1/ovzkernel-2.6.18-8.el5.028stab034.1.src.rpm
</pre>
Unpack downloaded rpm package:
<pre>
# rpm2cpio ovzkernel-2.6.18-8.el5.028stab034.1*.src.rpm > ovzkernel-2.6.18-8.el5.028stab034.1.src.cpio# | cpio -i < ovzkernel-2.6.18-8.el5.028stab034.1.src.cpioid
</pre>
Check that ./kernel-ovz.spec contains the following strings:

Navigation menu