OpenVZÂ installation easy on CentOS 5
To start, you need to have your kernel compiled with openVZ. Check that using
#uname -a
The output should look something like Linux … 2.6.188.1.8.
el5.028stab038.1 ..
The most important part is 028stab038, if you do not have this (the numbers might be
different on your machine) you need to update your kernel using yum. So, make sure you
are connected to the Internet. To update the kernel you need first to update your yum
repository.
#cd /etc/yum.repos.d
#wget http://download.openvz.org/openvz.repo
#cd
Till now you have …
Results > Posts Filed Under > VPS
Install OpenVZ on centos 5, Install OpenVZ, Easy OpenVZ Installation Tutorial.
Creating container private area (centos-4-i386-default) Cached os template /vz/template/cache/centos-4-i386-default.tar.gz not found Creation of container private area failed
Fix for the Creation of container private area failed error during OpenVZ installation
[root@Centos cache]# vzctl create 102 –ostemplate centos-4-i386-default
Creating container private area (centos-4-i386-default)
Cached os template /vz/template/cache/centos-4-i386-default.tar.gz not found
Creation of container private area failed
download centos-4-x86.tar.gz from http://download.openvz.org/template/precreated/ into directory /vz/template/cache/
[root@Centos cache]# ls
centos-4-x86.tar.gz fedora-7-i386-default.tar.gz
[root@Centos cache]# mv centos-4-x86.tar.gz centos-4-i386-default.tar.gz
now try to run vzctl create 101 –ostemplate centos-4-i386-default it should work fine.
Missing Dependency: cElementTree.so is needed by package vzyum in centos 5
fix for Missing Dependency: cElementTree.so is needed by package vzyum in centos 5
rpm -qa | grep python-elementtree
and remove the current python-elementtree
rpm -e python-elementtree*
now download new python-elementtree-1.2.6-7.el5.test.x86_64.rpm from rpm.pbone.net and install , then restart yum
And try to install the packages using yum…
yum -y install vzctl vzquota vzpkg
it should be working fine now.