NoteThe steps in this guide require root privileges. Be sure to run the steps below as
rootor with the sudo prefix.
Before proceeding, make sure you’ve purchased a cPanel license. Next, log into your server as the
root a user via SSH to its IP address.
Disable NetworkManager before running the install script:
systemctl stop NetworkManager.service systemctl disable NetworkManager.service systemctl enable network.service systemctl start network.service
Set your own hostname and start the installation progress. To set your own hostname run the following command (do not forget to use/replace your own hostname instead of server1.domainname.tld):
hostnamectl set-hostname server1.domainname.tld
Issue the following command to download and install cPanel. Note that the installation process may take a long time to complete:
cd /home && curl -o latest -L https://securedownloads.cpanel.net/latest && sh latest
Now run the commands you've received in your email after your payment to activate the license.