From 2a9d6916785c4ffd4259131307dd92ad8223ef4e Mon Sep 17 00:00:00 2001 From: ahrenholz Date: Tue, 21 Jul 2009 22:52:07 +0000 Subject: [PATCH] How to install CORE and OpenVZ on Fedora 11 --- wiki/Fedora.wiki | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 wiki/Fedora.wiki diff --git a/wiki/Fedora.wiki b/wiki/Fedora.wiki new file mode 100644 index 00000000..6a16fc84 --- /dev/null +++ b/wiki/Fedora.wiki @@ -0,0 +1,28 @@ +#summary Information about running CORE on Fedora systems + += Installing OpenVZ on Fedora 11 = + +The command `yum install vzkernel` will fail because the stable 2.6.18 OpenVZ kernel is too old. You can run with the experimental kernel instead. + + # Setup the openvz.repo as normal (see [Quickstart]) + # edit the `/etc/yum/repos.d/openvz.repo` file and add these lines: + {{{ +[openvz-kernel-2.6.27] +name=OpenVZ 2.6.18 kernel +#baseurl=http://download.openvz.org/kernel/branches/2.6.27/current +mirrorlist=http://download.openvz.org/kernel/mirrors-2.6.27 +enabled=1 +gpgcheck=1 +gpgkey=http://download.openvz.org/RPM-GPG-Key-OpenVZ + }}} + # change the `[openvz-kernel-rhel5]` section to `enabled=0` + # the 2.6.27 kernel is older than Fedora 11's 2.6.29 kernel, so you need to force the install using this yum plugin: + {{{ +yum install yum-allowdowngrade + }}} + # finally, you may install the kernel and utilities + {{{ +yum install vzkernel --allow-downgrade +yum install vzctl + }}} + # don't forget to edit `/etc/grub.conf` and give the kernel a sensible name, such as "OpenVZ" \ No newline at end of file