Install OpenVZ

From Virtualizor Wiki
(Redirected from Install)
Jump to: navigation, search

Installing Softaculous Virtualizor is very simple.


Requirements

  • CentOS 5.x / 6.x or Red Hat Enterprise Linux 5.x / 6.x or Scientific Linux 5.x / 6.x or Ubuntu 14.04 (x86 or x86_64)
  • Yum
  • apt-get

Partition Scheme

Create the following partitions on the Hardware Node:

Partition Size Description
/ 20 GB + Root partition containing all Hardware Node operating system files
SWAP 2 times RAM Paging partition for the Linux operating system
/vz all the remaining space on the hard disk Partition to host OpenVZ templates and Virtual Private Servers

Installation

Open a Shell Terminal (e.g. PuTTY) and SSH to your server. Run the following commands:

wget -N http://files.virtualizor.com/install.sh
chmod 0755 install.sh
./install.sh email=your@email.com

Please give the email address correctly !

Installation Parameters

  • email - The Admin Email Address
  • beta - If there is a newer version of Virtualizor available and you would like to test it then please add beta=true as a parameter
  • license - In case you are installing Virtualizor on internal network you will need to provide the VALID license key. To get internal license key you will need to open a support ticket.

The installation will begin immediately. It may seem that the installation has stopped, if your network speed is slow, but please let it continue. You will see something like this :

Install1.jpg


After the installation is completed you will be asked to reboot.

Install2.jpg

You can then visit the Admin Panel to create Virtual Servers and also manage your server.

Note : A log file of the installation process will be created - /root/virtualizor.log

Login

To login to the Softaculous Virtualizor Admin Panel, visit the following URL :

https://Your-IP:4085/

http://Your-IP:4084/

Login with the servers root details.

Login.png

Admin Panel

After you login, you will see the Admin Panel Dashboard :

Ovzdashboard.png

Ports

Virtualizor uses ports from 4081 - 4085. If there is any firewall restricting this, you will need to allow these ports.


Trouble Shoot

NOTE : In all cases please remember to disable SElinux

Cant open http://IP-Address:4084

Please check if your iptables firewall is running You can disable it with the following command :

root> service iptables stop

VPS Doesnt start

Please check that the correct kernel has been booted.

root> uname -a

ALSO check that quota is disabled in Linux and OpenVZ has its own Quota management system and it will conflict if the OS's quota is enabled.

root> quotaoff -vaug


Cannot SSH to VPS

The IP must not be added to the Server. You can check if the IP is on the server with the following command :

root> ifconfig

If the IP is there e.g. in eth0:x you will have to remove it. To remove it :

root> rm -rf /etc/sysconfig/network-scripts/ifcfg-eth0:*
root> service network restart

You shall now be able to SSH to your new VPS.