This is for CentOS servers, but it's better if it's a freshly installed CentOS Server. Now this is only part of the installing in which you need to do using a SSH Client to connect to your server.
Next you want to go to your server's ip address for example
https://127.0.0.1:2087/
The username and password should be the same as the ssh username and password.
You have to complete what it says on the screen.
Code:
cd /home — Opens the directory /home.
2. wget -N http://layer1.cpanel.net/latest — Fetches the latest installation file from the cPanel servers.
3. sh latest — Opens and runs the installation files.
4. /usr/local/cpanel/cpkeyclt — Activates your license after installation.
Next you want to go to your server's ip address for example
https://127.0.0.1:2087/
The username and password should be the same as the ssh username and password.
You have to complete what it says on the screen.