How to install Easy Host Control Panel on Ubuntu

How to install Easy Host Control Panel on Ubuntu

Easy Host Control Panel (ehcp) is an open source web hosting control panel application used to control and manage servers via web browser like CPanel. It also creates backups and subdomains and monitors bandwidth and disk space This tutorial explains the installation process of EHCP on Ubuntu.

Installation procedure

To start the installation process, first update your system using the below command.

root@ehcp:~# apt-get update -y
Get:1 http://security.ubuntu.com/ubuntu xenial-security InRelease [102 kB]
Hit:2 http://in.archive.ubuntu.com/ubuntu xenial InRelease
Hit:3 http://in.archive.ubuntu.com/ubuntu xenial-updates InRelease                 
Hit:4 http://in.archive.ubuntu.com/ubuntu xenial-backports InRelease              
Get:5 http://security.ubuntu.com/ubuntu xenial-security/main amd64 DEP-11 Metadata [54.2 kB]
Get:6 http://security.ubuntu.com/ubuntu xenial-security/main DEP-11 64x64 Icons [46.9 kB]
Get:7 http://security.ubuntu.com/ubuntu xenial-security/universe amd64 DEP-11 Metadata [32.2 kB]
Get:8 http://security.ubuntu.com/ubuntu xenial-security/universe DEP-11 64x64 Icons [37.0 kB]
Fetched 272 kB in 2s (120 kB/s)                                      
AppStream cache update completed, but some metadata was ignored due to errors.
Reading package lists... Done

Now download the package for ehcp and run the following command.

root@ehcp:~# wget http://ehcp.net/ehcp_yeni.tgz
--2017-04-03 17:09:59--  http://ehcp.net/ehcp_yeni.tgz
Resolving ehcp.net (ehcp.net)... 185.141.164.205
Connecting to ehcp.net (ehcp.net)|185.141.164.205|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 5130043 (4.9M) [application/octet-stream]
Saving to: ‘ ehcp_yeni.tgz’ 
ehcp_yeni.tgz                                 100%[===============================================================================================> ]   4.89M   127KB/s    in 57s    
2017-04-03 17:10:56 (88.3 KB/s) - ‘ ehcp_yeni.tgz’  saved [5130043/5130043]

Once the package is downloaded, extract it with tar command.

root@ehcp:~# ls
Desktop  Documents  Downloads  ehcp_yeni.tgz  examples.desktop  Music  Pictures  Public  Templates  Videos
root@ehcp:~# tar -zxvf ehcp_yeni.tgz
ehcp/
ehcp/etc/
ehcp/etc/ehcp/
ehcp/etc/ehcp/ehcp.conf
ehcp/etc/logrotate.d/
ehcp/etc/logrotate.d/ehcp
ehcp/etc/ldap.conf
ehcp/etc/postfix/
ehcp/etc/postfix/main.cf.sample
ehcp/etc/apache2_sslonly/
ehcp/etc/apache2_sslonly/fork/
ehcp/etc/apache2_sslonly/fork/webserver_subdomain_template
ehcp/etc/apache2_sslonly/fork/ports.conf
.
.
.
ehcp/etc/apache2_sslonly/fork/default
ehcp/etc/apache2_sslonly/fork/default-ssl
ehcp/etc/apache2_sslonly/fork/webserver_template_ipbase

After extracting the package, there will be a directory called “ ehcp” under your current directory. Navigate to that directory and run “ install.sh” script file.

root@ehcp:~# cd ehcp
root@ehcp:~/ehcp# ./install.sh

A series of questions regarding the installation process will appear, enter some details which it has been asked to you. After finishing the process, you will see the output like below.

ehcp install finished up to now.  we are continuing on simplifying the install process.
sory for any inconvenience. you can contact email/msn: info@ehcp.net
you may join us in developing this control panel.
You may visit http://www.ehcp.ne
You may support by donating cash, buying a pro license, doing php coding, html design, graphic design...
You may support by donating free dedicated or virtual servers for this project...
CURRENTLY WE NEED A DEDICATED SERVER WITH 8 CORE, 8GRAM, 500G hdd at least  (or, you may consider to buy a pro license or donate..)
ehcp : Finished all operations.. go to your panel at http://yourip/ now...

Now open the browser and call the ip address for your echp server and press enter.

The login page will require the username and password. Enter the required credentials.

The EHCP is running successfully and the you can now see the dashboard of EHCP. You can use it according to your own uses.

Wasn' t that an easy installation procedure? The EHCP also manages multiple websites and acts as a web interface to manage FTP accounts.

FAQ
Q
Installer script is not getting executed for Easy Host Control Panel?
A
For installing Easy Host Control Panel provide executable permission for ./install.sh
Q
Easy Host Control Panel
A
Easy Host Control Panel (ehcp) is an open source web hosting control panel application used to control and manage servers via the web browser like CPanel. It also creates backups and subdomains and monitors bandwidth and disk space.
Q
Is this Easy Host Control Panel is like cPanel?
A
Easy Host Control Panel is almost like cPanel but does not provide all the options like cPanel.
Q
Is cPanel can be installed in Ubuntu?
A
No in Linux servers it can be installed in Redhat/Centos.
Q
What was Easy Host Control Panel's current stable version?
A
Do check this link for Easy Host Control Panel's updates "http://ehcp.net/"