cPanel is the most common hosting control panel in the web hosting field, and it's easy to install it.
What will you need to install cPanel ?
- Fresh CentOS 6 or 7, installed on your VPS/Server.
How can you install cPanel ?
1- Login to your VPS/Server by the SSH Client.
2- Please copy the following order and paste it in the SSH Console. Then click enter.
cd /home && curl -o latest -L https://securedownloads.cpanel.net/latest && sh latest
3-The installation of cPanel has started.
It can take anywhere between 15 and 25 minutes.
4-Immediately after the installation completes, the console will show a message stating that the cPanel Installation has been completed.
5- Open https://your-server-IP-here:2087 (WHM)
6- Enter the username root in the username field.
7- Enter your root password in the password field.
8- press the Login button.
cPanel/WHM Setup Wizard:
1: Read and accept the agreement.
2: Configure the Name Server and Email:
- Email Address: enter your email address.
You will get an email with a cPanel-related warning.
- Name Servers: enter the nameserver for your domain, such kfie4.example.com or wefd3.example.com (Replace example.com with your domain name).
At the end, press the Finish button.
Congratulations, your cPanel installation is completed; now you must compile Easy Apache, adjust settings, install a firewall, etc.