In this tutorial, we will show you how to install EHCP on CentOS 6. For those of you who didn’t know, EHCP (Easy Hosting Control Panel) is an open-source and powerful hosting control panel that lets you host any websites, create email accounts, create additional (sub) domains and create FTP accounts, and many more. Ehcp is the only first hosting control panel that was written using PHP programming language and is available for free. The install script handles the installation and configuration of the required services. I recommend starting with a clean CentOS system to avoid conflicts.
This article assumes you have at least basic knowledge of Linux, know how to use the shell, and most importantly, you host your site on your own VPS. The installation is quite simple. I will show you the step-by-step installation of EHCP (Easy Hosting Control Panel) on CentOS 6.
- A server running one of the following operating systems: CentOS 6.
- It’s recommended that you use a fresh OS install to prevent any potential issues.
- SSH access to the server (or just open Terminal if you’re on a desktop).
non-root sudo useror access to the
root user. We recommend acting as a
non-root sudo user, however, as you can harm your system if you’re not careful when acting as the root.
Install EHCP on CentOS 6
Step 1. First, Download the required EHCP files.
wget -O ehcp.tgz www.ehcp.net/ehcp_latest.tgz
Step 2. Extract the EHCP source using the following tar command.
tar -zxvf ehcp_latest.tgz
Step 3. Move into the install directory and run the install script.
cd ehcp ./install.sh
Read the instructions carefully, your server will send statistical information to the EHCP developers. If you choose to move on, the install script will install all required packages including Apache, MySql, and Postfix. You will need to provide some information to configure the services and set the admin passwords.
Step 4. Accessing EHCP.
EHCP will be available on HTTP port 80 by default. Open your favorite browser and navigate to
http://your-server-ip. Enter the administrative credentials. The default password for the admin account is 1234. If you had entered a new password during the installation please provide the same. If you are using a firewall, please open port 80 to enable access to the control panel.
Congratulations! You have successfully installed EHCP. Thanks for using this tutorial for installing EHCP (Easy Hosting Control Panel) on CentOS 6 system. For additional help or useful information, we recommend you check the official EHCP website.