How to Install cPanel/WHM on my server?
Installing cPanel/WHM on Your Server
Prerequisites:
A fresh CentOS, CloudLinux, or RHEL server.
Root access to the server.
At least 1 GB of RAM (2 GB recommended).
At least 20 GB of disk space (more if you plan to host multiple websites).
Step-by-Step Guide:
1. Log in to Your Server
Use SSH to log in to your server as the root user.
Example command:
ssh root@your_server_ip
2. Update Your Server
Run the following command to ensure your server is up-to-date:
yum update -y
3. Set the Hostname
Set a fully qualified domain name (FQDN) as your server’s hostname:
hostnamectl set-hostname server.yourdomain.com
4. Disable NetworkManager (CentOS 7)
cPanel & WHM requires that NetworkManager be disabled:
systemctl stop NetworkManager
systemctl disable NetworkManager
5. Install cPanel/WHM
Download and run the cPanel installer:
cd /home && curl -o latest -L https://securedownloads.cpanel.net/latest && sh latest
6. Access WHM
Once the installation is complete, access WHM by navigating to:
https://your_server_ip:2087
Log in using the root user and password.
7. Complete the Setup Wizard
Follow the on-screen instructions to complete the setup wizard.
Accept the license agreement, set your contact information, configure nameservers, and set up security settings.




