1. Home
  2. How To
  3. How to install cPanel on CentOS server

How to install cPanel on CentOS server

To install cPanel & WHM on your server, run the following commands:

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

If your system does not contain screen, you can install it with this command:

[root@eurovps home]# yum install screen -y

To run a screen session, enter the screen command.

[root@eurovps /]# screen

You must make sure that you have Perl installed on your server as cPanel is written in Perl.

For installing perl execute following command:

[root@eurovps /]# yum install perl -y

Changes your session to the home directory

[root@eurovps /]# cd /home

Download the latest version of cPanel & WHM

[root@eurovps home]# curl -o latest -L <a href="https://securedownloads.cpanel.net/latest">https://securedownloads.cpanel.net/latest</a>

Run the installation script.

[root@eurovps home]# sh latest

If you get an error, ‘cPanel does not support NetworkManager installed, you need to disable NetworkManager.service.

[root@eurovps /]# systemctl stop NetworkManager.service

[root@eurovps /]

# systemctl disable NetworkManager.service

Minimum requirements

  • Fresh installation of Centos 7 
  • 1 GB RAM or higher 
  • Recommended 25 GB disk space 
  • The server must have a Fully Qualified Domain Name (FQDN) 
  • Valid cPanel license
Updated on May 31, 2019

Was this article helpful?

Related Articles