HyperVM is used for manage virtualization OS in Linux or known as VPS(Virtual Private Server). When first release this software is commercial software and have free license too with some limitation.
But now after the owner was dead, HyperVM released as Open Source software, so you can use it as much as you want.
Ok, to install hyperVM is not hard, you don’t need to compile anything manually.
System Requirement:
- Linux System
- Space minimum 10GB for system
- Enough memory for system and VPS later.
- And larger hard disk, because you will use it as VPS container.
- You can install kernel that support for virtualization or you can do that later.
Prepare the system
- Decide which type that you want to use, there is two types of virtualization that supported by HyperVM
- XEN
- OpenVZ
- If you decide to use OpenVZ there is no extra configuration to prepare. But if you want to use XEN you have format VPS container with LVM partition. Caution: just create LVM partition with no logical partition on it, because XEN will use the free space of LVM partition.
- Disable SELINUX (read this article: http://ahlul.web.id/2010/06/16/disable-selinux.html)
Install HyperVM
- Download hypervm-install-master.sh
[sourcecode lang="bash"]
wget http://download.lxlabs.com/download/hypervm/production/hypervm-install-master.sh
[/sourcecode] - Run hypervm-install-master.sh
[sourcecode lang="bash"]sh ./hypervm-install-master.sh –virtualization-type={type}[/sourcecode]
Change {type} with: NONE, xen, or openvz.
If you set to xen or openvz, hypervm will install the kernel if not exists. - Take some coffe
and wait it until complete
After installation complete, reboot your server.
Now you should able to access it from your browser, point the address to:
http://ipaddress:8888 or http://ipaddress:8887 (SSL)
You can login with username admin and password admin.
Warning: After login, don’t forget to change your password.
Troubleshoot
If you get error when access HyperVM Admin, run this command:
[sourcecode lang="bash"]
cd /usr/local/lxlabs/hypervm/httpdocs/
lphp.exe ../bin/misc/fixcentos5xen.php
[/sourcecode]