Preparing to install cPanel & WHM
After successfully installing your operating system, you are ready to install cPanel & WHM or cPanel DNSONLY.
To install this software, you must first:
- Access your server. If you do not have physical access, you can connect to your server remotely via SSH.
- Check your operating system’s configuration.
- Obtain a cPanel license.
- Run the installation commands.
Installing cPanel & WHM
To install cPanel & WHM, run these commands:
cd /home— Opens the/homedirectory.wget -N http://httpupdate.cpanel.net/latest— Fetches the latest installation files from cPanel’s servers.sh latest— Opens and executes the installation files.
If licensing fails (due to a strict firewall or modified IP), run the command /usr/local/cpanel/cpkeyclt to activate your cPanel & WHM license.
Installing cPanel DNSONLY
To install cPanel DNSONLY, run these commands:
cd /home— Opens the/homedirectory.wget -N http://httpupdate.cpanel.net/latest-dnsonly— Fetches the latest installation files from cPanel’s servers.sh latest-dnsonly— Opens and executes the installation files.
Getting started in WHM
To access the WHM interface:
- Enter
https://$IP:2087into your preferred web browser.$IPrepresents your server’s IP address.
- Enter
rootinto the Name field. - Enter your root password into the Password field.
- Click Log In.
