How to Install cPanel on Linux

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 providers 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.

  • 0 användare blev hjälpta av detta svar
Hjälpte svaret dig?

Relaterade artiklar

Create and setup your own name (DNS) servers in WHM

Setting up your own private nameservers on a cPanel server has many benefits, most importantly...

Expanding Disk Space on VPS (SSD)

If you have requested additional SSD space, there may be a need for you to manually expand the...

Maintaining a CPanel/WHM VPS

If you have got a CPanel/WHM based VPS and are not sure on how you should monitor and maintain it...

Connect to your VPS via SSH

Learn how to connect to your Linux VPS via SSH. This guide will give you the process to connect...

Installing NGinx on a CPanel Server Manually

To install NGinx on cPanel servers we recommend you use the product NGinxCP available at...