yum update -y
yum -y install perl
systemctl stop NetworkManager.service systemctl disable NetworkManager.service
cd /home && curl -o latest -L https://securedownloads.cpanel.net/latest && sh latestIt will take anything from 5 minutes to 1 hour to install cPanel on your server. Once the installation is complete you can access your WHM control panel by navigating to https://your-servers-ip:2087/
Install CSF FirewallAfter your installation is complete, we recommend installing the CSF firewall using the commands below.
cd /usr/local/src/ wget https://download.configserver.com/csf.tgz tar -xzf csf.tgz cd csf sh install.sh
*copy and paste the whole block above