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.

Installation options

You may use the following options when installing cPanel.

Option

Description

--confirm

Whether to confirm before running the embedded script.

--noexec

Do not run the embedded script.

--keep

Do not erase the target directory after running the embedded script.

--nox11

Do not spawn an X terminal input terminal.

--nochown

Do not give the extracted files to the current user.

--target NewDirectory

Extract the cPanel installation in the NewDirectory directory.

--tar arg1 [arg2 ...]

Access the contents of the archive through the tar command.

--force

Force a cPanel installation on an unrecommended configuration.

--skip-cloudlinux

Skip the automatic convert to CloudLinux process, even if a license exists.

Note: We recommend that you run the installation command within a Linux screen session.

Important:

  • cPanel, Inc. designs software for commercial hosting. Therefore, we only license publicly visible, static IP addresses. We do not license dynamic, reserved, sticky, or internal IP addresses.
  • We do not provide an uninstaller. If you wish to remove our software, you must reformat the server.
  • Only install cPanel & WHM on a freshly-installed operating system.
  • You must log in to the server as the root user in order to install cPanel & WHM. If you do not possess root-level access, contact your system administrator or hosting provider for assistance.
  • We recommend that you use the cPanel & WHM installer, which installs all of the services that it requires. If you install services before you install cPanel & WHM, you will encounter compatibility issues.
  • New installations of cPanel & WHM default to the fast installation mode. To disable the fast installation mode, use the steps in our Customize Your Installation documentation.


If you still have questions about cPanel or need help installing it, make sure to contact us by opening a support ticket or with our live chat feature.

  • 3 Users Found This Useful
Was this answer helpful?

Also Read

What is error 550 – quota exceeded?

You will receive a “550 Mailbox quota exceeded” error when you attempt to send an...

How to empty my DNS cache

Overview Your DNS cache stores the locations (IP addresses) of web servers that contain web...

How to find forwarders/autoresponders on a cPanel server

Often while troubleshooting your client's mail issues, you will be required to find out which...

How to Minimize your Shared Web Hosting Server Usage

Ways To Minimize Bandwidth Usage The best way to avoid excessive server resource usage is to...

Addon Domains and Aliases

What is an alias? An alias is a special domain name configuration that allows a second domain...