Install EHCP webhosting cpanel on Ubuntu server 12.04/12.10/13.04/13.10/14.04

Photo of author

By rasho

EHCP (Easy Hosting Control Panel) is free and open source web hosting control panel for Ubuntu Based distro, designed for hosting multiple domains on a single machine. It aims to be easy to install and use, simple, and functional. It currently supports for DNSApache WebServerMySQL, FTP, and email configuration.

EHCP Features

  • Full php, full opensource, easily modifiable, customazible, ehcp templates
  • Unlimited “resellers, panel users, domains, ftp users, emails, mysqls”
  • Domains, subdomains, ftp, mysql, dns (automatic), email etc. management
  • password protected domains,
  • Email forwarding, autoreply, catch-all emails,
  • Web-stats (webalizer)
  • Web-ftp (net2ftp)
  • Easy Install Scripts (scripts easily downloaded and copied by means of server)
  • Disk quota control,
  • Custom http, custom dns, domain aliases, domain redirect,
  • SSL support
  • Different languages, templates support, a few lang/templates included,
  • Different Menus/pages for Server Admin, Reseller, domain admin, email user (4 level)
  • Server backup/restore (files+db)
  • Domain transfer to another ehcp user
  • Simple, light, fast, host hundreds of domains in it.

In this article we will help you to install and setup Easy Hosting Control Panel on Ubuntu 12.04/12.10/13.04/13.10.

Install EHCP (Easy Hosting Control Panel) on Ubuntu 12.04/12.10/13.04/13.10

First, login to your Ubuntu Server width ssh and download the latest EHCP source package using wget command.

# wget -O ehcp.tgz www.ehcp.net/ehcp_latest.tgz

Extract ehcp.tgz with following commands:

# tar -zxvf ehcp.tgz

Change to ehcp directory, then run install.sh script:

# cd ehcp
# ./install.sh
Install EHCP control panel on Ubuntu 12.04/12.10/13.04/13.10
Install EHCP control panel on Ubuntu 12.04/12.10/13.04/13.10

EHCP installation script install all needed packages including ApacheMySQLPHPPostfix.
It is highly, recommended you to set a MySQLroot‘ password for MySQL administration.

Set MySql root password
Set MySql root password

Now select the mail server which one is compatible to you. In my case I select “Internet Site”.

Postfix configuration
Postfix configuration

Enter your mail domain name and Click OK.

Set the system mail domain name
Set the system mail domain name

Select ‘Yes’ to create web based directories.

Configuring courier-base
Configuring courier-base

Create SSL certificate for POP and IMAP. Click on ‘Ok‘.

Configuring courier-ssl
Configuring courier-ssl

Screenshot from 2013-11-21 11:05:13

Please choose the web server that should be automatically configured to run phpMyAdmin.

Configuring phpmyadmin
Configuring phpmyadmin

Configure phpMyAdmin database.

Configuring phpmyadmin
Configuring phpmyadmin

Specify the phpmyadmin database administrative user password.

Configuring phpmyadmin
Configuring phpmyadmin

Now configure the roundcube-core.

configure roundcube database
configure roundcube database

Please select the database type that used by roundcube.

configure roundcube database
configure roundcube database

Finished installation

EHCP finish installation
EHCP finish installation

Now, navigate to the Web browser window and enter IP address of your server.

http://youripaddress/
OR
http://localhost

Enter ehcp login details, default admin username is ‘admin‘ and default admin password is ‘1234‘. If you’ve set new admin password during installation enter that password.

EhCP default page
EhCP default page
ehcp login
ehcp login
EHCP Dashboard
EHCP Dashboard

That is all

8 thoughts on “Install EHCP webhosting cpanel on Ubuntu server 12.04/12.10/13.04/13.10/14.04”

  1. I have two errors during the instalation, can’t create mysql connection and roundcube database.

    In Ubuntu 13.10 clean

    How can i solve this?

    Thanks.

    Reply
  2. dang ftp wont work on12.04 is there a fix for Response: libgcc_s.so.1 must be installed for pthread_cancel to work

    Reply
  3. Attempting to install on Ubuntu Server 14.04, clean, and getting the same error as Victor

    – ERROR 2002 (HY000): Can’t connect to local MySQL server through socket ‘/var/run/mysqld/mysqld.sock’

    I’ve tried both with and without mysql pre-installed.
    Any Suggestions?

    Reply

Leave a Comment