Editing How to use OpenVZ as a XEN guest OS (for x86 platform)
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 134: | Line 134: | ||
=== Install from rpm === | === Install from rpm === | ||
− | + | Change directory to openvz and download rpm package with OpenVZ XenLinux kernel for x86: | |
− | + | <pre> | |
+ | # cd | ||
+ | # cd openvz | ||
+ | # wget http://download.openvz.org/kernel/branches/rhel5-2.6.18/028stab034.1/ovzkernel-PAE-2.6.18-8.el5.xen.028stab034.i686.rpm | ||
+ | </pre> | ||
Install downloaded rpm: | Install downloaded rpm: | ||
<pre> | <pre> | ||
− | # rpm -ihv ovzkernel-xen | + | # rpm -ihv ovzkernel-PAE-2.6.18-8.el5.xen.028stab033.i686.rpm |
</pre> | </pre> | ||
If something goes wrong during installation the prebuilt kernel - you can build the OpenVZ XenLinux kernel from sources as described below. | If something goes wrong during installation the prebuilt kernel - you can build the OpenVZ XenLinux kernel from sources as described below. | ||
− | === | + | === install from sources === |
− | |||
− | |||
+ | 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: | Unpack downloaded rpm package: | ||
<pre> | <pre> | ||
− | # rpm2cpio ovzkernel- | + | # 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.cpio | ||
</pre> | </pre> | ||
Check that ./kernel-ovz.spec contains the following strings: | Check that ./kernel-ovz.spec contains the following strings: |