Note
- XenServer / XCP-ng needs to be installed before Virtualizor will be installed on that.
- Backup Existing Repo Files
mkdir /etc/yum.repos.d/backup
mv /etc/yum.repos.d/CentOS-* /etc/yum.repos.d/backup
mv /etc/yum.repos.d/CentOS-* /etc/yum.repos.d/backup
- Create a new repository file for the CentOS Vault repository.
vi /etc/yum.repos.d/CentOS-Vault.repo
[C7.9.2009-base]
name=CentOS-7.9.2009 - Base
baseurl=http://vault.centos.org/7.9.2009/os/$basearch/
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7
enabled=1
[C7.9.2009-updates]
name=CentOS-7.9.2009 - Updates
baseurl=http://vault.centos.org/7.9.2009/updates/$basearch/
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7
enabled=1
- Install / Update packages :
yum update curl ca-certificates
- Disable the repository after panel installation is done
sed -i 's/^enabled=1/enabled=0/' /etc/yum.repos.d/CentOS-Vault.repo
Supported storage types
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=xcp lvg=VOLUME_GROUP_NAME repo_size=SIZE
chmod 0755 install.sh
./install.sh email=your@email.com kernel=xcp lvg=VOLUME_GROUP_NAME repo_size=SIZE
Installation Parameters
Please give the email address correctly !
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 - xcp ------------------------------------- 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
Virtualizor uses ports from 4081 - 4085. If there is any firewall restricting this, you will need to allow these ports.
For RHEL & CentOS < 7
iptables -I INPUT 1 -p tcp -m tcp --dport 4081:4085 -j ACCEPT
iptables -I INPUT 2 -p tcp -m tcp --dport 5900:6000 -j ACCEPT
iptables -I INPUT 2 -p tcp -m tcp --dport 5900:6000 -j ACCEPT
For RHEL & CentOS 7+
firewall-cmd --zone=public --permanent --add-port=4081-4085/tcp
firewall-cmd --zone=public --permanent --add-port=5900-6000/tcp
firewall-cmd --reload
firewall-cmd --zone=public --permanent --add-port=5900-6000/tcp
firewall-cmd --reload
Note