Moving from another host? Get 15% off to migrate to GOZEN using: MOV15

Contact Info

8 The Green Ste R, Dover, DE 19901

(+1) 470 - 809-9620

Get Started
install cpanel

How to Install cPanel on a Linux Server: A Step-by-Step Guide

Welcome to the GOZEN Host blog! This post will guide you through installing cPanel on a Linux server. cPanel is a powerful web hosting control panel that simplifies the management of websites, email accounts, and various other services. Follow these steps to get cPanel up and running on your Linux server.


Before you begin, make sure you have the following:

Step 1: Update Your Server

First, ensure that your server is up to date. Open your terminal and run the following command:

yum update -y or apt update -y

This command updates all the packages on your server to their latest versions.

Step 2: Set the Hostname

cPanel requires a valid hostname. Set your server’s hostname using the following command:

hostnamectl set-hostname

Replace with your desired hostname.

Step 3: Disable SELinux

cPanel is not compatible with SELinux, so you need to disable it. Open the SELinux configuration file with a text editor:

nano /etc/selinux/config

Find the line SELINUX=enforcing and change it to SELINUX=disabled. Save the file and exit the text editor. Then, reboot your server to apply the changes:


Step 4: Install cPanel

Once your server is back online, you can proceed with the cPanel installation. Download the latest cPanel installer script with the following command:

cd /home
curl -o latest -L

After downloading the installer, run the script:

sh latest

The installation process will take some time, typically between 30 to 60 minutes, depending on your server’s performance and internet speed.

Step 5: Complete the cPanel Setup

Once the installation is complete, you can access the cPanel and WHM (Web Host Manager) setup interface through your web browser. Navigate to:


Replace your.server.ip with your server’s IP address. You will be prompted to enter your root username and password.

Step 6: Activate Your cPanel License

After logging in, you need to activate your cPanel license. Follow the on-screen instructions to enter your license key and complete the setup, GOZEN provides IP based licenses so this should be already active for you, if not please contact our support for assistance.

Step 7: Configure Basic Settings

With cPanel and WHM installed, take a few minutes to configure basic settings:

  • Set up your contact information.
  • Configure your nameservers.
  • Set up basic security settings.


Congratulations! You have successfully installed cPanel on your Linux server. With cPanel, managing your web hosting environment is easier and more efficient. If you have any questions or run into any issues during the installation, feel free to reach out to our support team at GOZEN Host.

Stay tuned for more tutorials and tips on our blog. Happy hosting!

By following these steps, you can leverage the powerful features of cPanel to manage your web hosting environment effortlessly. If you need any assistance or further information, don’t hesitate to contact us. This guide was installed on GOZEN’s Cloud VPS servers