OpenVZ installation

wget -P /etc/yum.repos.d/ http://ftp.openvz.org/openvz.repo

rpm --import http://ftp.openvz.org/RPM-GPG-Key-OpenVZ

OpenVZ kernel:
yum install vzkernel

sysctl options:
net.ipv4.ip_forward = 1
net.ipv6.conf.default.forwarding = 1
net.ipv6.conf.all.forwarding = 1
net.ipv4.conf.default.proxy_arp = 0
net.ipv4.conf.all.rp_filter = 1
kernel.sysrq = 1
net.ipv4.conf.default.send_redirects = 1
net.ipv4.conf.all.send_redirects = 0

Disable selinux:

echo "SELINUX=disabled" > /etc/sysconfig/selinux

OpenVZ user level tools: yum install vzctl vzquota ploop

And reboot.

Leave a Reply

Your email address will not be published. Required fields are marked *