For new comers to EHCP - Easy install
I've just recently discovered EHCP and I'm impressed by it's simplicity. I tried to install it using the documentation on the download page but there were too many issues, I was about to give the whole thing a miss when I noticed a post on a popular website I often visit.
Here are some very simple and straight forward steps to get you going. Please note that I created a brand new server with Debian 7.3 (wheezy).
Goto your terminal window and copy then paste this:
wget -O ehcp.tgz ehcp.net/ehcp_yeni.tgz
tar -zxvf ehcp.tgz
Follow all instructions and answer the questions.
Next: There is a problem with VSFTPD (the file transfer system to allow you to upload file to your websites)
Copy and paste all the text below (in one chunk):
echo "deb http://ftp.cyconet.org/debian wheezy-updates main non-free contrib" >> \
aptitude update; aptitude install -t wheezy-updates debian-cyconet-archive-keyring vsftpd && \
echo "allow_writeable_chroot=YES" >> /etc/vsftpd.conf && /etc/init.d/vsftpd restart
Next: There is also a problem with postfix but this is easily fixed:
apt-get install gdebi-core
wget -N -O "pop-before-smtp.deb" "http://www.dinofly.com/files/linux/pop-before-smtp.deb"
Finally: vi /etc/postfix/master.cf
and change these lines:
smtps inet n - - - - smtpd
You will find they have a '#' at the start of each line, just remove it.
If you are not familiar with VI (the linux editor);
Press I to start editing, when finished press 'Esc' and :WQ then 'Enter'.
These changes with allow your mail server to send and receive mail using SSL (ports 993 & 465) using IMAP.
Best thing now is to restart your server:
Go to your IP address in your browser eg. 126.96.36.199
and there you have it.
There are a couple of other little problems like domain name setup in master.cf but that's only really important if your depend on rDNS.
Hope this helps!
Cheers, and have fun :)