Search for:
Install EHCP (Easy Hosting Control Panel) in RHEL/CentOS/Fedora and Ubuntu/Debian/Linux Mint

Install EHCP (Easy Hosting Control Panel) in RHEL/CentOS/Fedora and Ubuntu/Debian/Linux Mint &-8211; this Article or News was published on this date:2019-05-28 19:51:31 kindly share it with friends if you find it helpful

EHCP (Easy Hosting Control Panel) is an open source and very effective Hosting Control Panel that offers you to host any websites, create ftp accounts, email accounts, sub domains and so on. Ehcp is the only first hosting control panel was written using PHP programming language and available for free.

It offers all major hosting control panel features such FTP Accounts, MySQL Databases, Panel Users, Resellers, MailBox with Squirrelmail and Round Cube etc. It is the only first control panel that provides built in support for Nginx and PHP-FPM with completely throw out Apache and gives better performance for low end servers or VPS.

EHCP Features

  1. Complete php, free opensource, easily customizable and more free templaes.
  2. Unlimited resllers, user accounts, ftp accounts, email accounts, mysql and domains.
  3. Management of DNS, domains, subdomains, ftp, mysql, email etc.
  4. Domains password protected, Email forwarding, autoreply etc.
  5. Website analytics with webalizer and ftp with net2ftp.
  6. One click third party script install.
  7. User Disk quota control, SSL suport, custom http redirects, domain aliases, domain redirect.
  8. Different langauge support and template supports with few languages.
  9. Server backup and restore including files and databases.
  10. More details here.

This article will help you to install and setup Easy Hosting Control Panel on RHEL, CentOS, Fedora, Ubuntu, Linux Mint and Debian systems. Please note ehcp can be installed on a fresh installation of Linux. The ehcp installation is quite simple and easy, a new user won’t face any issues while installing it at the first time.

How to Install EHCP (Easy Hosting Control Panel)?

First, login as root user using ssh and download the latest EHCP (current available version is 0.32) source tarball package using wget command.

- wget

Next, extract the ehcp source tarball using following tar command.

- tar -zxvf ehcp_latest.tgz

Change to ehcp directory, then execute script.

- cd ehcp
- ./

Go through the installation setup and read the instructions carefully. The install script will install all needed packages including Apache, MySQL, PHP, Postfix and so on. During installation it will ask you to enter some information to configure services and set ehcp admin passwords. The installation setup takes up-to 50-60mins, depending upon the internet speed.

It is highly, recommended you to set a MySQL ‘root‘ password for MySQL administration.

ehcp mysql root passwordehcp mysql root password

Repeat MySQL password for ‘root‘ user.

ehcp mysql root passwordehcp-2

Please select the best mail server configuration that suits your needs. In my case, I’ve selected ‘Internet site‘, mails are sent and receive using SMTP service.

ehcp mysql root passwordehcp-3

Set the system mail domain name.

ehcp mysql root passwordehcp-4

Create directories for web-based mail administration. Click on ‘Yes‘.

ehcp mysql root passwordehcp-5

Create SSL certificate for POP and IMAP. Click on ‘Ok‘.

ehcp mysql root passwordehcp-6

Please select your web server that automatically configured to run phpMyAdmin.

ehcp mysql root passwordehcp-7

Configure phpMyAdmin database.

ehcp mysql root passwordehcp-8

Set MySQL ‘root‘ password for phpMyAdmin.

ehcp mysql root passwordehcp-9

Please give a phpMyAdmin password to register with database server.

ehcp mysql root passwordehcp-10

Password confirmation.

ehcp mysql root passwordehcp-11

Next, configure roundcube database.

ehcp mysql root passwordehcp-12

Please select the database type that used by roundcube. In my scenario, I’ve selected MySQL database for roundcube.

ehcp mysql root passwordehcp-13

Please provide MySQL password for roundcube.

ehcp mysql root passwordehcp-14

That’s it, installation finished.

ehcp mysql root passwordehcp-17

Now navigate to the Web browser window and enter IP address of your server.




Click on the link that says ‘Click here for the control panel on your server‘.

ehcp mysql root passwordehcp-18

Enter ehcp login details, default admin username is ‘admin‘ and default admin password is ‘1234‘. If you’ve set new admin password during installation enter that password.

ehcp mysql root passwordehcp-19

Ehcp Control Panel Dashboard.

ehcp mysql root passwordehcp-20

Reference Link

Official EHCP Website

Install Ajenti (A Web Based Control Panel) for Managing Linux Server

Install Ajenti (A Web Based Control Panel) for Managing Linux Server &-8211; this Article or News was published on this date:2019-05-28 19:48:44 kindly share it with friends if you find it helpful

Ajenti is an open source web based system management control panel for managing remote system administrating tasks from the web browser much similar to Webmin module. Ajenti is a much powerful and lightweight tool, that provides fast and responsive web interface for managing small server set-ups and also best suitable for VPS and Dedicated servers. It has built with many pre-made plugins for configuring and monitoring server software’s and services such as Apache, Cron, File System, Firewall, MySQL, Nginx, Munin, Samba, FTP, Squid and many other tools like File Manager, Code Editor for developers and Terminal access.

Install Ajenti Control PanelInstall Ajenti Control Panel

Install Ajenti Control Panel

In this article we’re going to show you how we going to install Ajenti Server Manager tool on RHEL 6.4/6.3/6.2/6.1/6/5.8, CentOS 6.4/6.3/6.2/6.1/6/5.8, Fedora 19/18/17/16/15/14/13/12, Ubuntu 13.04/12.10/12.04/11.10, Linux Mint 15/14/13/12 and Debian Sid, Debian Wheezy and Debian Squeeze systems using own ajenti repository.

Installing Ajenti On RHEL/CentOS and Fedora

Ajenti is a third party tool and requires EPEL repositories to be enabled on our system to install dependency packages. Use the given link to install it.

  1. Enable EPEL Repositories

Once enabled, now we can move further to download and install Ajenti’s official repository using “wget” command. If you don’t have “wget” package, install using “yum install wget“.

- wget
- rpm -i ajenti-repo-1.0-1.noarch.rpm

Install the package using “YUM” package manager tool.

- yum install ajenti

Once installation finishes, open “8000” port on firewall/router for remote access of web interface. Open the following file with VI editor.

- vi /etc/sysconfig/iptables

Append the following two lines at the bottom of the file, save and close it.

-A INPUT -p udp -m state --state NEW --dport 8000 -j ACCEPT 
-A INPUT -p tcp -m state --state NEW --dport 8000 -j ACCEPT

Next, restart iptables service.

- service iptables restart

Installing Ajenti On Ubuntu/Debian and Linux Mint

As I said above, Ajenti is not included in the default repository, it needs to be added. So, let’s download and add the ajenti PPA repository to “/etc/apt/sources“.list.

- wget -O- | apt-key add -
- echo "deb main main" >> /etc/apt/sources.list

Once PPA added, update the system and then install the package.

- apt-get update && apt-get install ajenti

To verify, open a web browser and type the IP of the server where we’ve installed Ajenti and enter default username “admin”  or “root” and password is “admin“.

Login Screen
Install Ajenti Control PanelAjenti Login Screen

Ajenti Login Screen

Install Ajenti Control PanelAjenti Dashboard


Install Ajenti Control PanelAjenti Plugins

Ajenti Plugins

Install Ajenti Control PanelAjenti File System


Install Ajenti Control PanelAjenti Firewall


System Packages
Install Ajenti Control PanelAjenti Package Manager


Running Processes
Install Ajenti Control PanelAjenti Processes

Linux Running Processes

File Manager
Install Ajenti Control PanelAjenti File Manager

Linux File Manager

Running Services
Install Ajenti Control PanelAjenti Services

Linux Services

Reference Link

Ajenti Homepage

Install Kloxo Web Hosting Control Panel in RHEL/CentOS 5.x

Install Kloxo Web Hosting Control Panel in RHEL/CentOS 5.x &-8211; this Article or News was published on this date:2019-05-28 19:46:26 kindly share it with friends if you find it helpful

Kloxo (formerly known as Lxadmin) is one of the advanced open source and free web hosting control panel for RHEL / CentOS 5.x (32-Bit) distribution, currently not supported for 6.x. This lightweight web panel included all the leading control panel features such as FTP, PHP, MYSQL, Perl, CGI, Apache Spam Filter and much more.

It has Billing, Messaging and Ticketing system that allows you to better interactions with your customers and keep good relationship with them. It also help end user to manage and run a combination of Apache with BIND and switch the interface between these programs with any data loss. Let’s see some of the main features of Kloxo panel.

Kloxo Features

  1. RHEL / CentOS 5.x 32Bit Support
  2. Billing support integrated with software’s such as AWBS, WHMCS and HostBill
  3. Support for Apache, Lighttpd, Bind, Djbdns and FTP
  4. Easily Backup/Restore entire Hosting anywhere
  5. Full Control of DNS, Webmail, Spam filter and more
  6. Bandwidth Stasticits Report and Website Analytics with Awstats
  7. Add and Remove Domain/Sub domains
  8. Manage MySQL databases on multiple servers with PhpMyAdmin

For a complete set of features visit at Kloxo homepage.

Kloxo Prerequisites

  1. A Running dedicated CentOS 5.x server. Currently CentOS 6.x is not supported.
  2. A Minimum 256MB of RAM to run Yum
  3. A Minimum 2GB of free disk space required to install Kloxo
  4. Make sure /tmp partition has enough disk space. Kloxo uses /tmp to build and store files temporarily. If there is not enough space installation will fail.

Installation of Kloxo Web Control Panel

Step 1: Disabling SELinux

Disable SELinux in “/etc/sysconfig/selinux” file. Open this file with “VI” editor.

- vi /etc/sysconfig/selinux

And change the line to “selinux=disabled“. Save and close file.


Reboot the server to reflect new changes.

- reboot

Warning : If SELinux not correctly disabled, your Kloxo installation useless and you may required to reload OS to properly re-install it.

Step 2: Installing MySQL

Before getting started, make sure you’ve set your hostname properly and also you need to install MySQL. To do so, issue the following commands.

Note: If you’ve already installed MySQL and set a root password, you can skip this step and move to step -3.

- yum update
- yum install mysql-server

Start the MySQL service.

- /etc/init.d/mysqld start

Now, run the MySQL secure installation script to Secure your MySQL installation. The script will ask you to set MySQL root password and present with few questions at the prompts.

- /usr/bin/mysql_secure_installation

Step 3: Installing Kloxo

Download the latest Kloxo installer script with “wget” command, set execute permission and run the script, make sure to replace “mypassword” with your MySQL root password. During installation the script will prompt few questions and sometimes ask you to enter root password.

- yum install -y wget
- wget
- chmod +x
- sh ./ --db-rootpassword=mypassword
Sample Output
Installing as "root"          OK 
Operating System supported    OK 
SELinux disabled              OK 
Yum installed                 OK 

 Ready to begin Kloxo () install. 

	Note some file downloads may not show a progress bar so please, do not interrupt the process.
	When it's finished, you will be presented with a welcome message and further instructions.

Press any key to continue ...

Go through the installation instructions on the screen in order to finish the installation. Once installation completes, you can navigate to your new Kloxo admin at:


Please be aware that port 7778 doesn’t use SSL and traffic such as passwords and data will be sent unencrypted (plain).

Now Login into Kloxo panel by providing username as “admin” and password as “admin“. At the first login, it force you to change your password.

Kloxo Admin PanelKloxo Admin Panel

Kloxo Admin Panel

Trouble Login

If you cannot login to Kloxo Control Panel, make sure your Kloxo service is running and your firewall is not blocking ports “7777” and “7778“. You can disable your firewall by stopping it.

- /etc/init.d/iptables stop

If you don’t want to stop it, you can open those particular ports on your firewall. To do so, run the following iptables rules to open it.

- iptables -A INPUT -p tcp --dport 7777 -j ACCEPT
- iptables -A INPUT -p tcp --dport 7778 -j ACCEPT

Restart iptables service.

- service iptables restart

Reference links

For additional information, visit at Kloxo homepage.

21 Open Source/Commercial Control Panels to Manage Linux Servers

21 Open Source/Commercial Control Panels to Manage Linux Servers &-8211; this Article or News was published on this date:2019-05-28 19:42:56 kindly share it with friends if you find it helpful

As an owner of the website it is very difficult to manage multiple websites without a control panel. However to suit the needs, we need a custom hosting plan.

A Web hosting control panel is a totally web-based interface which has capability to manage your web services under a single location. These web based control panels can manage email accounts, FTP accounts, file management functions, creation of subdomains, disk space monitoring, bandwidth monitoring, create backups and many more.

Linux Control PanelsLinux Control Panels

The web hosting control panels provides a elegant solution to Linux newbies to host multiple websites on VPS (Virtual Private Servers) and Dedicated Servers. This kind of hosting panel offers easy to use management software’s to simplifies the process of handling servers without the need of expert knowledge of sever administration.

The most famous and powerful control panels are cPanel and Plesk. These two popular panels are paid software’s and hosting provider will charge a monthly fee for installing it on the server. Fortunately, there are few more alternate open source control panels available to download at no cost with similar features.

Don’t Miss: 12 Control Panels For Virtual Machines (VM’s) Management

Now, let’s move further to explore the 21 most preferred open source/paid control panels one-by-one. For your reference I’ve included the screen grabs along with relevant links to each portal.

1. cPanel

cPanel is a Unix based hosting control panel. The Graphical interface helps you to manage your Website and web hosting accounts very easily and quickly. The automation tools are designed to simplify the process of website.

cPanel give you a complete control over the various aspects of website and administration through a standard web browser and also streamlines the process such as Creating database, setting up email account and auto responder and managing website files.

Linux Control PanelscPanel


cPanel Homepage

2. Plesk

Plesk is a hosting control panel similar to cPanel which allows you to manage your hosting account through web based interface. You can use this panel with VPS, Shared and Dedicated server. Plesk also enables you to control thousands of virtual host under a single machine. The control panel allows you to automate many tasks which in turn reduce the cost and resources. It also increases the profitability, efficiency and customer satisfaction.

  1. Create FTP account for users.
  2. Manage and create email account and database like MySQL and PsotgreSQL.
  3. Add domains and subdomains.
  4. Restore and take back up of files.
  5. Manage DNS and other resources.
Linux Control PanelsPlesk Control Panel

Plesk Control Panel

Plesk Homepage

3. ISPConfig

ISPconfig is an open source multilingual control panel which enables you to manage multiple servers under one control panel. ISPConfig is licensed under the BSD license. This open source control panel is also capable of managing FTP, SQL , BIND DNS, Database and Virtual servers.

  1. Manage more than one server from one control panel.
  2. Easy to use web interface for administrator, reseller and client login.
  3. Manage web servers like Apache and Nginx.
  4. Configuration mirroring and clusters.
  5. Manage email and FTP servers.
  6. And many more
Linux Control PanelsISPConfig


ISPConfig Homepage

4. Ajenti

Ajenti, the only open source feature rich, powerful and lightweight control panel that provides responsive web interface for managing small server set-ups and also best suitable for Dedicated and VPS hosting. It comes with many built-in pre-made plugins for configuring and managing server software’s and services such as Apache, Nginx, MySQL, FTP, Firewall, File System, Cron, Munin, Samba, Squid and many other programs like File Manager, Code Editor for developers and Terminal access.

Linux Control PanelsAjenti Control Panel

Ajenti Control Panel

  1. Ajenti Homepage
  2. Ajenti Installation

5. Kloxo

Kloxo is one of the advanced and free web control panel for Redhat and Cent OS distribution. It is featured with leading control panels like FTP, spam filter, PHP, Perl, CGI, and much more. Features like messaging, back up restore and ticketing system modules are inbuilt in kloxo.
It helps end user to manage/run a combination of Apache with BIND and switch the interface between these programs without losing your data.

Linux Control PanelsKloxo Panel

Kloxo Panel

  1. Kloxo Homepage
  2. Kloxo Installation

6. OpenPanel

OpenPanel is an open source web based control panel licensed under GNU General Public. It has an attractive and easy to use interface. It can manage Apache, AWStats, Bind DNS, PureFTPD, Postfix, MySQL databases, IPTables firewall and Courier-IMAP e-mails and more.

Linux Control PanelsOpenPanel


OpenPanel Homepage

7. ZPanel

Zpanel is a free to download and easy to use enterprise class web hosting control panel for Linux, UNIX, MacOS and Microsoft Windows.

Zpanel is written in purely PHP language and runs on Apache, PHP and MySQL. It comes with core set of essential features to run your web hosting service. The core features includes Apache Web Server, hMailServer, FileZilla Server, MySQL, PHP, Webalizer, RoundCube, phpMyAdmin, phpSysInfo, FTP Jailing and many more.

Linux Control PanelsZPanel


ZPanel Homepage


EHCP (Easy Hosting Control Panel) is a free web hosting software for maintaining a web based hosting server. With the use of EHCP you can manage MySQL databases, email accounts, domain accounts, FTP accounts and much more.

It is the only control panel that has built-in support for Nginx and PHP-FPM with completely throw out Apache and provides good performance for low end servers.

Linux Control PanelsEHCP Panel

EHCP Panel

  1. EHCP Homepage
  2. EHCP Installation

9. ispCP

ispCp is a free/open source project founded to built a multi server control and admin panel without any limitations. It is Linux/Unix based web hosting server which is featured with all functions you might expect from a professional hosting tool. ispCP allows you to manage all the server like domains, email accounts, FTP accounts, database on its own.

Linux Control PanelsispCP Panel

ispCP Panel

ispCP Homepage

10. VHCS

VHCS is also an open source web based interface control panel for Linux especially designed for IT professionals and hosting service providers. VHCS is written in PHP, Perl and C, which gives you full control over resellers, end user. Within a minute you can configure your servers, create user with domain. You can also manage emails, FTP, Apache vhost, statistic and much more.

Linux Control PanelsVHCS Control Panel

VHCS Control Panel

VHCS Homepage

11. RavenCore

Ravencore is a simple hosting panel for Linux which aims to get rigid from expensive commercial software’s like Cpanel and Plesk. The GUI is coded in PHP and the backend in Perl and Bash. It also includes projects like MySQL, Apache, phpMyAdmin, Postfix and Awstats.

Linux Control PanelsRavenCore Panel

RavenCore Panel

RavenCore Homepage

12. Virtualmin

Virtulamin is one of the most popular web based hosting control panel for Linux and Unix. The system is especially designed to manage Apache virtual hosts, MySQL databases, BIND DNS Domains, Mail Boxes with Sendmail or Postfix and the entire Server from one friendly interface.

Linux Control PanelsVirtualmin


Virtualmin Homepage

13. WebMin

WebMin a super functional and powerful web hosting control panel. The software tool is designed to manage Unix and Linux platform in a simple way. WebMin is capable enough to manage various components of web based environment from setting a webserver to maintaining FTP and email server.

  1. Configure and create virtual server on Apache.
  2. Manage, install or delete a software packages (RPM format).
  3. For security you can set up firewall.
  4. Modify DNS settings, IP address, routing configuration.
  5. Manage database, tables and fields on MySQL.
Linux Control PanelsWebmin


  1. Webmin Homepage
  2. WebMin Installation

14. DTC

Domain Technologie Control (DTC) is a GPL web hosting control panel especially for admin and accounting hosting services. With the help of this web GUI control panel DTC can delegate task like creating emails, FTP accounts, subdomains, database and many more. It manages a MySQL database which contains all hosting information.

Linux Control PanelsDTC Control Panel

DTC Control Panel

DTC Homepage

15. DirectAdmin

DirectAdmin is an open source web hosting control panel that provides graphical admin interface to manage unlimited websites, emails accounts etc. the tasks are automated means DirectAdmin can manage your task automatically to set up and manage websites easily and quickly.

  1. Manage and create email account and manage database.
  2. Create FTP account for users.
  3. Manage frontpage extension, DNS and view statistics.
  4. Built in File Manager to manage uploads
  5. Set up error pages and directory password protection.
Linux Control PanelsDirectAdmin


DirectAdmin Homepage

16. InterWorx

InterWorx is a Linux server management system and web hosting control panel. InterWorx has a set of tolls that provides admin user to command their own servers and the end users can over view the operation of their website. This Control panel is basically divided into two operating modes.

  1. Nodeworx: Nodeworx is an administrator mode that helps managing server.
  2. SiteWorx: SiteWorx is a website owner view that helps end users to manage their hosting account and features.
Nodeworx Screenshot
Linux Control PanelsNodeWorx Panel

NodeWorx Panel

Siteworx Screenshot
Linux Control PanelsSiteworx Panel

Siteworx Panel

InterWorx Homepage

17. Froxlor

Froxlor is an open source lightweight server management control panel that can be used to manage personal VPS, Dedicated or shared hosting platforms. It’s an alternative to very famous software called cPanel or Webmin, which offers same features to make server administrations easy.

Linux Control PanelsFroxlor Panel

Froxlor Panel

Froxlor Homepage

18. BlueOnyx

BlueOnyx is an open source Linux distribution based on CentOS 5.8, CentOS 6.3 and/or Scientific Linux 6.3. It aims to deliver a turnkey server appliance for webhosting.

This web based hosting comes with GUI interface that allows you to manage your emails FTP and webhosting clients. BlueOnyx is released under Sun modified BSD license.

Linux Control PanelsBlueOnyx


BlueOnyx Homepage

19. ISPsystem

ISPmanager is a commercial web hosting control panel with perfect balance of functionality & price. It comes in two editions: Lite, for managing own VPS and Dedicated servers, and Business, for providing shared and reseller hosting.

ISPmanager has all features, commonly found in premium panels. With its help you can manage websites; create domains, users, databases & many more.

This panel already has 18 years of history and is currently one of the most popular control panels in Russia/CIS countries, and is rapidly gaining wide-spread popularity in many others.

Linux Control PanelsISPmanager Panel

ISPmanager Panel

ISPmanager Homepage

20. Vesta CP

Vesta CP is another open source web control panel that comes with bunch of features to manage and configure your Linux systems from a simple and clear interface.

VestaCP is currently supports RHEL/CentOS 7/6/5, Ubuntu 15.10-12.04 and Debian 8//7/6.

Linux Control PanelsVestaCP Control Panel

VestaCP Control Panel

VestaCP Homepage

21. aaPanel

aaPanel is a simple, but most powerful control panel for managing web server through a web-based GUI (Graphical User Interface). It offers the one-click installation of LNMP/LAMP developing environment and software on Linux systems. Its main objective is helping system administrators to save the time of deploying and focus on own projects.

Linux Control PanelsaaPanel Control Panel

aaPanel Control Panel

That’s it for now, these are the best 20 Open Source/Commercial control panels, which I’ve gathered from the web according to their popularity. From the list you can choose the best, that suits your requirements and also do tell us which control panel you’re using to manage your Linux Servers and also tell us if you know any other tool that is not listed in this list via comment section.

How to Install cPanel & WHM in CentOS 6

How to Install cPanel & WHM in CentOS 6 &-8211; this Article or News was published on this date:2019-05-28 19:31:12 kindly share it with friends if you find it helpful

cPanel is one of the most popular commercial control panel for Linux web hosting, I have been working with cPanel for last 3+ years to manage all Shared, Reseller and business hosting customers.

It comes with cPanel and Web Host Manager, which makes web hosting easier for you. WHM provides you root level access to your server whereas cPanel provides user level access interface to manage their own web hosting account on the server.

Features of cPanel

cPanel control panel is very versatile control panel for managing your hosting servers, It has lots of features which make Web hosting easier for you. Some of them are listed below:

  • Powerful GUI controls on your server with WHM.
  • Can perform tedious tasks like Backups, Migrations and restorations in a very easy and smooth manner.
  • Excellent DNS and mail server management for main server and as well as client account.
  • Can easily switch/enable/disable services for server.
  • Can configure SSL/TLS for all server services and client domains.
  • Easy integration with Phpmyadmin to provide a web based interface to manage your MySQL databases.
  • Feel free to Rebrand it.
  • Can be easily integrated with WHMCS to automate billing management.

Here In this article, We’ll be covering cPanel & WHM installation on CentOS/RHEL 6.5 and share some more useful information which will help you to manage cPanel & WHM.

Installation Prerequisites

  1. A fresh and minimal installation of CentOS 6.5 server.
  2. A minimum of 1 GB.
  3. A Minimum of 20GB free disk space required for cPanel installation.
  4. A cPanel license.

Installation of cPanel in CentOS and RHEL 6

First insure that OS version on which your Linux box is running, to do so, please use following command.

- cat /etc/redhat-release

CentOS release 6.4 (Final)

If you don’t have the latest version, please update your OS to its latest version, In CentOS and RHEL, we can simply do it with yum package installer.

- yum update

Once updates completes, and then check the latest OS version with same above command.

- cat /etc/redhat-release

CentOS release 6.5 (Final)

Next, ensure that your system has a standard hostname, otherwise set it as follows.

- hostname cpanel.sfnews.lan

Once you’ve ensured the OS version and hostname, you don’t have to install any other dependency packagees, cPanel auto installer script does all for you. We can download cPanel installer file under /home directory.

- cd /home && curl -o latest -L && sh latest

This above command changes your session to the home directory, downloads the most recent version of cPanel & WHM, and runs the installation script.

Important: I strongly recommended to run cPanel auto installer script in screen mode if you are doing it with SSH because it takes 30-40 minutes to complete the installation depending on your server resources and bandwidth speed.

Sample Output
Verifying archive integrity... All good.
Uncompressing cPanel & WHM Installer.....
        ____                  _
    ___|  _  __ _ _ __   ___| |
   / __| |_) / _` | '_  / _  |
  | (__|  __/ (_| | | | |  __/ |
   ___|_|   __,_|_| |_|___|_|
  Installer Version v00061 r019cb5809ce1f2644bbf195d18f15f513a4f5263

Beginning main installation.
2017-03-04 04:52:33  720 ( INFO): cPanel & WHM installation started at: Sat Mar  4 04:52:33 2017!
2017-03-04 04:52:33  721 ( INFO): This installation will require 20-50 minutes, depending on your hardware.
2017-03-04 04:52:33  722 ( INFO): Now is the time to go get another cup of coffee/jolt.
2017-03-04 04:52:33  723 ( INFO): The install will log to the /var/log/cpanel-install.log file.
2017-03-04 04:52:33  724 ( INFO): 
2017-03-04 04:52:33  725 ( INFO): Beginning Installation v3...
2017-03-04 04:52:33  428 ( INFO): CentOS 6 (Linux) detected!
2017-03-04 04:52:33  444 ( INFO): Checking RAM now...
2017-03-04 04:52:33  233 ( WARN): 
2017-03-04 04:52:33  233 ( WARN): To take full advantage of all of cPanel & WHM's features,
2017-03-04 04:52:33  233 ( WARN): such as multiple SSL certificates on a single IPv4 Address
2017-03-04 04:52:33  233 ( WARN): and significantly improved performance and startup times,
2017-03-04 04:52:33  233 ( WARN): we highly recommend that you use CentOS version 7.
2017-03-04 04:52:33  233 ( WARN): 
2017-03-04 04:52:33  233 ( WARN): Installation will begin in 5 seconds.

Now, you need to wait for the cPanel installer script to complete its installation.

What Auto Installer Script Does for You

cPanel heavily modifies your operating system and that is the reason that no cPanel Uninstaller available on the web so far, you need to reformat your server to remove cPanel completely from your server.

  1. It checks for various packages to ensure that there will be no conflicts and it finds any package conflict, it uninstalls previous packages with yum and that’s why its recommended to install cPanel on a Fresh OS.
  2. Downloads language and base files for installation.
  3. Installs various Perl modules through CPAN and other required packages with yum.
  4. Downloads and compiles PHP and Apache with various associated modules.

Once that script completes its installation, it will shows up that cPanel installation is complete. You may be asked to reboot the server after installation.

After that you need to complete the installation wizard from its web based interface and you can access WHM with the following URL.




cPanel will open up its web interface like similar to below.

cPanel WHM LogincPanel WHM Login

cPanel WHM Login

Please login with user “root” and your password. There are some more clicks remaining to complete the cPanel installation. Agree End User License Agreement by clicking “I Agree?/Go to Step 2” button:

cPanel WHM LogincPanel WHM Agreement

cPanel WHM Agreement

Please do provide the working email address and contact SMS address in the column of “Server Contact Email Address” and “Server contact SMS address” respectively because your cPanel sends all important alerts, notification to this EMail-id (Recommended). You can fill the rest details as well, if you have one.

cPanel WHM LogincPanel WHM Networking Setup

cPanel WHM Networking Setup

Please provide a valid FQDN hostname and Resolver entries for your server in this Networking section, you can use Google resolvers in this section if you don’t have your ISP’s resolvers. Please see the image below.

cPanel WHM LogincPanel WHM Hostname Setup

cPanel WHM Hostname Setup

If you have more than one IP attached with your NIC card and you want to set up a specific IP for your Server’s main IP, you can do that from here, to do so please choose the IP from the drop down and click on “Go to Setup 4”.

cPanel WHM LogincPanel WHM IP Address Setup

cPanel WHM IP Address Setup

In the 4th setup wizard, you can select DNS server which you want to use. You can choose one of them according to their Advantages, disadvantages and your server resources. Please read the comparison carefully and select the DNS server. Please see the image below.

cPanel WHM LogincPanel WHM Setup Name Servers

cPanel WHM Setup Name Servers

In the same step, please write down Name Servers you want to use in format of ns1/ Also, Add an A entry for your hostname and nameserver by selecting the check box, please see the image below.

cPanel WHM LogincPanel WHM Add Name Servers

cPanel WHM Add Name Servers

You can select and set up different services like FTP, Mail and Cphulk in the Step 5 of this web based wizard, please see the snapshots and description below.

You can select FTP server of your choice from this wizard, which you want to use for your server depending on their advantages, disadvantages and depending upon your ease and requirements.

cPanel WHM LogincPanel WHM FTP Setup

cPanel WHM FTP Setup

Cphulk brute force protection detects and block false password attacks activities and block their IP for your server. You can enable/disable and configure it from this installation wizard. Please see the snapshot below.

cPanel WHM LogincPanel WHM Brute Force Protection

cPanel WHM Brute Force Protection

Last Step 6, allows you to enable quotas which helps you to track down the disk space usages.

cPanel WHM LogincPanel WHM System Quotas

cPanel WHM System Quotas

Please select “Use file system quotas” and click on “Finish setup wizard” to complete the Installation process. Once you are done with Installation, WHM’s home page will Appear like below..

cPanel WHM LogincPanel WHM Dashboard

cPanel WHM Dashboard

You can see that Home page of WHM is displaying all Control panel option and sidebar with search facility which allows you to search options by just typing their names.

Sometimes, cPanel installer script is not able to update the licence because of firewall or resolvers entries and you’ll see trial warning in the page. You can do it manually with following command.

[email protected] [~]- /usr/local/cpanel/cpkeyclt

As I told you above that Cpanel is for user level access and WHM is for root level access, you need to create an account with option available in WHM. Here I have created an account with the username “sfnews” to show you the view of cPanel for users. Please see the image below.

cPanel WHM LogincPanel Preferences

cPanel Preferences

Other Useful thing to know before you start working with Cpanel and WHM.

CPanel Backend Files

  1. Cpanel directory : /usr/local/cpanel
  2. Third Party tools : /usr/local/cpanel/3rdparty/
  3. Cpanel addons directory : /usr/local/cpanel/addons/
  4. Base files like Phpmyadmin, skins : /usr/local/cpanel/base/
  5. cPanel binaries : /usr/local/cpanel/bin/
  6. CGI files : /usr/local/cpanel/cgi-sys/
  7. Cpanel access & error log files : /usr/local/cpanel/logs/
  8. Whm related files : /usr/local/cpanel/whostmgr/

Important conf files

  1. Apache configuration file: /etc/httpd/conf/httpd.conf
  2. Exim mail server conf file:/etc/exim.conf
  3. Named conf file : /etc/named.conf
  4. ProFTP and Pureftpd conf file :/etc/proftpd.conf and /etc/pure-ftpd.conf
  5. Cpanel user file: /var/cpanel/users/username
  6. Cpanel configuration file (Tweak settings) : /var/cpanel/cpanel.config
  7. Networking configuration file: /etc/sysconfig/network
  8. Addons, parked and subdomain information: /etc/userdomains
  9. Cpanel update config file: /etc/cpupdate.conf
  10. Clamav conf file: /etc/clamav.conf
  11. Mysql configuration file: /etc/my.cnf
  12. PHP ini conf file : /usr/local/lib/php.ini

Reference Links

cPanel/WHM Homepage

For now that’s all with Cpanel installation, there are so many features in Cpanel and WHM which help you to setup web hosting environment. If you face any problem with setting up Cpanel in your Linux server or need any other assistance like backups, restorations, migrations etc, you can simply contact us.

Till then, Stay connected with for more exciting and interesting tutorials in future. Do leave your valuable comments and suggestions below in our comment section.