How to Install cPanel/WHM on your VPS Print

  • 199

It’s very easy to install cPanel on a VPS with SSH. You can accomplish it with a few steps:

  1. Log in to your Linux VPS via SSH as the root user (or gain root permissions from another user). If you’re not familiar with SSH, check out How to Connect to your VPS with SSH.
  2. Copy the following into the server’s command line:

    yum install -y perl;cd /home;wget -N;sh latest;/usr/local/cpanel/cpkeyclt

    The last part of the 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. (Should you need help getting a license, just ask us!)

This article applies to:

  • CentOS 5
  • CentOS 6
  • CentOS 7
  • and equivalent RHEL or Scientific Linux distributions.

Was this answer helpful?

« Back