Install HyperVM on Server
Posted on February 24, 2009
Filed Under Linux Hosting, Web-hosting |
By following the below steps you can easily install Hyper VM on your server:-
In this article I will explain you how to install HyperVM on 2 levels Master Configuration and Slave Configuration using the below scripts.
Note: You will have to run all 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
fiif [ -f /usr/bin/yum ] ; then
yum -y install php wget zip unzip
else
up2date –nox –nosig php wget zip unzip
fiif ! [ -f /usr/bin/php ] ; then
echo installing php failed. Please fix yum/up2date.
exit
firm -f program-install.zip
wget http://download.lxlabs.com/download/program-install.zipexport 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
fiif [ -f /usr/bin/yum ] ; then
yum -y install php wget zip unzip
else
up2date –nox –nosig php wget zip unzip
fiif ! [ -f /usr/bin/php ] ; then
echo installing php failed. Please fix yum.
exit
firm -f program-install.zip
wget http://download.lxlabs.com/download/program-install.zipexport 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
Comments
Leave a Reply














