In this tutorial we will show you how to install EHCP – Easy Hosting Control Panel on Linux/Ubuntu.
WHAT IS EHCP?
EHCP – Easy Hosting Control Panel is a multilingual web-based server administration panel. It is a tool for your server which helps you to facilitate the process of hosting domains, emails, adding domains, ftp users and so on… as well as modify and control open source apps, Apache, PHP, cron and others…
It is very easy to use and comes with a bunch of features by default to allow you to host and manage your websites with ease on your VPS.
Some of the ECHP General Features are:
* 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)
To start with the installation you will need to log in to your VPS as ROOT via SSH. Once you are in the first thing you need to do is to downloads the package lists from the repositories and “update” them to get information on the newest versions of packages and their dependencies. It will do this for all repositories and PPAs. To do that just type:
The next step/command will actually update all the software on your VPS. So, type:
To start the EHCP installation first we will need to download the EHCP installation package. To do that run the following command:
wget -O ehcp.tgz www.ehcp.net/ehcp_latest.tgz
Once the file is downloaded you can extract the archive with:
tar -zxvf ehcp.tgz
Enter the installation directory:
… and finally start the installation procedure:
Once the installation begins, you will see the following message:
So just press “ENTER” to continue.
Next, you will receive a warning that “EHCP” can be installed on “Ubuntu” and “Debian” only, so again, press “ENTER” on your keyboard to continue:
…and the installation will start. First, the installer itself will check for an updates, and once make sure that your system is up to date and install all the necessary packages you will receive a message that the system is ready and the installation can continue, so again, press “ENTER“:
…during the installation you will be asked to enter which password you want to use for the “MySQL ROOT” user, so enter the password that you want to use and press “ENTER” again to continue:
Next, you will be asked to setup some basic system security and settings, as your name and email address:
…and once you enter those you will need to enter the “MySQL ROOT” password, the very same one that you enter previously when on the installation start up:
…enter the password to continue with the installation.
Once the MySQL ROOT password is entered the installation will continue and you will be asked to enter a password for the “ehcp” “MySQL” user. Put the password that you want to use and press “ENTER” and the installation will continue:
Next, you will need to enter the “EHCP admin” password “This is the password that you will use to log in to the EHCP admin area as administrator” so make sure to use a strong password.
NOTE: If you are installing the “EHCP” control panel on a virtual server you may be asked to enter the IP address of your virtual server manually.
To see your IP address just type:
ifconfig | grep 'inet addr:'
…and enter the IP address and continue.
Select your language, the default is English so if you want to use it just press “ENTER“:
After that you will be asked to install some additional programs, which is most cases will ease your everyday tasks, so in case you are not sure what to do, just install them. To do that just type “y” and press the “ENTER” key on your keyboard again:
The installation will continue. During the installation you will be asked which database software you want to use for the “RoundCube” webmail. Type “mysql” and press “ENTER” to continue:
…and on the next step enter your “ROOT MySQL” password for the “RoundCube” database to be created.
Once the “RoundCube” database is created enter the password that you want to use with this database, and press “ENTER“:
The installation will continue.
Next, if you want to have/use “phpMyAdmin” you will need to setup a “MySQL” database for it too. So on the following step:
…type “y” and press “ENTER” to continue.
…and again, and on the next step enter your ROOT MySQL password for the “phpMyAdmin” database to be created.
…and once the “phpMyAdmin” database is created enter the password that you want to associate/use with the new created “phpMyAdmin” database. Once the password is entered press “ENTER” on the keyboard to continue.
After that you will need to setup which “WEB” server you want to run. We will go with “Apache” this time, so type “apache2” on the command prompt and press “ENTER” to continue:
Set up the mail sererev type. It is usually safe to select the “Internet Site” option if you actually want to use the mail server, so enter it and press “ENTER” again to continue:
…and as a “System mail name” you can enter your domain name:
…and press “ENTER” to continue.
On the next step/question “Create directories for web-based administration?” answer “y” and continue:
…and that’s it. The installation is done!
To log in open your web browser and enter “http://your_ip_address/ehcp” address. “Make sure to replace “your_ip_address” with the actual IP address of your server”
and log in using:
username: admin pass: the_one_the_you_setup_during_installation
If you’re one of our Linux VPS Hosting customers we can help you to install EHCP – Easy Hosting Control Panel on your virtual server for you free of charge. Just contact us and some of our experts will complete your request immediately.