In this tutorial, we will show you how to install EHCP on Ubuntu 14.04 LTS. 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 Ubuntu 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 Ubuntu 14.04.
Prerequisites
- A server running one of the following operating systems: Ubuntu 14.04, and any other Debian-based distribution.
- 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).
- A
non-root sudo user
or access to theroot user
. We recommend acting as anon-root sudo user
, however, as you can harm your system if you’re not careful when acting as the root.
Install EHCP on Ubuntu 14.04
Step 1. First, run this command for downloading the EHCP installation script from the official page:
wget http://www.ehcp.net/ehcp_latest.tgz
Step 2. Extract the EHCP source using the following tar command.
tar -zxvf ehcp_latest.tgz
Step 3. Change to EHCP directory, then run install.sh
the 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-domain.com
or http://server-ip-address
. Enter the administrative credentials. Default admin username is ‘admin‘ and the default admin password 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 Ubuntu 14.04 system. For additional help or useful information, we recommend you check the official EHCP website.