Install cPanel on CentOS 7 Server


This article provides a guide for how to install cPanel on CentOS 7 server, such as VPS or dedicated servers.

Prerequisites

How to Install cPanel on CentOS 7 Server

To install cPanel on CentOS 7 server, follow the steps:

  1. Login to the SSH terminal as root user.
  2. Run the following commands:
    yum -y update
    yum -y install nano perl
    echo "CPANEL=lts" >> /etc/cpupdate.conf
    echo "RPMUP=daily" >> /etc/cpupdate.conf
    echo "SARULESUP=daily" >> /etc/cpupdate.conf
    echo "STAGING_DIR=/usr/local/cpanel" >> /etc/cpupdate.conf
    echo "UPDATES=daily" >> /etc/cpupdate.conf
    cd /home && curl -o latest -L https://securedownloads.cpanel.net/latest && sh latest
  3. Wait until the install script has finished (15-45 minutes).
  4. Login to the WHM interface (https://<your_ip_address>:2087)
  5. Accept the cPanel terms of service and enter the nameservers

Conclusion

You now know how to install cPanel on CentOS 7 server.

Related:

  • cpanel setup, cpanel server administration, cpanel vps
  • 8 Users Found This Useful
Was this answer helpful?

Related Articles

Remove a Service from ChkServd Monitoring for cPanel Servers

This guide requires root user account in server. In some circumstances, ChkservD cPanel...

Assigning a Dedicated IP Address to a Subdomain using WHM

To assign a dedicated IP address to a subdomain, perform the following steps: Step 1: Add the...

Enable Lets Encrypt AutoSSL Provider

This article refers to cPanel version 84 and later. Enable Let's Encrypt for AutoSSL Follow...

How to Fix Incorrect cPanel Account Quotas and Disk Usage

This article will provide a step-by-step guide to fix incorrect account quotas and disk usage on...

How to Uninstall Installatron in WHM cPanel Server

This guide will show you how to quickly uninstall Installatron software from WHM/cPanel server....