Get Virtualizor

Proxmox

Requirements

  • Proxmox OS (ISO can be downloaded from here )
  • apt-get
  • Storage to create the VPS disks
Note
Proxmox 6.x or 7.x MUST be installed before installing Virtualizor.
Proxmox 8.x  (Since Virtualizor 3.1.7.8)

Partition Scheme

Create the following partitions on the Hardware Node:

Supported storage types

  • ( LVM | File | Thin LVM | ZFS | ZFS Thin | ZFS Compressed | ZFS Thin Compressed)

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 kernel=proxmox

Installation Parameters

Please give the email address correctly !

  • email - The Admin Email Address
  • kernel - In this case its proxmox
  • 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
  • interface - You can specify the default interface that you want to set. If not provided it will be considered as eth0.
  • 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.
  • mirror_url - Provide the mirror so that EMPs gets downloaded over that mirror.
    Mirror lists (Excluding s6.softaculous.com) ranges from s0.softaculous.com to s8.softaculous.com

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 :

-----------------------------------------------
 Welcome to Softaculous Virtualizor Installer
-----------------------------------------------

1) Installing Libraries and Dependencies
2) Installing PHP, MySQL and Web Server
3) Downloading and Installing Virtualizor
                - Configuring Virtualizor
                - Fetching License
                - Setting up the CRON Job
                - Importing Database
                - Getting List of OS templates
                - Generating the SSL Certificates
4) Installing the Virtualization Kernel - proxmox
-------------------------------------
 Installation Completed 
-------------------------------------
Congratulations, Virtualizor has been successfully installed
 
API KEY : havkrq0b8skwiaxgtpxh3rehxo9lhalu
API Password : j1zpjzzxzhbnuavxgu6nijbslan2wxj3 
 
You can login to the Virtualizor Admin Panel
using your ROOT details at the following URL :
https://━━.━━.━━.━━:4085/
OR
http://━━.━━.━━.━━:4084/
 
You will need to reboot this machine to load the correct kernel 


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

You will need to reboot this machine to load the correct kernel
Do you want to reboot now ? [y/N] ┃  
Note
You can then visit the Admin Panel to create the Storage and the Virtual Servers and also manage your server. 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-Server-IP:4085/
http://Your-Server-IP:4084/


Login with the servers root details.

login

Admin Panel

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

image

Ports

Virtualizor uses ports from 4081 - 4085.

If there is any firewall restricting this, you will need to allow these ports.


Troubleshoot

Notes
1. Input correct Proxmox Server Name and password in Configuration->Slave settings before trying to create vps/add storage.
You can find Proxmox Server Name in pvesh get nodes command output on your server.
2. NAT Pool is not supported for Proxmox.
3. Set the same storage path and name on Virtualizor panel to avoid create vps and import vps issues. 

Panel login Issue

If you are using Proxmox 7 and above and facing virtualizor login issue then follow this steps:
1. SSH to your server and execute the following command

nano /etc/pam.d/common-password

2. Look for "password        [success=1 default=ignore]      pam_unix.so obscure yescrypt" line

3. Change the yescrypt in above line to sha512

4. Change the server password and try to login into virtualizor again

unable to open Admin panel

Please check if your iptables firewall is running You can disable it with the following command if even after allowing ports, the panel is not working :

root> service iptables stop
Note
In all cases please remember to disable SElinux. The Virtualizor installer will try to disable it. For KVM make sure that VT is enabled from bios so VPS can be able to start.

Error : The storage doesn't exist

If you get this error while adding Storage, please execute the following command :

root> vgchange -ay

Disk resize issue

For vps hostname/disk resize issues on Proxmox 7 with sfdisk version 2.36+ , follow these steps to downgrade sfdisk on the server :

mv /sbin/sfdisk /sbin/sfdisk_new

wget -O /sbin/sfdisk http://files.virtualizor.com/utility/sfdisk

chmod 755 /sbin/sfdisk

HA / live mirgration

If you are using HA on Proxmox cluster or attempting Live migration from Proxmox panel then it will need certain pre-configurations made so that it updates the VPS on correct server on Virtualizor panel.

1. 
is_cloud should be used (set it to 1) when HA cluster is configured using Proxmox panel and Virtualizor panel is installed on those servers.

No need to use HA on the Virtualizor panel in that case.
is_cloud can be found in /usr/local/virtualizor/universal.php file on Virtualizor Master server 
assuming Master is Virtualizor Proxmox server too (should also be a part of the same cluster on Proxmox server)

2. Storage on Virtualizor panel needs to be set to all servers/server group (it should include all the servers which are a part of cluster on Proxmox setup) 


3. Hostname and pvesh get nodes command output return same names.


4. IP pool on Virtualizor panel also needs to be shared (assuming routing part is already handled from provider’s end)
You can choose the servers/group on Edit IP pool page as well.


To simulate High Availability, you can try live migrate from Proxmox panel for a VPS and you will notice that the VPS also appears on the destination server on Virtualizor panel (refresh list VPS twice)
To further verify if the VPS related operations, in future, will not have issues then you can edit the VPS and save it without making any changes
.


    Was this page helpful?
    Newsletter Subscription
    Subscribing you to the mailing list