04-14-2023, 10:10 PM
Hi ![Smile Smile](https://ehcp.10tl.net/images/smilies/smile.png)
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
cd ehcpdev2
./install.sh
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" >> \
/etc/apt/sources.list.d/wheezy-updates.cyconet.list; \
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"
gdebi pop-before-smtp.deb
Finally: vi /etc/postfix/master.cf
and change these lines:
smtps inet n - - - - smtpd
-o syslog_name=postfix/smtps
-o smtpd_tls_wrappermode=yes
-o smtpd_sasl_auth_enable=yes
-o smtpd_client_restrictions=permit_sasl_authenticated,reject
-o milter_macro_daemon_name=ORIGINATING
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:
reboot <enter>
Go to your IP address in your browser eg. 192.2.3.12
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![Smile Smile](https://ehcp.10tl.net/images/smilies/smile.png)
John
Restored from old drupal forum, for user uid:27516 username:perthsystem
You may reset your password to access your new account here.
![Smile Smile](https://ehcp.10tl.net/images/smilies/smile.png)
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
cd ehcpdev2
./install.sh
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" >> \
/etc/apt/sources.list.d/wheezy-updates.cyconet.list; \
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"
gdebi pop-before-smtp.deb
Finally: vi /etc/postfix/master.cf
and change these lines:
smtps inet n - - - - smtpd
-o syslog_name=postfix/smtps
-o smtpd_tls_wrappermode=yes
-o smtpd_sasl_auth_enable=yes
-o smtpd_client_restrictions=permit_sasl_authenticated,reject
-o milter_macro_daemon_name=ORIGINATING
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:
reboot <enter>
Go to your IP address in your browser eg. 192.2.3.12
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
![Smile Smile](https://ehcp.10tl.net/images/smilies/smile.png)
John
Restored from old drupal forum, for user uid:27516 username:perthsystem
You may reset your password to access your new account here.