How To Install cPanel Instance From Discovery
For ease, we package up cPanel for customers so they can install new cPanel instances in seconds. The almalinux-cPanel-cloudinit.first2host.co.uk image is available on all Instances with the minimum cPanel requirements assigned to them. If your instance does not meet the minimum cPanel requirements, you will not see this image. After installing the AlmaLinux + cPanel image you must use the NoVNC console to access the instance and set a root password.
If you have ordered an instance with this OS template or a managed cPanel instance, cPanel is already installed. You can proceed to the next step.
Reinstall Instance With AlmaLinux + cPanel
To reinstall your instance with our template select the almalinux-cPanel-cloudinit.first2host.co.uk and hit the button to the right. Next, set a password. This is the password you use to access the instance to set a root password in the next step.
Set Root Password
Once you have installed your cPanel instance on boot the instance will update to the latest cPanel version. You should be able to access the WHM login screen at https://instance-ip:2087. You cannot yet log in because you have not set a root password. Use the NoVNC console to access this instance.
Log in with the username almalinux and the password you set in the above step. The password has also been emailed to your client account email address. Once logged in, issue the below commands in order.
#Upgrade to root sudo su - #Set root password passwd
You have now set a root password. We have already enabled root logins for SSH on our cPanel templates and we also configure a static route to the gateway. SELinux is also disabled. Finally, you must remove the user account. Log out of the NoVNC console and log back in using the root username and password you just set. Delete the user account with the below command.
For the best protection activate the cPanel security group from the “Firewall” section of the Discovery control panel. This closes all ports and opens only the ones required by cPanel. For minimal protection Install CSF to your cPanel instance.
How was this article? – How To Install cPanel Instance From Discovery