How to install cPanel

How to install cPanel

To install cPanel & WHM on your server, run the following command:

cd /home && curl -o latest -L https://securedownloads.cpanel.net/latest && sh latest

This command changes your session to the home directory, downloads the latest version of cPanel & WHM, and runs the installation script.

Note:

We recommend that you run the installation command within a Linux screen session. The Linux Screen utility allows you to create a shell session that will stay active through a network disruption.

The installation instructions for the Screen utility vary based on your server’s operating system and its package management tools.

  1. To determine whether your operating system contains the Screen utility and it exists in your path, run the which screen command.
  2. If Screen is not installed on your system, run the following command:
    • If your system uses yum, you can install Screen with the yum install screen command.
    • If your system uses apt, you can install Screen with the apt install screen command.
  3. To run a Screen session, enter the screen command. If your session disconnects for some reason, log back in to your server and run the screen -r command. This will reconnect you to your Screen session.

Comments

No comments yet. Why don’t you start the discussion?

Leave a Reply

Your email address will not be published. Required fields are marked *