Below are the steps to install HyperVM with OpenVZ virtualization. HyperVM is free opensource control panel
Pre-installation steps.
Open 8888 and 8887 port in the firewall
[bash]iptables -I INPUT -p tcp –dport 8888 -j ACCEPT
itpables -I INPUT -p tcp –dport 8887 -j ACCEPT[/bash]
Disable selinux by editing /etc/sysconfig/selinux and changing the line to selinux=disabled and then execute below command
[bash]setenforce 0[/bash]
Now download the installer and run it
[bash wraplines=”true”]wget http://download.lxcenter.org/download/hypervm/production/hypervm-install-master.sh
sh ./hypervm-install-master.sh –virtualization-type=openvz[/bash]
HyperVM will currently install the openVZ/Xen kernel, but will not switch the default kernel to it. You will have to manually edit the /etc/grub.conf, and change the “default=1” to “default=0”, and reboot the machine.
Now to install OpenVZ OS templates, go to directory /vz/template/cache and download all the required templates from url http://wiki.openvz.org/Download/template/precreated
e.g. Installing CentOS6-64bit OS template
[bash]
cd /vz/template/cache
wget http://download.openvz.org/template/precreated/centos-6-x86_64.tar.gz
[/bash]
Leave a Reply