By web24it
Hi. I want to know how to install a cpanel WHM to an active droplet. Please Help.
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
Hi @web24it,
The recommended way of installing cPanel is directly on a brand new server, otherwise, you risk breaking your existing one.
What I could suggest here is to create a new cPanel server using this 1-Click installation option here:
https://marketplace.digitalocean.com/apps/cpanel-whm
Having said that, It will be tricky but it’s doable. First, make a snapshot on your Droplet. It’s always good to make one before making such a big change.
You can manually install cPanel on a CentOS droplet, but you will need to sort out the license manually as the price for the droplet does not include the cPanel license and you’ll need to purchase it directly through cPanel.
https://store.cpanel.net/view/cpanel/license-options?type=VPS
There is an existing tutorial on how to install cPanel/WHM on CentOS 6. Having said that, the same rules apply to CentOS 7. You can check the tutorial here:
To install cPanel & WHM on your server, run the following command:
- cd /home && curl -o latest -L https://securedownloads.cpanel.net/latest && sh latest
You can also check the official cPanel docs:
Hello there,
I strongly recommend installing cPanel on a fresh Droplet, otherwise, it could cause issues with your existing Droplet, and also the installation is most likely to fail.
Also you can now install cPanel/WHM on a Ubuntu droplet which is a good alternative.
This is also the suggestion from the official cPanel documentation:
Only install cPanel & WHM on a freshly-installed operating system.
However, if you want to give it a try anyway, in order to install cPanel on an existing server you can use this command here:
- cd /home && curl -o latest -L https://securedownloads.cpanel.net/latest && sh latest
Note that you should definitely take a backup of your Droplet before doing so.
Hope that this helps.
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.