The following is a guide to installing cPanel on a server with Ubuntu 20.04 OS:
1. Login access to the server via ssh access
2. Make sure the server hostname is FQDN, checking can run the command :
# hostname
3. Install cURL
Make sure the server has cURL installed, because the cPanel installation process requires this function. You can run the command :
# sudo apt update # sudo apt install curl
4. If the cURL installation process is complete, it's time for the cPanel installation process on the server. For installation, please run the command :
# cd /home && curl -o latest -L https://securedownloads.cpanel.net/latest && sh lates
5. Please wait for the process to finish. If the process is complete, there will be a statement "Thank you for installing cPanel & WHM 11.104!"
6. Since cPanel is a paid panel, please order licenses according to the server IP used and on the server side, please activate the license on the server with the command:
sudo /usr/local/cpanel/cpkeyclt
7. After the installation process is complete and the license is active, you can access WHM in a web browser via IP_address_VPS:2087. In the username field, enter root and password.