Control panelsDebianUbuntu

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

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

Extract ehcp.tgz with following commands:

# tar -zxvf ehcp.tgz

Change to ehcp directory, then run script:

# cd ehcp
# ./
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

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

Postfix configuration

Enter your mail domain name and Click OK.

Set the system mail domain name

Select ‘Yes’ to create web based directories.

Configuring courier-base

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

Configuring courier-ssl

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

Configuring phpmyadmin

Configure phpMyAdmin database.

Configuring phpmyadmin

Specify the phpmyadmin database administrative user password.

Configuring phpmyadmin

Now configure the roundcube-core.

configure roundcube database

Please select the database type that used by roundcube.

configure roundcube database

Finished installation

EHCP finish installation

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


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 login
EHCP Dashboard

That is all

Related Articles


  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?


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

  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?

Leave a Reply to Michael Cancel reply

Your email address will not be published. Required fields are marked *


This site uses Akismet to reduce spam. Learn how your comment data is processed.

Check Also
Back to top button