Step 6: Install cPanel & WHM (or cPanel DNSONLY)
Details for:
- cPanel & WHM 11.30
- cPanel DNSONLY
Important: Once cPanel & WHM is installed on a server, you must reformat the server in order to remove it. At this time, we do not provide an uninstaller.
Note:
Troubleshooting a Recent Installation — Read this document if you encounter problems installing cPanel & WHM.
Preparing to install cPanel & WHM or cPanel DNSONLY
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.
Connecting to your server remotely via SSH
To connect to your server remotely via SSH:
- Open the command line interface (using a terminal application).
- Run the command
ssh root@$IP (where $IP represents your target server's IP address).
- Enter your server's root password.
Connecting to your server from a Windows® PC via PuTTy
To connect to your server from a Windows® PC via PuTTy:
- Download the client from the PuTTy site and install.
- Open the client.
- In the Sessions menu, enter your server's IP address.
- You should make sure the SSH button is selected.
- Click Open.
- Enter your server's root password.
Visit the
PuTTy site for more details.
Remember: Once you are logged on to your server, you must run POSIX-standardized commands to manipulate files, regardless of whether you are connecting via PuTTy or another SSH client.
Obtaining a cPanel & WHM license
If you do not already own a license for cPanel & WHM, you should obtain one for your IP address before attempting installation. To obtain a cPanel & WHM license, visit the
cPanel Store.
Note: The
cPanel Store offers 15-day test licenses at no cost.
Installing cPanel & WHM
To install cPanel & WHM, run these commands:
-
cd /home — Opens the /home directory.
-
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.
Note: During the cPanel & WHM installation process, Apache 2.2 and PHP 5.2.17 are installed by default. After this installation process is complete, you can customize your server's Apache and PHP configuration with WHM's
EasyApache? feature.
Installing cPanel DNSONLY
To install cPanel DNSONLY, run these commands:
-
cd /home — Opens the /home directory.
-
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:2087 into your preferred web browser.
-
$IP represents your server's IP address.
- Enter
root into the Name field.
- Enter your root password into the Password field.
- Click Log In.
For more information on getting started in WHM, see our
WHM Initial Setup Wizard documentation.
If you are looking to set up cPanel user accounts, navigate to WHM's
Create a New Account feature. cPanel user accounts allows users to create email and FTP accounts, as well as perform other website management tasks.