@@ -17,10 +17,11 @@ apt-get -u upgrade
1717
18181) Install Postfix, Courier, Saslauthd, MySQL, phpMyAdmin with the following command line (on one line!):
1919
20- apt-get install postfix postfix-mysql postfix-doc mysql-client mysql-server courier-authdaemon courier-authlib-mysql courier-pop courier-pop-ssl courier-imap courier-imap-ssl postfix-tls libsasl2-2 libsasl2-modules libsasl2-modules-sql sasl2-bin libpam-mysql openssl courier-maildrop getmail4
20+ apt-get install postfix postfix-mysql postfix-doc mysql-client mysql-server courier-authdaemon courier-authlib-mysql courier-pop courier-pop-ssl courier-imap courier-imap-ssl libsasl2-2 libsasl2-modules libsasl2-modules-sql sasl2-bin libpam-mysql openssl courier-maildrop getmail4
2121
2222Answer the questions from the package manager as follows.
2323
24+ Enter the mysql root password.
2425Create directories for web-based administration ? <-- No
2526General type of configuration? <-- Internet site
2627Mail name? <-- server1.mydomain.tld
@@ -43,6 +44,25 @@ a2enmod suexec
4344a2enmod rewrite
4445a2enmod ssl
4546
47+ Optional: Install SuPHP
48+
49+ apt-get install libapache2-mod-suphp
50+
51+ vi /etc/suphp/suphp.conf
52+
53+ set docroot to:
54+
55+ docroot=/var/clients
56+
57+ Change:
58+
59+ application/x-httpd-php=php:/usr/bin/php-cgi
60+
61+ to:
62+
63+ x-httpd-php=php:/usr/bin/php-cgi
64+
65+
46664) Install pure-ftpd and quota
4767
4868First we have to make sure that the capability module is loaded in the kernel
@@ -61,9 +81,9 @@ echo 'yes' > /etc/pure-ftpd/conf/DontResolve
6181apt-get install g++ libc6 gcc gawk make texinfo libmysqlclient15-dev
6282
6383cd /tmp
64- wget http://mydns.bboy. net/download /mydns-1.1.0 .tar.gz
65- tar xvfz mydns-1.1.0 .tar.gz
66- cd mydns-1.1.0
84+ wget http://heanet.dl.sourceforge. net/sourceforge /mydns-ng/mydns-1.2.8.4 .tar.gz
85+ tar xvfz mydns-1.2.8.4 .tar.gz
86+ cd mydns-1.2.8
6787./configure
6888make
6989make install
@@ -87,7 +107,7 @@ and enter the following lines (between the ----- lines):
87107set -e
88108
89109PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
90- DAEMON=/usr/sbin/mydns
110+ DAEMON=/usr/local/ sbin/mydns
91111NAME=mydns
92112DESC="DNS server"
93113
0 commit comments