As the 'root' user, connect to the server's command line through SSH.
Refresh the system's packages.
If you're using CentOS 7, CloudLinux 7, or CloudLinux 6, execute this command:
yum update
For CloudLinux 8 and AlamLinux 8, this is the command to run:
dnf update
For Ubuntu, these are the commands to execute:
apt update
apt upgrade
Restart the server.
shutdown -r now
Once the server is back up, connect again to the server's command line as the 'root' user via SSH.
Execute this command.
cd /home && curl -o latest -L https://securedownloads.cpanel.net/latest && sh latest
Configuring WHM/cPanel
WHM can be accessed by inputting the IP address or domain along with the 2087 port into your browser of choice. For instance:
https://203.1xx.xxx.xxx:2087 €” This allows you to reach WHM via a secure connection using your IP address.
https://example.com:2087 €” This allows you to reach WHM via a secure connection using your domain name.
Take note: To successfully log into WHM, you must be the root user or a user with reseller privileges.
Here are some methods to log in:
Using your WHM account
To use your WHM account to log in, follow these steps:
Type your WHM username into the Username text box.
Type your password into the Password text box.
Click on Log in. You'll then see the WHM Home interface.
If your account uses two-factor authentication (2FA), do these additional steps:
Open your chosen 2FA app on your smartphone to get the six-digit security code.
Input the six-digit security code given by the app.
Click on Continue.
Using external authentication for WHM
To log in with external authentication, follow these steps:
Click on the button that matches your external authentication identity provider.
If you need to log in to the identity provider, the provider€™s login interface will show up. Input your authentication credentials.
Take note: If you have an account in the cPanel Store, the cPanel Tickets system, or the Manage2 billing system, use that username as your cPanelID. For more details, check our cPanelID documentation.