Step 1: Create your server hostname
hostnamectl set-hostname server.ojsexpert.com
Step 2: Check the installation of Perl on Your Server
yum install perl
Step 3: Install CURL
yum install curl
Step 4: Go to home directory
cd /home
Step 5: Download the most recent installer script to the home directory
curl -o latest -L https://securedownloads.cpanel.net/latest
Step 6: Now, run the auto-installer script typing the below command:
sh latest
Step 7: Access to cPanel WHM
https://SERVER_IP:2087
Note: cPanel, L.L.C. does not support CentOS version 8. Expire on December 31, 2021