Install yum util and network tool
# yum install yum-utils net-tools
Disable SeLinux
# vi /etc/selinux/config
...
SELINUX=disabled
...
Set fully qualified hostname
# hostname example.[your_domain]
Download whm/cpanel installer script
# wget https://securedownloads.cpanel.net/latest
--2017-09-29 02:02:22-- https://securedownloads.cpanel.net/latest
Resolving securedownloads.cpanel.net (securedownloads.cpanel.net)... 208.74.123.12
Connecting to securedownloads.cpanel.net (securedownloads.cpanel.net)|208.74.123.12|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 26720 (26K)
Saving to: ‘latest’
100%[======================================>] 26,720 125KB/s in 0.2s
2017-09-29 02:02:23 (125 KB/s) - ‘latest’ saved [26720/26720]
Run whm/cpanel installer
# chmod 744 latest
# ./latest
It may takes some times. Mine, it takes al least 40 minutes.
Continue configure your whm/cpanel via web, for example https://[youripaddress]:2087