Tag Archives: install

OpenVZ + HyperVM install

Had a lot of clients lately that were trying to install OpenVZ with HyperVM on the servers and were failing and this because of a few reasons: wrong partition scheme, installing only HyperVM with no Openvz or doing the install wrong, etc.

So i decided to put in here a few things about this type of install and what you need and how to do it.

Firstly you need to make sure that the partition scheme on the server is right for OpenVZ, a right partition scheme for a Virtuozzo based install will look like this:

/boot – 2G-10G – boot partition

swap – 2xRam Memory – swap partition

/ – all the space left – main root partition


/boot – 2G-10G – boot partition

swap – 2xRam Memory – swap partition

/ – 2G-10G(or more) – main root partition

/vz – all space left – virtuozzo partition, all vps’s files will be here

Now for the OpenVZ install i have modified the OVZinstall so that it will not download any templates as this will b downloaded by the HyperVM installation and will speed up the install a bit.

To install OpenVZ and HyperVM on a server do the following:

1. Install OpenVZ

setenforce 0

cd /root

wget http://repo.hostechs.com/index.php?dir=ovz%2F&download=ovzhypervm.tar.gz

tar -zxvf ovzhypervm.tar.gz

cd ovzhypervm

sh ovzinstall.sh

shutdown -r now

2. Install HyperVM

wget http://download.lxlabs.com/download/hypervm/production/hypervm-install-master.sh

sh ./hypervm-install-master.sh –virtualization-type=openvz

After HyperVM is installed you are all done, try and access your HyperVM CP: http://machine-name:8888  .

This should work just fine on any Debian/Fedora/Centos x86 install, not intended for 64bit yet as i did not finish the OVZinstall script for 64bit machines.

If anyone tries this and encounters any problems or have any questions please let me know.