Can't get CPanel working on Azure Server

Operating System & Version
CentOS 8.2.2004
cPanel & WHM Version
No idea, just ran the install command as per guide

NotAWebDev

Registered
Dec 9, 2020
2
0
0
South Africa
cPanel Access Level
Website Owner
So the official "guide" just says run the following command on a fresh server Installation | cPanel & WHM Documentation:
cd /home && curl -o latest -L https://securedownloads.cpanel.net/latest && sh latest

So I spun up a CentOS 8 server in Azure, connected to it via SSH, changed the hostname and ran the above. It spits out the following error at the end:
2020-12-09 09:27:01 365 [1387] (FATAL): The system failed to run the /usr/local/cpanel/scripts/cpanel_initial_install script.
Removing /root/installer.lock.

What does this even mean? And why on a fresh server this doesn't work? That's... ummm... a little disappointing lol. Something else I'm supposed to be doing first? Any help appreciated. Just sounds to me like it failed the install but doesn't really give a reason why. Note that I am very inexperienced with Linux and anything web hosting related unfortunately.

FYI I am root user (sudo -s and it says [email protected] in the command line), I didn't run it in a screen session though but that seems unnecessary as I don't lose connection.
 

NotAWebDev

Registered
Dec 9, 2020
2
0
0
South Africa
cPanel Access Level
Website Owner
I ran the command a second time and it seems to indicate that cpanel is installed despite the error above. Quite confused. Anyway going to try see if I can access it via browser in a mo.

EDIT: Nope. Added port 2087 to NSG in Azure, tried to browse to https://server-public-ip:2087 and nada.

But I just spotted in the system requirements that CentOS 8 isn't yet supported so it could be this is the reason why I'm struggling. Going to start from scratch with CentOS 7 and see.
 
Last edited: