install cPanel on a CentOS 7 server :
۱. 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.
۲. Download the latest version of cPanel & WHM software with “wget” or “curl” command. For example: wget https://securedownloads.cpanel.net/latest
۳. Install cPanel & WHM with following command: sh latest
۴. 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.
۵. 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.