How to install cPanel/WHM on CentOS 7/8 x64bit Print

  • 0

Note
The steps in this guide require root privileges. Be sure to run the steps below as root or with the sudo prefix.

Before proceeding, make sure you’ve purchased a cPanel license. Next, log into your server as the root a user via SSH to its IP address.

  1. Disable NetworkManager before running the install script:

     
    systemctl stop NetworkManager.service
    systemctl disable NetworkManager.service
    systemctl enable network.service
    systemctl start network.service
    
  2. Set your own hostname and start the installation progress. To set your own hostname run the following command (do not forget to use/replace your own hostname instead of server1.domainname.tld):

    hostnamectl set-hostname server1.domainname.tld
  3. Issue the following command to download and install cPanel. Note that the installation process may take a long time to complete:

     
    cd /home && curl -o latest -L https://securedownloads.cpanel.net/latest && sh latest
    
  4. Now run the commands you've received in your email after your payment to activate the license.

  •  cpanel/whm, centos 7, centos 6, centos 8
  •  9 Users Found This Useful

Was this answer helpful?

« Back

Send Message