How do I install Cpanel in CentOS?

You can install Cpanel on CentOS 5 or CentOS 6 by logging in as 'root' user via SSH.

 

- First make sure yum is up2date and 'screen' is installed:

# yum -y upgrade && yum -y install screen

 

- Enter the following command to get the Cpanel installer files via wget:

# wget http://layer1.cpanel.net/latest

 

- Enter the following command to start your Cpanel installer in the background:

#  screen -dmS cpanel-installation /bin/bash -c "sh latest"

 

- Enter the following command to view the Cpanel installer:

# screen -x

 

The installer needs about 45-60 minutes to finish. Once it is finished, you can log in to WHM via the following link:

URL: https://yourip:2087

 

* Where 'yourip' is your servers IP address.

  • 54 Users Found This Useful
Was this answer helpful?

Related Articles

How to update your cpanel license?

If your Cpanel (trial) license is expired and your new license is activated, you have to update...

How to install CSF firewall for Cpanel?

CSF is a common used software firewall for linux based on iptables. They have a plugin available...

How do I create an account in Cpanel?

You can add a new Cpanel account as followed:1. Login to WHM via https://YOUR_IP:2087* replace...

What ports do I need to open in my firewall for Cpanel?

If you install a firewall in Cpanel, it is recommended on opening the following default ports:TCP...