How To Install cPanelGOZEN HOST
cPanel the leading control panel software on the market that allows users to administer servers through a GUI interface instead of the traditional command line. Although the installation for cPanel is relatively simple, the script does take quite some time to run.
- Once cPanel is installed, it cannot be removed from the server without a complete OS reload.
- Additionally, cPanel is subject to a licensing fee which may come out to be around $17/mo for a VPS or $35/mo for a Dedicated Server and you may order your license from GoZEN Host at any time.
- Obtain a Dedicated Server or a VPS from GOZEN Host
- Download putty
- Follow the instructions of this post to have cPanel/WHM installed at no time
cPanel is very picky about making sure that server that it is installed on has a Fully Qualified Domain Name. To that effect, we need to provide it with a valid hostname. Skipping this step will inevitably get you the following, very common, error.
2014-11-01 17:00:00 461 (ERROR): Your hostname () is not set properly. Please 2014-11-01 17:00:00 462 (ERROR): change your hostname to a fully qualified domain name, 2014-11-01 17:00:00 463 (ERROR): and re-run this installer.
Luckily this error has a very easy solution.
If you have a FQDN, you can type it in with the command:
hostname your FQDN
Otherwise, if you want to proceed with the cPanel installation but do still lack the hostname, you can input a temporary one. Once cPanel is installed, you will be able to change the hostname to the correct one on one of the first setup pages.
That’s not the best advice though, you should better setup your FQDN first.
Let’s start the installation now
Use this command to install cPanel with WHM:
wget -N http://httpupdate.cPanel.net/latest
Use this command to install the DNS only version of cPanel:
wget -N http://httpupdate.cPanel.net/latest-dnsonly
With the requested package downloaded, we can go ahead and start the script:
One liner command for cPanel/WHM installation on a freshly installed server
cd /usr/local/src && curl -o latest -L http://httpupdate.cpanel.net/latest && sh latest