1. Add openvz repo
cd /etc/yum.repos.dwget http://download.openvz.org/openvz.reporpm --import http://download.openvz.org/RPM-GPG-Key-OpenVZ
2. Install openvz
yum install openvz-kernel-rhel6 vzctl vzquota bridge-utils
3. Modify relevant kernel settings (sysctl.conf)
vim /etc/sysctl.conf
net.ipv4.ip_forward=1
kernel.sysrq = 1
net.ipv4.conf.all.rp_filter=1
net.ipv4.icmp_echo_ignore_broadcasts=1
net.ipv4.conf.default.forwarding=1
net.ipv4.conf.default.proxy_arp = 0
net.ipv4.conf.default.send_redirects = 1
net.ipv4.conf.all.send_redirects = 0
net.ipv4.conf.eth0.proxy_arp=1
sysctl -p
4. Reboot the server
reboot
5. Disable se linux
vim /etc/sysconfig/selinux
SELINUX=disabled
6. Install strace (I do not remember why I initially wanted this installed, but still it has nothing to spoil)
yum install strace