Introduction
EHCP (Easy Hosting Control Panel) is an open source and very effective Hosting Control Panel that offers you to host any websites, create ftp accounts, email accounts, sub domains and so on. Ehcp is the only first hosting control panel was written using PHP programming language and available for free.
It offers all major hosting control panel features such FTP Accounts, MySQL Databases, Panel Users, Resellers, MailBox with Squirrelmail and Round Cube etc. It is the only first control panel that provides built in support for Nginx and PHP-FPM with completely throw out Apache and gives better performance for low end servers or VPS.
EHCP Features
- Complete php, free opensource, easily customizable and more free templaes.
- Unlimited resllers, user accounts, ftp accounts, email accounts, mysql and domains.
- Management of DNS, domains, subdomains, ftp, mysql, email etc.
- Domains password protected, Email forwarding, autoreply etc.
- Website analytics with webalizer and ftp with net2ftp.
- One click third party script install.
- User Disk quota control, SSL suport, custom http redirects, domain aliases, domain redirect.
- Different langauge support and template supports with few languages.
- Server backup and restore including files and databases.
- More details here.
This article will help you to install and setup Easy Hosting Control Panel on RHEL, CentOS, Fedora, Ubuntu, Linux Mint and Debian systems.Please note ehcp can be installed on a fresh installation of Linux.The ehcp installation is quite simple and easy, a new user won’t face any issues while installing it at the first time.
How to Install EHCP (Easy Hosting Control Panel)?
First, login as root user using ssh and download the latest EHCP source tarball package using wget command.
wget -O ehcp.tgz www.ehcp.net/ehcp_2004.tgz
![](http://unixcop.com/wp-content/uploads/2021/05/2021-05-26-15_38_02-Greenshot.png)
Next, extract the ehcp source tarball using following tar command.
tar -zxvf ehcp_latest.tgz
![](http://unixcop.com/wp-content/uploads/2021/05/2021-05-26-15_41_45-Greenshot.png)
Change to ehcp directory, then execute install.sh script.
$ cd ehcp
$ ./install.sh
![](http://unixcop.com/wp-content/uploads/2021/05/2021-05-26-15_42_44-Greenshot.png)
Go through the installation setup and read the instructions carefully.
You will be asked to enter some informations such as your name , Admin E-mail and ehcp panel admin password.
![](http://unixcop.com/wp-content/uploads/2021/05/2021-05-26-15_53_21-Greenshot.png)
![](http://unixcop.com/wp-content/uploads/2021/05/2021-05-26-15_53_49-Greenshot.png)
if you have small RAM or you need a light system you can enter ‘n’.
The install script will install all needed packages including Apache, MySQL, PHP and so on. During installation it will ask you to enter some information to configure services and set ehcp admin passwords.The installation setup takes up-to 50-60mins, depending upon the internet speed.
First, configure roundcube database
![](http://unixcop.com/wp-content/uploads/2021/05/2021-05-26-15_57_53-Greenshot.png)
It is highly, recommended you to set a MySQL ‘root‘ password for MySQL administration.
Then select the database type that used by roundcube.In my scenario, by default MySQL database has selected for roundcube.
![](http://unixcop.com/wp-content/uploads/2021/05/2021-05-26-15_58_23-Greenshot.png)
Repeat MySQL password for ‘root‘ user to confirm your password.
you may be asked about selecting the best mail server and Domain name configuration that suits your needs if the Postfix is in the install script.
![](http://unixcop.com/wp-content/uploads/2021/05/ehcp-3.jpg)
Also you may be asked to create directories for web-based mail administration.Click on ‘Yes‘.
Then you will be asked to create SSL certificate for POP and IMAP. Click on ‘Ok‘.
Configure phpMyAdmin database
![](http://unixcop.com/wp-content/uploads/2021/05/2021-05-26-16_00_19-Greenshot.png)
Set MySQL ‘root‘ password for phpMyAdmin. Then please give a phpMyAdmin password to register with database server and password confirmation.
![](http://unixcop.com/wp-content/uploads/2021/05/2021-05-26-16_00_28-Greenshot.png)
Configure apache2
Please select your web server that automatically configured to run phpMyAdmin.
![](http://unixcop.com/wp-content/uploads/2021/05/2021-05-26-16_00_46-Greenshot.png)
That’s it, installation finished.
Now navigate to the Web browser window and enter IP address of your server.
http://youripaddress/
OR
http://localhost
Click on the link that says ‘Click here for the control panel on your server‘.
![](http://unixcop.com/wp-content/uploads/2021/05/2021-05-26-16_18_18-Greenshot-1024x539.png)
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.
![](http://unixcop.com/wp-content/uploads/2021/05/2021-05-26-16_20_26-Greenshot-1024x537.png)
Ehcp Control Panel Dashboard.
![](http://unixcop.com/wp-content/uploads/2021/05/2021-05-26-16_20_43-Greenshot-1024x544.png)