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 to 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 was written using PHP programming language and 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 through the step by step installation EHCP (Easy Hosting Control Panel) on CentOS 6.
Step 1. First, Download required EHCP files.
wget -O ehcp.tgz www.ehcp.net/ehcp_latest.tgz
Step 2. Extract the ehcp source using following tar command.
tar -zxvf ehcp_latest.tgz
Step 3. Move into the install directory and run the install script.
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://yourdomain.com or http://server-ip. Enter the administrative credentials. The default password for 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.
Congratulation’s! You have successfully installed EHCP. Thanks for using this tutorial for installing EHCP (Easy Hosting Control Panel) on CentOS 6 system.