How to Install cPanel/WHM on Linux Server (CentOS/RHEL)

Installation of cPanel/WHM, a complete web hosting and server management control panel, can be automated with a few commands:
  1. Log in to your linux dedicated server via SSH as the root user (or gain root permissions).
  2. Copy the following into the server's command line: 

    yum install -y perl;cd /home;wget -N http://httpupdate.cpanel.net/latest;sh latest;/usr/local/cpanel/cpkeyclt

    The last command will automatically check for and verify the server's cPanel license. If you do not have a license, you can still install WHM/cPanel, but the licensing command will fail and cPanel will continue in trial mode until verified.

  • 1 Users Found This Useful
Was this answer helpful?

Related Articles

How to Access a Linux Server via SSH Terminal

When Linux dedicated servers are provisioned, they are often setup with a minimal OS...

How To Check if a Server is Online/Offline (Ping)

Is your server offline, or do you suspect it might be?The first step toward resolving the issue...

How To Check if a Server is Online/Offline (Ping)

Is your server offline, or do you suspect it might be?The first step toward resolving the issue...

How to Ping a Linux Server (Windows/Mac/Linux)

A very simple network connectivity test is to employ ping (ICMP) packets to test the...

How to Ping a Linux Server (Windows/Mac/Linux)

A very simple network connectivity test is to employ ping (ICMP) packets to test the...

Powered by WHMCompleteSolution