Hello everyone Mayank Singh here; today we’ll talk about setting up cPanel on CentOS 7. This guide will demonstrate how to install cPanel WHM and use the command line to access it on your server’s dedicated IP address. I should take into account that it is preferable to follow every step in order to avoid any potential problems.
Installing cPanel is actually a simple process with no complications, and as long as you follow each step carefully, there shouldn’t be any problems.
Note: You can use this guide to install cPanel on the CentOS 7 operating system.
Why is CentOS 7?
As you may be aware, CentOS 8 has been launched, but installing cPanel presents some challenges. CentOS 7 is currently the most dependable and suitable operating system for installing cPanel as of the time that I am writing this guide. Here, we offer cPanel/WHM VPS with CentOS at a fair price for trial or licensed use.
Minimum Resource Requirement To Install cPanel OR WHM
- Account on AWS EC2 or Buy Linux VPS With CentOS 7 Operating System
- 1 GB RAM
- 1 core CPU 1.1 GHz
- 20 GB Storage
- Static IPv4
Connect To Putty : Before installing, I should point out that you can paste commands by right-clicking inside the SSH connection (Putty).
Note: To install cPanel, use the root username or a username with root capabilities; otherwise, you might need to run sudo before each command. “Sudo yum update,” for instance. Check out the definition of Sudo for additional information.
Update Centos 7 : Before installing cPanel, use this command to update the server. Depending on your network speed and the worth of your resources, the updating procedure will take a few minutes.
Installing Perl : Cpanel was created using the Perl programming language. Make that Perl is installed on the server by running the following command.
Installing Curl : The cPanel installation script must be downloaded using Curl, which may be installed using the command line:
Add Hostname : The format of the hostname that Cpanel requires is (FQDN) Fully Qualified Domain Name. You should substitute your own hostname for the sample hostname in this subject, which is myeserver.mydomain.com.
Obey the instructions below.
- sudo passwd
- su root
- yum update
- yum install wget
- yum install perl
- yum install nano
- hostname test.simplylohith.xyz
- curl -o latest -L https://securedownloads.cpanel.net/latest
- sh latest