Here’s a detailed guide along with screenshots for a beginner on how to install and configure EHCP (Easy Hosting Control Panel) on a server or vps running Ubuntu 14.04. While looking for free web based control panels to make your server host your websites or blog this can be one of your alternatives. WHAT IS EHCP??
EHCP is a free, open-source and. powerful hosting control panel available for download, install and use on your server. EHCP allows its users to install full stack of web server like ftp server, dns server and mail server just like other control panel such as Vesta CP and Kloxo etc. So for EHCP you don’t need to install the necessary software manually you just have to install your EHCP and you’ll have a ready to use web hosting server. EHCP is the first free hosting CP (Control Panel) supporting Ngnix with PHP-fpm unlike VestaCP that is running Ngnix as fronted proxy with Apache as back end. How cool is that? Here are some of the key features: • Runs completely in PHP, is completely open source, can be modified and customized easily and has EHCP templates. • Unlimited “resellers, domains, panel users, ftp users, mysql, emails, databases” • It includes domain, subdomain management, ftp, mysql, and email and dns management. • It provides password domains. • You can automatically forward emails and generate replies and catch-all emails. • Record web-stats. • Web-ftp • Easy Installation of programs such as wordpress, durpal. They can be easily downloaded and copied by means of server there is absolutely no need to deal with ftp etc. • Setup domain & Install wordpress in a single step. • Easily add domain to the existing ftp. • Add ftp in main ftp, add custom ftp space. • Disk quota control.
What do you need before installing EHCP? 1. A SSH client like “Putty” and the basic knowledge of its usage. I suppose here that you already know that how to use it. 2. A basic knowledge of common Unix command to SSH to your server. 3. A server with 512MB (at least) RAM but 1GB is recommended. 4. Make sure that your server is running Ubuntu 14.04. In this tutorial I am using 512MB cloud server from Atlantic.net running Ubuntu 14.04 LTS server 64-bit. 5. It will take about 1 hour to 1 hour and 15 minutes of your time 6. Grab a cup of coffee and sit back for a while.
EditHow to Install EHCP on Ubuntu VPS (STEP BY STEP)
Step 1- Login via SSH into your server as root or as a user using root
Step 2- You can download the latest version of full EHCP package using wget command: wget http://www.ehcp.net/ehcp_latest.tgz This command will always grasp the latest version of EHCP. Feel free to always check its latest version time by time.
Step 3- Now to the next step. Abstract the package with the following command. Tar-zxvf ehcp_latest.tgz
Step 4- Time for some magic now. Let’s use the simple magic command cd ehcp/ ./install.sh Step 5- Once the above command is issued, the EHCP installation page with a bunch of information on what to do next or what will happen next will appear on your screen. Read it wisely and proceed by hitting the ENTER button that’s all you need to do. Keep it in notice that the whole installation process will take almost an hour and 15 minutes. You’ll be asked run of questions during the process such as creating a password for some services, you will need to go through it and move forward. The most important thing you need for this job is an uninterrupted Internet connection.
Step 6- Now moving onward. Now enter the password for MYSQL root user then hit OK, re-enter the password and that’s it for this step.
Step 7- Now when you have entered your SQL password EHCP will ask you for your name and email. Enter it correctly and carefully.
Step 8- Now enter the password for MySQL root user, setup earlier in the sixth step. You can set any password you like there is no compulsion on that. Step 9- Moving on the next step , now enter the password for mysql user of ehcp then you will also have to enter it again as discussed earlier that you will have to enter the password twice for confirmation.
Step 10- Once through with the password, enter your hostname, IP address, preferred language, etc. But if you want to leave it to defaults just hit enter on your keyboard and no need to enter any of the hostname and IPs etc.
Step 11- In the next step you will be asked to configure your database for a roundcube with dbconfig-common. For this select YES and then press enter to move forward. Step 12- Now in the next step a page will open which will ask you that which database you will be using for roundcube. You can use any database you want but here I would recommend that simply use mysql. Step 13- Now you will have to enter database administrator’s password or the user which uses and accesses the database. Step 14- Now Enter the MYSQL application password for the roundcube to register it with your database server. As discussed earlier enter it twice for confirmation.
EditPHP MYADMIN SETUP
Step 15- As we talked earlier that EHCP is the first free hosting CP supporting Ngnix with PHP-fpm. Now we will have to configure it for PHP MYADMIN as well. At that point you will be asked that whether you need to configure php myadmin by utilizing dbconfig-normal settings or not? You have to select YES and press Enter. Step 16- Now Enter the password of the db administrator to progress. Step 17- Now Enter the MYSQL application password (php myadmin) to register it with your database server. As discussed earlier in step 6 enter it twice for confirmation. Step 18- This web server which is configured to run php myadmin simply uses Apache.
Setup 19- Postfix acts as a mail server for EHCP so in the next page you have to configure the basic settings of Postfix. Hit OK and choose Internet Site. Step 20- Now in the next page you’ll be asked to enter the name of your mail server. You can use server’s FQDN or (mail.domain.tld) Step 21- You’ll be asked, create directories for web based administration? Now answer it with yes. Step 22- Now to install necessary SSL certificates, choose OK. Step 23- Now you’ll be asked to install Ngnix as well. Because you have by now chosen the Apache server, you can select NO this time.
So its all done. The installation of EHCP has been completed. It will display something like this.