We are aware of a potentially service impacting issue. Learn more

How to install cPanel on CentOS 6 or CentOS 7 Print

  • 57

Install cPanel & WHM

 

cPanel is a web hosting control panel that provides a graphical interface and automation tools designed to simplify the process of hosting a web site to the website owner or the "end user".

 

We'll go through the process of installing it on a new server, it should be a clean installation of CentOS.

 

First, we'll make sure that the NetworkManager by running the following commands:

 

CentOS 6, CloudLinux 6, Red Hat Enterprise Linux 6 (RHEL):

 

service NetworkManager stop
chkconfig NetworkManager off

 

CentOS 7, CloudLinux 7, or RHEL 7:

 

systemctl stop NetworkManager
systemctl disable NetworkManager

 

 

Then to start the actual installation cPanel & WHM, run the following command:

 

yum install perl -y; cd /home && curl -o latest -L http://httpupdate.cpanel.net/latest && sh latest
 
 
This command install perl, changes your session to the home directory, downloads the latest version of cPanel & WHM, and runs the installation script.

Warning:

To install cPanel & WHM on a 5.x version of CentOS, Red Hat Enterprise Linux, or CloudLinux, use the --force option when you run the installer. We strongly recommend that server administrators use the newest version of their operating system.

Get started in WHM

To access the WHM interface, perform the following steps:

  1. Enter https://$IP:2087 in your preferred web browser. $IP represents your server's IP address.

  2. Enter root in the Username text box.
  3. Enter the root password in the Password text box.
  4. Click Log In.

Notes:

  • For more information on how to get started in WHM, see the Initial Setup Wizard documentation.
  • To set up cPanel user accounts, navigate to WHM's Create a New Account interface (Home >> Account Functions >> Create a New Account). With a cPanel user account, users can create email and FTP accounts and perform other website management tasks.

Was this answer helpful?

« Back