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
  • 9 gebruikers vonden dit artikel nuttig
Was dit antwoord nuttig?

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...

How to Uninstall Installatron in WHM cPanel Server

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

How to Install Installatron in WHM cPanel Server

This guide will show you how to download and install Installatron on your cPanel/WHM server. To...

How to Install Softaculous with cPanel/WHM

This guide will show you how to download and install Softaculous on your cPanel/WHM server. To...