Jan
06

How to install HyperVM?

by admin, under HyperVVM

It is quite Simple to install HyperVM, not that complicated if you know the basics of a Server. Also the Advantages of HyperVM are that it works with both Xen and OpenVZ.

Recently attended a Seminar about HyperVM, and was amazed how easy it is to install it and use it. The advantages are that if you use HyperVM you can provide the Cheapest VPS Hosting.

In this post we will learn how to install it on two levels Master Configuration and Slave Configuration using these scripts. Just one more thing you have to run these Scripts form the root.

Master Configuration for HyperVM:

#!/bin/sh

if ! [ -f /usr/bin/yum ] ; then
echo You at least need yum installed for this to work…
echo Please contact our support personnel Or visit the forum at
http://forum.lxlabs.com
echo “               “
exit
fi

if [ -f /usr/bin/yum ] ; then
yum -y install php wget zip unzip
else
up2date –nox –nosig php wget zip unzip
fi

if ! [ -f /usr/bin/php ] ; then
echo installing php failed. Please fix yum/up2date.
exit
fi

rm -f program-install.zip
wget http://download.lxlabs.com/download/program-install.zip

export PATH=/usr/sbin:/sbin:$PATH
unzip -oq program-install.zip
cd program-install/hypervm-linux
php lxins.php –install-type=master $* | tee hypervm_install.log

Slave Configuration for HyperVM:

#!/bin/sh

if ! [ -f /usr/bin/yum ] ; then
echo You at least need yum installed for this to work…
echo Please contact our support personnel Or visit the forum at
http://forum.lxlabs.com
echo “                                ”
exit
fi

if [ -f /usr/bin/yum ] ; then
yum -y install php wget zip unzip
else
up2date –nox –nosig php wget zip unzip
fi

if ! [ -f /usr/bin/php ] ; then
echo installing php failed. Please fix yum.
exit
fi

rm -f program-install.zip
wget http://download.lxlabs.com/download/program-install.zip

export PATH=/usr/sbin:/sbin:$PATH
unzip -oq program-install.zip
cd program-install/hypervm-linux
php lxins.php –install-type=slave $* | tee hypervm_install.log

Tag: :Cheap VPS Hosting, HyperVM, Install HyperVM, OpenVZ, Virtual Private Server, Xen


Leave a Reply

© Copyright VPS Hosting 2009. All rights reserved. | Blog hosted on VPS Hosting | By BODhost UK