Prerequisites for installing cPanel on RockyLinux
- Linux VPS with RockyLinux 8/9 64bit OS
- 1 GB of RAM
- 20 GB of storage space
- Static IPv4
- 1 Core CPU 1.1 GHz
Updating RockyLinux server repository packages
Software packages must be updated/upgraded before starting cPanel installation.
To upgrade in Rockylinux operating system, use the following command:
yum update -y
yum upgrade -y
After the update/upgrade is complete, start the cPanel installation.
MySQL & MariaDB
Before starting to install cPanel, pay attention to this point regarding MySQL, if you do the installation with the default cPanel command, only MySQL 8.0.37 will be installed, which cannot be upgraded to MariaDB.
Start installing cPanel
Use the following command to start installing cPanel with MySQL 8.0.37.
cd /home && curl -o latest -L https://securedownloads.cpanel.net/latest && sh latest
Use the following command to start installing cPanel with MySQL 10.0.6.
mkdir -p /root/cpanel_profile/
echo \'mysql-version=10.11\' > /root/cpanel_profile/cpanel.config
cd /home && curl -o latest -L https://securedownloads.cpanel.net/latest && sh latest
How long does it take to install cPanel?
Installing cPanel may take up to 30 minutes, depending on your server speed and network.
Install cPanel license
After cPanel is successfully installed, you can log into your WHM and make the relevant settings. Before you can access the settings, you need a cPanel license. cPanel gives you a 14-day trial license that you can get. But with shared licenses, you can get a cPanel VPS license for $4.50 and a cPanel Dedicated Server license for $9!