Complete cPanel installation Guide

cPanel installation Guide

cPanel installation Guide

cPanel is the most popular web hosting panel at the moment. cPanel has superior security features compared to other web hosting panels. It offers a wide variety of easy to use GUI features for email based tasks. It’s also impressive with its domain management features for addon domains, sub-domains and parked domains.

cPanel installation:

The following are the re-requisites for the cPanel installation:

  1. Before installing cPanel, make sure that you have set a fully qualified domain name [FQDN] for the server.

The following are the steps to setup a FQDN in a CentOS server.

Edit the below file:

#vi /etc/sysconfig/network

Set the “HOSTNAME” parameter with your desired hostname , say

Next run hostname from your command line as shown:


Next, restart the network protocol in the server.

# /etc/init.d/network restart

A fully qualified domain name is of the form i.e.,

  1. The following are the hardware pre-requisites:
  • 256 Mhz clock frequency
  • 512 MB RAM
  • 20 GB disk space
  1. The following are the software pre-requisites:
  • Centos 5.X or 6.X versions
  • RedHat enterprise 5.X or 6.X versions
  • Cloudlinux 5.X or ^.X Versions

Let us see the steps for cPanel installations.

The perl package needs to be present for the installation of the cPanel package.

#yum install perl

We can next install the “screen” package so that the installation can be completed successfully even if there is any disconnection.

#yum install screen wget

We can start a screen using the below command:


Next change the location to the home directory

#cd /home

Issue the below command to download the latest version of cPanel.

# wget -N

Then install cPanel by executing the script.

sh latest

You can use the below command to check the progress of the installation going on in the screen:

#screen -r

Update the cPanel keys using the below command:


Once the installation is complete you can verify it by taking the server’s IP address on the web browser.

cPanel/WHM on the server uses port 2086.


We can access cPanel/WHM over SSL using port 2087.

You can login to your WHM as root with your server’s root password.

After logging into the WHM you must accept the license and then continue the step by step procedure by providing the necessary details.

Brought to you by ProlimeHost

We’ve been in the web hosting industry for ten years, helping hundreds of clients succeed in what they do best and that’s running their business. We specialize in VPS and dedicated servers, with data centers in Los Angeles, Denver and Singapore. Call 1-877-477-9454 or contact us. We’re here to help.

Rounak Jain

Leave a Reply