How To Install cPanel on a Virtual Server Running Centos 6
cPanel is an easy program that allows customers to provide web servers through a GUI interface instead of the standard control line. Although uncomplicated for cPanel is relatively simple, the program does take several hours to run.
Install cPanel on a Virtual Server Running Centos 6
Once cPanel is set up, it can’t be taken off the server without a finish server recover. cPanel doesn’t present an uninstaller
Additionally, cPanel is topic to a certification fee which may come out to be around $200 annually. DigitalOcean does not protect the price of cPanel. You can discover out more about cPanel costs here
Before setting up cPanel on our droplet, we need to took two extra actions.
First we need for making sure that Perl comes with the server
sudo yum install perl
After setting up perl we need to took one more initial phase. cPanel is very picky about creating sure that server that it is set up on has a Completely Certified Domain Name. To that impact, we need to provide it with a real host-name. Skipping this method will certainly get you the following, very common, mistake.
2012-11-01 16:00:54 461 (ERROR): Your hostname () is not set properly. Please 2012-11-01 16:00:54 462 (ERROR): change your hostname to a fully qualified domain name, 2012-11-01 16:00:54 463 (ERROR): and re-run this installer.
Fortunately this mistake has a quite simple remedy. If you have a FQDN, you can kind it in with the command:
hostname your FQDN
Otherwise, if you want to continue with the cPanel set up but do still don’t have the hostname, you can feedback a short-term one. Once cPanel is set up, you will be able to modify the hostname to right on one of the first set up website.
Although the cPanel set up only has several actions, the installation does take too much time. Although using system “screen” is not necessary in to set up cPanel, it can be a very beneficial inclusion to installation procedure. It can be especially useful if you know that you may have problems with intermittent online or that you’ll need to stop the lengthy set up procedure.
To begin off, proceed and set up display and wget:
sudo yum install screen wget
Once display is set up, begin a new period running:
After starting display, you can start working on set up cPanel with WHM or a DNS only form of cPanel.
- Use this command control to set up cPanel with WHM:
wget -N http://httpupdate.cPanel.net/latest
- Use this control to set up the DNS only edition of cPanel:
wget -N http://httpupdate.cPanel.net/latest-dnsonly
With the requested package downloadable, we can proceed and start the program running:
Then stop out of display. The program, which may take one to two hours to complete will proceed operating while in the background—even if you stop out the of server.
In order to detach display type:
To reattach to your display you can use the command:
Once cPanel lastly setup, you can connect the sign in by going to your ip address:2087 (eg. 188.8.131.528:2087l) or domain (example.com:2087)
Your login will be:
username: your_server_user password: your_password