About cPanel

cPanel is a convenient application that allows users to administer servers through a GUI interface instead of the traditional command line. Although the installation for cPanel is relatively simple, the script does take several hours to run.

Notes

  • Once cPanel is installed, it cannot be removed from the server without a complete server restore. cPanel does not offer an uninstaller
  • Additionally, cPanel is subject to a licensing fee which may come out to be around $220 a year. Legionhoster Inc. does not cover the cost of cPanel. You can find out more about cPanel pricing here

Setup

cPanel is very picky about making sure that server that it is installed on has a Fully Qualified Domain Name. To that effect, we need to provide it with a valid hostname. Skipping this step will inevitably get you errors

hostname host.yourdomain.com

Install cPanel

Although the cPanel installation only has several steps, the installation does take a long time. Although using program “screen” is not necessary in order to install cPanel, it can be a very helpful addition to the installation process. It can be especially useful if you know that you may have issues with intermittent internet or that you will need to pause the lengthy install process.

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

yum install screen

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.

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:2086 (eg. 158.58.56.123:2086) or domain (youdomain.com:2086)

Login Links :

http://YourDomainName:2086

http://YourServerIP:2086

https://YourserverIP:2087

username: root_username
password: root_password

 

Regards,

Legionhoster Inc.

 

References :

https://documentation.cpanel.net/display/ALD/Installation+Guide+-+System+Requirements

http://www.tecmint.com/install-cpanel-whm-in-rhel-centos/

https://www.digitalocean.com/community/tutorials/how-to-install-cpanel-on-a-virtual-server-running-centos-6

https://www.google.co.in

 

How to install cpanel on centos VPS

Leave a Reply

Your email address will not be published. Required fields are marked *