What is cPanel?

cPanel is a web-based hosting control panel provided by many hosting providers to website owners allowing them to manage their websites from a web-based interface. This program gives users a graphical interface from which they can control their portion of the Unix server. The tools provided are designed to simplify running and controlling a website. It uses a tiered structure that allows different levels of access. Administrators and end users can control the different aspects of the server and the website directly through their browser. CPanel is generally accessed using https on port 2083 or simply by adding “/cpanel” to the end of the hostname. Depending on the hosting provider the cPanel will generally have some sort of auto installer or package dedicated to content management systems like WordPress.


How To Install?

its simple

login in your VPS as root from Putty or Terminal for mac users


after login


To start off, go ahead and install screen and wget:

sudo yum install screen wget

Once screen is installed, start a new session running:

screen

After opening screen, you can proceed to install cPanel with WHM or a DNS only version of cPanel.

  • Use this this command to install cPanel with WHM:
    wget -N http://httpupdate.cPanel.net/latest
  • Use this command to install the DNS only version of cPanel:
    wget -N http://httpupdate.cPanel.net/latest-dnsonly

With the requested package downloaded, we can go ahead and start the script running:

sh latest

Then close out of screen. The script, which may take one to two hours to complete will continue running while in the background—even if you close out the of server.

In order to detach screen type: Cntrl-a-d

To reattach to your screen you can use the command:

screen -r

Once cPanel finally installs, you can access the login by going to your ip address:2087 (eg. 12.34.45.678:2087l) or domain (example.com:2087)

Your login will be:

username: your_server_user
password: your_password
Was this answer helpful? 6 Users Found This Useful (149 Votes)