@@ -34,13 +34,22 @@ opt0.2) Optionally if you are not running in virtual machine you can set server
3434
3535apt-get install ntp ntpdate
3636
37+ opt0.3) Optionally if you want vi editor improvement
38+
39+ apt-get install vim-nox
40+
3741
3842
3943# Next is the real deal
4044
41451) Install Postfix , Courier , Saslauthd , MySQL , phpMyAdmin , rkhunter , binutils with the following command line (on one line!):
4246
43- 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 rkhunter binutils
47+ apt-get install postfix postfix-mysql postfix-doc mysql-client mysql-server courier-authdaemon 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 rkhunter binutils
48+
49+ apt-get install libmysqlclient16
50+ # temp fix for amd64 arch
51+ wget http://ftp.us.debian.org/debian/pool/main/c/courier-authlib/courier-authlib-mysql_0.62.4-1_amd64.deb
52+ dpkg --ignore-depends=libmysqlclient15off -i courier-authlib-mysql_0.62.4-1_amd64.deb
4453
4554# Answer the questions from the package manager as follows.
4655
72812) Install Amavisd-new , Spamassassin and Clamav (1 line!):
7382
7483apt-get install amavisd-new spamassassin clamav clamav-daemon zoo unzip bzip2 arj nomarch lzop cabextract apt-listchanges libnet-ldap-perl libauthen-sasl-perl clamav-docs daemon libio-string-perl libio-socket-ssl-perl libnet-ident-perl zip libnet-dns-perl
84+ # this is necessary? libnet-ldap-perl
7585
7686# During the installation, the SSL certificates for IMAP-SSL and POP3-SSL are created with the hostname localhost. To change this to the correct hostname (server1.example.com in this tutorial), delete the certificates...
7787
@@ -124,23 +134,14 @@ a2enmod suexec rewrite ssl actions include
124134
125135apt-get install pure-ftpd-common pure-ftpd-mysql quota quotatool
126136
127- # Edit the file /etc/default/pure-ftpd-common to change the start mode from "inetd" to "standalone"
128- and set VIRTUALCHROOT=true
137+ # Edit the file /etc/default/pure-ftpd-common to set VIRTUALCHROOT=true
129138
130139vi /etc/default/pure-ftpd-common
131140
132- # Edit the file /etc/inetd.conf to prevent inetd from trying to start ftp.
133- # To do this, comment line starting like "ftp stream tcp" by adding "#"-sign in front of the line.
134-
135- vi /etc/inetd.conf
136-
137- # Then execute:
138-
139- /etc/init.d/openbsd-inetd restart
140-
141141# Some additional settings for pureftpd
142142
143143echo 'yes' > /etc/pure-ftpd/conf/DontResolve
144+ echo "yes" > /etc/pure-ftpd/conf/DisplayDotFiles
144145
145146# Enable TLS in pureftpd
146147echo 1 > /etc/pure-ftpd/conf/TLS
@@ -166,16 +167,16 @@ proc /proc proc defaults 0 0
166167
167168# To enable quota, run these commands:
168169
169- touch /quota.user /quota.group
170- chmod 600 /quota.*
171- mount -o remount /
172- quotacheck -avugm
170+ touch /quota.user /quota.group &&
171+ chmod 600 /quota.* &&
172+ mount -o remount / &&
173+ quotacheck -avugm &&
173174quotaon -avug
174175
175176
1761775) Install mydns
177178
178- apt-get install g++ libc6 gcc gawk make texinfo libmysqlclient15 -dev
179+ apt-get install g++ libc6 gcc gawk make texinfo libmysqlclient -dev
179180
180181cd /tmp
181182wget http://heanet.dl.sourceforge.net/sourceforge/mydns-ng/mydns-1.2.8.27.tar.gz
@@ -293,8 +294,8 @@ apt-get install fail2ban
2932949.1) Installation of last version from tar.gz
294295
295296 cd /tmp
296- wget http://www.ispconfig.org/downloads /ISPConfig-3.0.0.9-rc2 .tar.gz
297- tar xvfz ISPConfig-3.0.0.9-rc2 .tar.gz
297+ wget http://downloads.sourceforge.net/ispconfig /ISPConfig-3.0.1.6 .tar.gz?use_mirror=
298+ tar xvfz ISPConfig-3.0.1.6 .tar.gz
298299 cd ispconfig3_install/install/
299300
3003019.2) Installation from SVN
0 commit comments