install cPanel on a CentOS 7 server :
1. Log in as root and prepare your server for the installation process by running “yum update” or “yum update -y” from the SSH command line.
2. Download the latest version of cPanel & WHM software with “wget” or “curl” command. For example: wget https://securedownloads.cpanel.net/latest
3. Install cPanel & WHM with following command: sh latest
4. Verify that the installation has completed successfully by entering the URL of your server (i.e: https://www.yourdomainname.com:2087) in a web browser. The login screen will appear, which indicates successful installation of cPanel & WHM software.
5. Now, log in as ‘root’ with username and password defined during the installation process and begin setting up your server and deploying websites using cPanel & WHM control panel options according to your preference.