25.09.2021»»суббота

Install Cpanel Centos Free

25.09.2021

WHM/cPanel is the most popular web hosting control panel for Linux operating systems. Using WHM/cPanel we can easily manage our web hosting environment without having more technical skills. If you have basic knowledge of hosting with networking you can manage any web hosting server using WHM/cPanel.

WHM/cPanel is basically divided into two parts WHM and cPanel. WHM section is used for managing your system, hosting accounts and maintenance of system where cPanel is known as single hosting account. This article will help you to install cPanel and WHM on CentOS/RHEL and CloudLinux operating systems.

Download the best, secure and fast Linux control panel to manage your web hosting available for free in Centos and Ubuntu platform. Free download control panel. Installation of cPanel on your Centos 7 server 9964 views 1 min, 59 sec read 5 cPanel is a popular, feature rich and reliable web hosting platform that’s in use worldwide by thousands of web-hosting companies and individuals.

1. Minimum System Requirements

Before installing cPanel and WHM on your system make sure to fulfill following requirements

  • Minimum of 1GB RAM
  • 20 GB Harddisk
  • Perl must be installed
  • CentOS 7/6/5 or RHEL 6/5 or CloudLinux 6/5

For more details visit WHM/cPanel system requirements url.

2. Setup Proper Hostname

Before installing WHM/cPanel on your system, make sure to set a proper fully qualified hostname for your system.

Now edit /etc/sysconfig/network to set hostname permanently and update hostname entry like below

Now edit /etc/hosts to point hostname to local system ip. For example local system ip is 192.168.1.100, Do the following entry in /etc/hosts file.

3. Disable SELinux

Now make sure to disable selinux on your system before starting cPanel and WHM installation. To disable selinux execute following command.

Free

Now edit /etc/sysconfig/selinux and update following entry for disabling SELinux permanently.

4. Install WHM/cPanel

Your installation preparation has been completed for WHM/cPanel. Now execute one by one following commands to install WHM/cPanel on your system.

Installation processes will take more time (Approx 1 hour or more) as per your network speed and operating system speed. After completing installation your will get output like below.

5. Post Installation of cPanel & WHM

After completing WHM/cPanel installation on your system successfully you can access WHM on 2086 & 2087(with ssl) and cPanel accounts on 2082 & 2083(with ssl) ports. Now login to your WHM account and completed post installation instructions ans per your required configuration. You can access WHM using root account and their password at following urls.

Login with your root account credentials and complete following six steps.

  • Accept Linux Agreement
  • Setup networking
  • Set Up IP Addresses
  • Select nameserver (default is bind)
  • Setup additional services like FTP, Mail
  • Enable or Disable disk quota

6. Activate cPanel & WHM License

As the WHM/cPanel is available with commercial license, So you need to purchase a license (based on ip) from cPanel or its third-party sites.
When you purchased a commercial license for your cPanel server activate is using following command.

To verify your license visit cPanel license verification url and enter public ip your server.

The plugin is distributed in RPM form as part of a yum repository for CentOS and AlmaLinux.

Prerequisites

  • Root SSH access to WHM
  • i386 or x86_64 CentOS 7, CentOS 8 or AlmaLinux 8
  • WHM/cPanel of at least STABLE version or newer (CloudLinux and LSWS compatible)
  • nginx (via EasyApache 4) is not supported. We are working on it.

How To Install Cpanel

Please note: cPanel DNSONLY servers are currently NOT supported, please use our FleetSSL DNSONLY package instead.

Installation procedure

Install the licence file

Licence TypeInstructions
Trial UsersTrial users may ignore this step, as a 72-hour duration trial licence will be downloaded automatically for you.
Purchased LicenceYou will have received a licence file by email. Save your issued licence file as /etc/letsencrypt-cpanel.licence and chmod to 0400. If you received a file ending in .json, rename the file to letsencrypt-cpanel.licence.
If you are upgrading from a trial licence to a paid licence, save/overwrite the issued licence file as above. After installing a new licence file, you will need to restart the background service with the following command: service letsencrypt-cpanel restart

Yum repository

Add the letsencrypt package repository:

Installation

Next, install the plugin through yum via

The repository will install the plugin to the system - this might take a minute.

Post-Installation

If there are no problems, you should be able to run a successful self-test immediately afterwards:

Centos Install Package

Testing the installation

Now that the installation is complete, you should be able to login to any cPanel server on that server, and see the “Let’s Encrypt™ SSL” icon on the home screen.

Centos Install Nginx

You should be able to immediately issue certificates, provided that the domain actually points to the server.

Related Posts

 cleardn.ajkernilphamari.co © 2021