A Comprehensive Guide to Installing and Setting Up cPanel/WHM on Linux Server

Introduction : In today’s digital age, web hosting is an essential service for businesses and individuals alike. To manage your web hosting server efficiently, cPanel/WHM (Web Host Manager) is an industry-standard control panel that simplifies server administration tasks. In this guide, we will walk you through the process of installing and setting up cPanel/WHM on Linux servers purchased from Whiscloud.com, a reputable hosting provider. With cPanel/WHM, you can effortlessly manage websites, email accounts, databases, and more. Let’s dive into the steps to get your cPanel/WHM server up and running smoothly.

  1. Choose the Right Server: Before you can install cPanel/WHM, you’ll need a Linux-based server from Whiscloud.com. Ensure that you’ve selected the server configuration that suits your needs, taking into consideration factors like CPU, RAM, storage, and bandwidth.
  2. Access Your Server: Once you’ve purchased your server from Whiscloud.com, you’ll need to access it. You can do this using Secure Shell (SSH) with the provided credentials. Open your terminal and run:
ssh root@your_server_ip

Replace your_server_ip with the actual IP address of your server.

  1. Update Server Software: Before proceeding with the installation, it’s crucial to ensure your server’s software is up-to-date. Run the following commands:
yum update

For Ubuntu/Debian-based systems:

apt update && apt upgrade
  1. Prepare the Server: Before installing cPanel/WHM, make sure that your server meets the system requirements provided by cPanel. These typically include a fresh installation of CentOS, CloudLinux, or Red Hat Enterprise Linux. Check cPanel’s documentation for the specific requirements.
  2. Download cPanel/WHM Installation Script: Navigate to the /home directory and download the cPanel/WHM installation script:
cd /home
curl -o latest -L https://securedownloads.cpanel.net/latest

Run the Installation Script: To begin the installation, execute the downloaded script:

sh latest

This script will take care of downloading and installing cPanel/WHM on your server. The process might take some time, so be patient.

  1. Set Up cPanel/WHM: After the installation is complete, you’ll be guided through the setup process. Follow the on-screen instructions to configure your server settings, including hostname, IP addresses, and network configuration.
  2. License Activation: You’ll need a valid cPanel/WHM license to use the software. If you don’t have one already, you can purchase it from the cPanel store. Once you have the license, enter it during the setup process to activate cPanel/WHM.
  3. Firewall Configuration: cPanel/WHM requires specific ports to be open for proper functionality. Use a firewall management tool like firewalld or iptables to configure the necessary rules. Typically, you’ll need to open ports 80 (HTTP), 443 (HTTPS), and 2087 (cPanel) for web access.
  4. Accessing cPanel/WHM: Once everything is set up, you can access cPanel/WHM via a web browser. Open your preferred browser and enter your server’s IP address or hostname followed by /whm, like this: https://your_server_ip_or_hostname:2087. Log in using the root credentials you set during installation.

Conclusion: Congratulations! You’ve successfully installed and set up cPanel/WHM on your Linux server from Whiscloud.com. With cPanel/WHM, you have a user-friendly control panel to manage your web hosting environment efficiently. From managing websites to handling email accounts and databases, cPanel/WHM streamlines the process. Remember to keep your server and cPanel/WHM installation up-to-date to ensure optimal performance and security. Explore cPanel’s extensive documentation and community forums for further assistance and customization options. Happy hosting!

Leave a Reply

Your email address will not be published. Required fields are marked *