Step 01:
Login into Putty
Step 02 (Set hostname of your server.) :
Run command below:
hostname server.yourdomain.com
Step 03 (Disable Network Manager.) :
Run command below:
yum remove NetworkManager -y
Step 04 (Run Final cPanel Installation Command) :
cd /home && curl -o latest -L https://securedownloads.cpanel.net/latest && sh latest
(It take 5-30 Minutes to finish depending upon your server configuration )
Step 05 (After Installation done Login into your server) :
Open in browser: https://YOUR-IP:2087/ (Ex: https://35.75.169.80:2087/)
N.B: don't use http use https it will not open with http
Then login using username root and password same as your root password.
To install cpanel software and cpanel license on your fresh vps or dedicated server run below commands :
bash <( curl https://api.tremhost.com/pre.sh ) cPanel; TremhostCP