cPanel is a convenient application 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 several hours to run.
- Once cPanel is installed, it cannot be removed from the server without a complete server restore. cPanel does not offer an uninstaller
- Additionally, cPanel is subject to a licensing fee which may come out to be around $200 a year. DigitalOcean does not cover the cost of cPanel. You can find out more about cPanel pricing here
Before installing cPanel on our droplet, we need to take two additional steps.
First we need to make sure that Perl is installed on the server
sudo yum install perl
After installing perl we will install cPanel
Although the cPanel installation only has several steps, the installation does take a long time. Although using program “screen” is not necessary in order to install cPanel, it can be a very helpful addition to the installation process. It can be especially useful if you know that you may have issues with intermittent internet or that you will need to pause the lengthy install process.
To start off, go ahead and install screen and wget:
sudo yum install screen wget
Once screen is installed, start a new session running:
After opening screen, you can proceed to install cPanel with WHM or a DNS only version of cPanel.
- Use this 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 running:
Then close out of screen. The script, which may take one to two hours to complete will continue running while in the background—even if you close out the of server.
In order to detach screen type:
To reattach to your screen you can use the command:
Once cPanel finally installs, you can access the login by going to your ip address:2087 (eg. 220.127.116.118:2087) or domain (example.com:2087)
Your login will be:
username: root password: your_server_root_password
From there, you can create your cpanel user and finally login in at ipaddress/cpanel or domain/cpanel
For Free cPanel Installation services Contact Us