cPanel Install

cPanel/WHM is commonly used by resellers or end users to manage their website. Typically it is hosted on a server with CentOS as the main operating system.

Most providers have a cPanel/WHM template within their repository for the installation so it is installed automatically. However it is possible that some providers may not have this template for cPanel/WHM and they only provide the core CentOS only. In this situation we can look to install cPanel/WHM manually.

In our example, we will look to install cPanel/WHM under CentOS 6.

Once we have the OS installed under CentOS 6, we can actually run the official cPanel/WHM installer from cPanel/WHM themselves.


cd /home && curl -o latest -L https://securedownloads.cpanel.net/latest && sh latest

This will change your session to the home directory, downloads the latest version of cPanel & WHM, and runs the installation script.

[root@mysuperweb.co.uk]# cd /home && curl -o latest -L https://securedownloads.cpanel.net/latest && sh latest

  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 24988  100 24988    0     0   6354      0  0:00:03  0:00:03 --:--:-- 62159
Verifying archive integrity... All good.
Uncompressing Cpanel & WHM Installer.....
        ____                  _
    ___|  _ \ __ _ _ __   ___| |
   / __| |_) / _` | '_ \ / _ \ |
  | (__|  __/ (_| | | | |  __/ |
   \___|_|   \__,_|_| |_|\___|_|
  
  Installer Version v00048 r70d81bbf6055006ac2aeba51231cc1b74b7b5c65

Beginning main installation.
2015-09-30 00:33:12  581 ( INFO): cPanel & WHM installation started at: Wed Sep 30 00:33:12 2015!
2015-09-30 00:33:12  582 ( INFO): This installation will require 20-50 minutes, depending on your hardware.
2015-09-30 00:33:12  583 ( INFO): Now is the time to go get another cup of coffee/jolt.
2015-09-30 00:33:12  584 ( INFO): The install will log to the /var/log/cpanel-install.log file.
2015-09-30 00:33:12  585 ( INFO): 
2015-09-30 00:33:12  586 ( INFO): Beginning Installation v3...
2015-09-30 00:33:12  391 ( INFO): CentOS 6 (Linux) detected!
2015-09-30 00:33:12  407 ( INFO): Checking RAM now...
2015-09-30 00:33:12  466 ( INFO): Validating that the system hostname ('mysuperweb.co.uk') is a FQDN...
2015-09-30 00:33:13 1128 ( WARN): Attempting to install the critical 'rdate' package for the installer...
2015-09-30 00:33:13 1130 (DEBUG):   - ssystem [BEGIN]: yum -y install rdate
2015-09-30 00:33:18 1130 (DEBUG):     Loaded plugins: fastestmirror


There will be lots of text passing through the SSH interface during the installation and the installation can take up to 1 hour to complete depending on the server which your installing on.