About cPanel and WHM
cPanel is a graphical web-based control panel that helps you quickly and easily manage your website and hosting account. cPanel software gives you complete control over a vast amount of functions, streamlining useful processes such as: Creating databases. Managing website files.
About this installation guide:
This guide provodes installation instructions for the cPanel/WHM on CentOS 6.5 Server. It covers how to prepare your CentOS 6.5 server and how to install the application software.
Who this installation guide is for.
This installation guide is for professional web infrastructure engineers, technical newbies, web hosting management installers and administrators. If you follow this step-by-step guide right to the ‘T’, you will successfully install cPanel/WHM.
WARNING:
Once cPanel/WHM is installed, it cannot be removed from the server without a complete server reinstall, cPanel/WHM does not offer an uninstaller.
cPanel/WHM Installation Steps
Before installing cPanel/WHM on your VPS or dedicated server, you need to take care of a few key steps.
First insure that your CentOS 6.5 Server is fully patched and up-to-date.
To perform a full system upgrade, type this command:
root@ns1 [~]# yum upgrade
Second we need to make sure that our server Fully Qualified Domain Name (FQDN) is correctly configured:
root@ns1 [~]# vi /etc/sysconfig/network
In our setup we are using hostname=ns1.magwinya.co.za (FQDN)
root@ns1 [~]# vi /etc/hosts
192.168.10.142 ns1.magwinya.co.za ns1
root@ns1 [~]# uname -a Linux ns1.magwinya.co.za 2.6.32-431.23.3.el6.x86_64 #1 SMP Thu Jul 31 17:20:51 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux
Third we need to make sure that perl, wget and screen is installed on the server.
root@ns1 [~]# yum install perl wget screen
Once you’ve addressed the CentOS 6.5 OS version readiness checks, you don’t have to install any other dependency package as cPanel auto installer script does all for you. We can download cPanel/WHM installer file with wget command and have it saved under /home directory.
Use this command to change to /home directory.
root@ns1 [~]# cd /home/
Use this command to download cPanel with WHM:
root@ns1 [/home]# wget -N http://httpupdate.cpanel.net/latest
root@ns1 [/home]# wget -N http://httpupdate.cpanel.net/latest
--2014-08-02 20:50:33-- http://httpupdate.cpanel.net/latest
Resolving httpupdate.cpanel.net... 74.200.65.162, 74.200.212.130, 75.126.236.226, ...
Connecting to httpupdate.cpanel.net|74.200.65.162|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 21572 (21K) [application/octet-stream]
Saving to: “latest”
100%[============================================================>] 21,572 40.8K/s in 0.5s
2014-08-02 20:50:39 (40.8 KB/s) - “latest” saved [21572/21572]
root@ns1 [/home]#
Now go-ahead and run the auto installer script, but we strongly recommended to run cPanel/WHM auto installer script in screen mode if you are doing it with SSH because it takes 3-4+ hours to complete the installation depending on your server resources.
root@ns1 [/home]# sh latest
Verifying archive integrity... All good.
Uncompressing Cpanel & WHM Installer.....
____ _
___| _ \ __ _ _ __ ___| |
/ __| |_) / _` | '_ \ / _ \ |
| (__| __/ (_| | | | | __/ |
\___|_| \__,_|_| |_|\___|_|
Installer Version v00032 rd0a77335c9257e711a05151f8371e04f218507ca
Beginning main installation.
------------------------------------
------------------------------------
Once the script completes its installation, it will display a message that cPanel/WHM installation is complete. You will be asked to reboot the server after installation.
After that you need to complete the installation wizard from its web based interface and you can access WHM with the following URL.
https://192.168.10.142:2087
•Additionally, cPanel is subject to a licensing fee which may come out to be around $200 a year.
Please login with user “root” and your password. There are some more clicks remaining to complete the cPanel installation. Agree End User License Agreement by clicking “I Agree?/Go to Step 2” button:
Best wishes...if you need help with installation you can simply contact us.
NB: You can try this guide on a Magwinya Wired VPS! I'm very happy to setup a clean VPS for you to use.
From as little as $20 p/m