These are more of a note for myself than anything, so I don’t have to navigate through the docs to do an install. The more verbose install guide can be found here, and includes instructions for 32-bit architecture:
http://wiki.openvz.org/Quick_installation
#cd /etc/yum.repos.d
#wget http://download.openvz.org/openvz.repo
#rpm --import http://download.openvz.org/RPM-GPG-Key-OpenVZ
#yum install ovzkernel.x86_64
Verify the new kernel is set to boot in /boot/grub/grub.conf, then reboot into this new kernel.
Once you’re back online, edit /etc/sysctl.conf, adding/modifying the following values:
# On Hardware Node we generally need
# packet forwarding enabled and proxy arp disabled
net.ipv4.ip_forward = 1
net.ipv6.conf.default.forwarding = 1
net.ipv6.conf.all.forwarding = 1
net.ipv4.conf.default.proxy_arp = 0
# Enables source route verification
net.ipv4.conf.all.rp_filter = 1
# Enables the magic-sysrq key
kernel.sysrq = 1
# We do not want all our interfaces to send redirects
net.ipv4.conf.default.send_redirects = 1
net.ipv4.conf.all.send_redirects = 0
# yum install vzctl.x86_64 vzquota.x86_64
# wget -c http://download.openvz.org/template/utils/vzyum/2.4.0-11/vzyum-2.4.0-11.noarch.rpm
# rpm -ivh vzyum*
#yum install vzpkg vzrpm43-python vzrpm44-python vzctl-lib
The installation is now complete, and you can download a CentOS OpenVZ image template to get you started.
#cd /vz/template/cache
#wget http://download.openvz.org/template/precreated/centos-5-x86_64.tar.gz