Installing WHM & cPanel on Digital Ocean Droplet Image

I'm a bit confused on the order for installing different images / programs on a server. I booted up a LAMP image on my droplet and I'm trying to install WHM & cPanel but when I run the manual install script for WHM & cPanel, it complains that there is already a database instance set up and that it needs to be installed on a clean server. Should I rebuild the droplet and install WHM & cPanel first and then the LAMP files? Typing it out the obvious answer would be "Yea, install WHM & cPanel first" but there's got to be an easier way, no? I don't want to have to manually install all of the LAMP stuff if I don't have to
7 Replies
ἔρως
ἔρως4mo ago
how did you solve this?
vince
vince4mo ago
I haven't done all this yet but I'm going to delete the droplet, make a new droplet with the cPanel for Ubuntu image, and then manually install LAMP
vince
vince4mo ago
How To Install Linux, Apache, MySQL, PHP (LAMP) Stack on Ubuntu | ...
This tutorial will walk you through the steps required to install Linux, Apache, MySQL, PHP (LAMP) stack on Ubuntu.
vince
vince4mo ago
Everything I read says that WHM & cPanel needs to be installed on a fresh server so I'm not going to try to fight it
ἔρως
ἔρως4mo ago
yeah, i didnt want to bash on you with the obvious answer, but dont have a different answer by the way, that should be an easy migration anyways, no?
vince
vince4mo ago
Yea should lol -- I think my hang up was that I want to emulate a CraftCMS environment and a guy on YT was talking about setting up LAMP for your DO droplet. And then I was like "Well, I also need cPanel too"; so essentially, I think I was trying to do too many new things at once
ἔρως
ἔρως4mo ago
nah, you just did them out of order