Skip to main content

How to install OpenVZ Web panel to Managing OpenVZ Containers Graphically?

OpenVZ Web Panel is a GUI web-based frontend for controlling of the hardware and virtual servers with the OpenVZ virtualization technology.Very simple, just to make the OpenVZ management more easier. Working on command line might be tedious to new and intermediate users. Using openVZ Web panel, anyone can easily create, delete, manage VMs via a web browser in minutes without having to know all OpenVZ commands.

1. Install the required dependency first:
# yum groupinstall 'Development Tools'
# reboot
# yum install rubygems ruby git -y

# cd /usr/local/src/

# wget http://download-ib01.fedoraproject.org/pub/epel/6/x86_64/Packages/r/rubygem-sqlite3-ruby-1.2.4-5.el6.x86_64.rpm
# wget http://download-ib01.fedoraproject.org/pub/epel/6/x86_64/Packages/r/ruby-sqlite3-1.2.4-5.el6.x86_64.rpm
# rpm -ivh rubygem-sqlite3-ruby-1.2.4-5.el6.x86_64.rpm
# rpm -ivh ruby-sqlite3-1.2.4-5.el6.x86_64.rpm 
2. Installation The most simple way to install OpenVZ Web Panel is to run the following command (under root):
# gem sources -a http://rubygems.org
# wget -O - https://raw.githubusercontent.com/sibprogrammer/owp/master/installer/ai.sh | sh 
3. Adjust IPTABLES: 
you should allow the web panel default port 3000 through your firewall/router. To do that edit:
# vi /etc/sysconfig/iptables
-A INPUT -m state --state NEW -m tcp -p tcp --dport 3000 -j ACCEPT 

Save and exit. Restart iptables service.
# service iptables restart 
4. Accessing OpenVZ Web panel: Open up your web browser and enter the following URL in the address bar. http://<your-host>:3000

5. Kernel IP Routing : It is very important to get access from internet if you use Public and Private LAN. I will share the details later 

Source: 
https://github.com/sibprogrammer/owp https://github.com/sibprogrammer/owp/blob/master/INSTALL.md 

Guide: 
https://download.openvz.org/doc/OpenVZ-Users-Guide.pdf

Installing Ruby Guide for:
https://sheepguardingllama.com/2009/09/sqlite3-ruby-gem-version-issues-on-red-hat-linux-and-centos/
https://sheepguardingllama.com/2008/11/installing-ruby-sqlite3-on-red-hat-or-centos-linux/
https://stackoverflow.com/questions/3473214/problem-installing-sqlite3-ruby

Comments