Installing cPanel/WHM on CentOS 7

Follow these steps to install cPanel/WHM on CentOS 7.

  1. Install updates:

    yum update -y
    
  2. Restart the system after updating:

    reboot
    
  3. Install the required tools:

    yum install wget -y
    yum install nano -y
    
  4. Set the hostname (example):

    hostname linux.dedicated.com.tr
    
  5. Set up DNS:

    nano /etc/resolv.conf
    

    File contents (example):

    # Generated by NetworkManager
    search dedicated.com.tr
    nameserver 8.8.8.8
    nameserver 8.8.4.4
    
  6. Download and run the cPanel installer:

    wget http://layer1.cpanel.net/latest
    sh latest
    
Was this article helpful?