In this tutorial, we will show you how to install EHCP on Ubuntu 18.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.
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 and assumes you are running in the root account, if not you may need to add ‘sudo
‘ to the commands to get root privileges. I will show you the step-by-step installation of Easy Hosting Control Panel on a Ubuntu 18.04 (Bionic Beaver) server.
Prerequisites
- A server running one of the following operating systems: Ubuntu 18.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 18.04 LTS Bionic Beaver
Step 1. First, make sure that all your system packages are up-to-date by running the following apt-get
commands in the terminal.
sudo apt-get update sudo apt-get upgrade
Step 2. Installing EHCP on Ubuntu 18.04 LTS.
First, download the latest EHCP version from the official website with the following command:
wget http://ehcp.net/ehcp_1804.tgz
Extract the EHCP source using the following tar command:
tar -zxvf ehcp_1804.tgz
Change to EHCP directory, then run install.sh
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 Easy Hosting Control Panel.
EHCP will be available on HTTP port 80 by default. Open your favorite browser and navigate to http://yourdomain.com
or http://your-server-ip
. 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 Easy Hosting Control Panel in Ubuntu 18.04 LTS (Bionic Beaver) systems. For additional help or useful information, we recommend you check the official EHCP website.