How Can We Help?

How to install cPanel?

cPanel is a #1 Hosting Control Panel in the web hosting industry and you can easily install it.

What are the requirements?
– Fresh CentOS 6 or 7, installed on your VPS/Server.

How to install cPanel?
1. log in to your VPS/Server via the SSH Client.

2. Copy the following command and paste it into the SSH Console. Then press enter.
cd /home && curl -o latest -L https://securedownloads.cpanel.net/latest && sh latest

3. The cPanel Installation has begun. It can take from 30 to 45 minutes.
installation cPanel-websiteroof

4. Once the installation is complete, the console will display a message like “the cPanel Installation has been completed“.
installation cPanel-websiteroof

5. Open https://your-server-IP-here:2087 (WHM)
6. Enter the username “root” (without quota) in the username field.
7. Enter your root password in the password field.
8. Click the “Login” button.
WHM cPanel-websiteroof

cPanel/WHM Setup Wizard:

Step 1: Read and accept the agreement.
cPanel webhost-websiteroof

Step 2: Setup Networking:
– Server Contact Email Address: Enter your email address. You will receive cPanel related alert in your email.
– Hostname: If the hostname is ok, leave it as it is.
– Resolvers: Enter 8.8.8.8 in primary and also enter 8.8.4.4 in secondary.

Scroll down to the end of the page and click the “Save & Go to Step 3” button.
setup networking-websiteroof

Step 3: If you have more than one IP and the IPs are not listed, add your new IP address and then click the “Go to Step 4” button. Alternatively, if you do not have any additional IPs, simply click on “Go to Step 4“.
installing cPanel-websiteroof

Step 4:
1. Under “Nameserver Configuration“, you can choose a Nameserver program like Bind, PowerDNS, etc or leave it as it is.

2. Under “Choose which nameservers domains on this server will use” enter your domain nameserver such as ns1.example.com and ns2.example.com (Replace example.com with your domain name).
installing cPanel-websiteroof

3. Under “Configure Address Records for Nameservers & Hostname“, mark the option “Configure Address Records for Nameservers“, enter your IP address in IPv4 for NS1 and NS2, and should you have an IPv6, enter it into the IPv6 field as well.

Tick mark the option “Add “A Entries” for Hostname” and then click on “Save & Go to Step 5“.
cPanel-websiteroof

Step 5: You can leave all the options as they are or change them should you want it. Then click on “Save & Go to Step 6“.
installing cPanel-websiteroof

Step 6 – (Final Step): Tick mark “Use file system quotas” and click the “Finish Setup Wizard” button.
installing cPanel-websiteroof

Congratulations, the cPanel Installation is complete and now you will need to compile Easy Apache, change settings, install a firewall, etc.

Was this article helpful?
0 out Of 5 Stars
5 Stars 0%
4 Stars 0%
3 Stars 0%
2 Stars 0%
1 Stars 0%
How can we improve this article?
Next How to Install DirectAdmin on Linux CentOS?
Table of Contents
Customers' reviews on Hostings.info Website Roof is listed on whtop.com Website Planet IPV6 Supported Secured by Imunify360