Step 6: Install cPanel & WHM (or cPanel DNSONLY)

Details for:

  • cPanel & WHM version 11.40
  • cPanel DNSONLY

ALERT! 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.

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:

  1. Access your server. If you do not have physical access, you can connect to your server remotely via SSH.
  2. Check your operating system's configuration.
  3. Obtain a cPanel license.
  4. Run the installation commands.

Connecting to your server remotely via SSH

To connect to your server remotely via SSH:

  1. Open the command line interface (using a terminal application).
  2. Run the command ssh root@$IP (where $IP represents your target server's IP address).
  3. 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:

  1. Download the client from the PuTTy site and install.
  2. Open the client.
  3. In the Sessions menu, enter your server's IP address.
    • You should make sure the SSH button is selected.
  4. Click Open.
  5. Enter your server's root password.

Visit the PuTTy site for more details.

PICK 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 Note: The cPanel Store offers 15-day test licenses at no cost.

Installing cPanel & WHM

note Note: You must have Perl installed on your server before you can run the installation script for cPanel & WHM. You can install Perl using either yum or up2date.

  • yum users should run the following command: yum install perl

  • up2date users should run the following command: up2date -i perl

To install cPanel & WHM, run these commands:

  1. cd /home — Opens the /home directory.
  2. wget -N http://httpupdate.cpanel.net/latest — Fetches the latest installation files from cPanel's servers.
  3. 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 Note: During the cPanel & WHM installation process, Apache 2.2 and PHP 5.4 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:

  1. cd /home — Opens the /home directory.
  2. wget -N http://httpupdate.cpanel.net/latest-dnsonly — Fetches the latest installation files from cPanel's servers.
  3. sh latest-dnsonly — Opens and executes the installation files.

Getting started in WHM

To access the WHM interface:

  1. Enter https://$IP:2087 into your preferred web browser.
    • $IP represents your server's IP address.
  2. Enter root into the Name field.
  3. Enter your root password into the Password field.
  4. 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.


Topic revision: r14 - 19 Sep 2013 - 18:01:41 - Main.JenniferDoubrava