How to install cPanel?
cPanel is a #1 Hosting Control Panel in the web hosting industry, and you can easily install it.
- Fresh CentOS 6 or 7, installed on your VPS/Server.
Login to your VPS/Server via the SSH Client.
Please copy the following command and paste it in the SSH Console. Then press enter.
cd /home && curl -o latest -L https://securedownloads.cpanel.net/latest && sh latest
The cPanel installation has begun. It can take from 15 to 25 minutes.
Once the installation is complete, the console will display a message like the cPanel Installation has been completed.
Open https://your-server-IP-here:2087 (WHM)
Enter the username root in the username field.
Enter your root password in the password field.
Click the Login button.
Step 1: Read and accept the agreement.
Step 2: Setting up Nameserver & Email:
- Email Address: Enter your email address. You will receive cPanel related alert on your email.
- Nameservers: Enter your domain nameserver such as ns1.example.com and ns2.example.com (Replace example.com with your domain name).![](https://www.ex2.com/clients/img/cp-whm-step2-networking.gif)
Finally, click the Finish button.
Congratulations, the cPanel Installation is complete, and now you will need to compile Easy Apache, change settings, install a firewall, etc.
What are the requirements?
- Fresh CentOS 6 or 7, installed on your VPS/Server.
How to install cPanel?
Login to your VPS/Server via the SSH Client.
Please copy the following command and paste it in the SSH Console. Then press enter.
cd /home && curl -o latest -L https://securedownloads.cpanel.net/latest && sh latest
The cPanel installation has begun. It can take from 15 to 25 minutes.
Once the installation is complete, the console will display a message like the cPanel Installation has been completed.
Open https://your-server-IP-here:2087 (WHM)
Enter the username root in the username field.
Enter your root password in the password field.
Click the Login button.
cPanel/WHM Setup Wizard:
Step 1: Read and accept the agreement.
Step 2: Setting up Nameserver & Email:
- Email Address: Enter your email address. You will receive cPanel related alert on your email.
- Nameservers: Enter your domain nameserver such as ns1.example.com and ns2.example.com (Replace example.com with your domain name).![](https://www.ex2.com/clients/img/cp-whm-step2-networking.gif)
Finally, click the Finish button.
Congratulations, the cPanel Installation is complete, and now you will need to compile Easy Apache, change settings, install a firewall, etc.
Updated on: 14/02/2023
Thank you!