11Installation
2- -----------
2+ -------------
33
4- # It is recommended to use a clean (fresh) Debian Squeeze install where you just selected "Standard System" as the package selection during
5- # setup. Then follow the steps below to setup your server with ISPConfig 3. In this guide "vi" is used as texteditor , but you ofcourse
4+ # It is recommended to use a clean (fresh) Debian Squeeze install where you just selected "Standard System" at the package selection during
5+ # setup (tasksel) . Then follow the steps below to setup your server with ISPConfig 3. In this guide "vi" is used as text editor , but
66# you can use whatever you prefer. You should be root for doing all of this.
77
88
@@ -28,24 +28,22 @@ vi /etc/hosts
2828
2929opt0.1) Optionally install SSH-server to get remote shell
3030
31- apt-get install ssh openssh-server
31+ apt-get install openssh-server
3232
33- opt0.2) Optionally if you are not running in virtual machine you can set server clocksync via NTP. Virtual quests get this from the host.
33+ opt0.2) Optionally , if you are not running inside a virtual machine , you can set server clocksync via NTP. Virtual guests get this from the host.
3434
35- apt-get install ntp ntpdate
35+ apt-get -y install ntp ntpdate
3636
3737opt0.3) Optionally if you want vi editor improvement
3838
39- apt-get install vim-nox
40-
39+ apt-get -y install vim-nox
4140
4241
4342# Next is the real deal
4443
45441) Install Postfix , Courier , Saslauthd , MySQL , phpMyAdmin , rkhunter , binutils with the following command line (on one line!):
4645
47- apt-get install postfix postfix-mysql postfix-doc mysql-client mysql-server courier-authdaemon courier-pop courier-pop-ssl courier-authlib-mysql courier-imap courier-imap-ssl libsasl2-2 libsasl2-modules libsasl2-modules-sql sasl2-bin libpam-mysql openssl courier-maildrop getmail4 rkhunter binutils sudo
48-
46+ apt-get -y install postfix postfix-mysql postfix-doc mysql-client mysql-server courier-authdaemon courier-pop courier-pop-ssl courier-authlib-mysql courier-imap courier-imap-ssl libsasl2-2 libsasl2-modules libsasl2-modules-sql sasl2-bin libpam-mysql openssl courier-maildrop getmail4 rkhunter binutils sudo
4947
5048# Answer the questions from the package manager as follows.
5149
7472
7573/etc/init.d/mysql restart
7674
77- 2) Install Amavisd-new , Spamassassin and Clamav (1 line!):
75+ 2) Install Amavisd-new , Spamassassin and ClamAV (1 line!):
7876
79- apt-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
77+ apt-get -y 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
8078# this is necessary? libnet-ldap-perl
8179
8280# 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...
@@ -110,32 +108,32 @@ mkpop3dcert
110108/etc/init.d/courier-pop-ssl restart
111109
112110
113- 3) Install apache , PHP5 , phpmyadmin , better fastCGI , suexec , Pear and mcrypt (1 line!):
111+ 3) Install Apache , PHP5 , PhpMyAdmin , better fastCGI , suexec , Pear and mcrypt (1 line!):
114112
115- apt-get install apache2 apache2.2-common apache2-doc apache2-mpm-prefork apache2-utils libexpat1 ssl-cert libapache2-mod-php5 php5 php5-common php5-gd php5-mysql php5-imap phpmyadmin php5-cli php5-cgi libapache2-mod-fcgid apache2-suexec php-pear php-auth php5-mcrypt mcrypt imagemagick libapache2-mod-suphp libopenssl-ruby libapache2-mod-ruby
113+ apt-get -y install apache2 apache2.2-common apache2-doc apache2-mpm-prefork apache2-utils libexpat1 ssl-cert libapache2-mod-php5 php5 php5-common php5-gd php5-mysql php5-imap phpmyadmin php5-cli php5-cgi libapache2-mod-fcgid apache2-suexec php-pear php-auth php5-mcrypt mcrypt imagemagick libapache2-mod-suphp libopenssl-ruby libapache2-mod-ruby
116114
117115# this package is actual missed on official squeeze repository: php5-imagick
118116
119- # When phpMyAdmin is asking weather to configure itself automatically, select "Apache2"
117+ # When phpMyAdmin is asking wether to configure itself automatically, select "Apache2"
120118
121119# Then run the following to enable the Apache modules suexec, rewrite and ssl:
122120
123121a2enmod suexec rewrite ssl actions include ruby
124122
125- # If you want webdav then run the following to enable the Apache webdav modules:
123+ # If you want to use WebDAV then run the following to enable the Apache webdav modules:
126124
127- a2enmod dav_fs a2enmod dav auth_digest
125+ a2enmod dav_fs dav auth_digest
128126
129- # restart apache before continuing
127+ # restart Apache before continuing
130128
131129/etc/init.d/apache2 restart
132130
133131
1341324) Install pure-ftpd and quota
135133
136- apt-get install pure-ftpd-common pure-ftpd-mysql quota quotatool
134+ apt-get -y install pure-ftpd-common pure-ftpd-mysql quota quotatool
137135
138- # Some additional settings for pureftpd
136+ # Optional: Some additional settings for pureftpd
139137
140138echo "yes" > /etc/pure-ftpd/conf/DisplayDotFiles
141139
@@ -170,7 +168,7 @@ quotacheck -avugm &&
170168quotaon -avug
171169
172170
173- 5) Install mydns
171+ 5) Install MyDNS
174172
175173apt-get install g++ libc6 gcc gawk make texinfo libmysqlclient-dev
176174
@@ -265,12 +263,12 @@ update-rc.d mydns defaults
265263
2662646) Install vlogger and webalizer
267265
268- apt-get install vlogger webalizer
266+ apt-get -y install vlogger webalizer
269267
270268
271- 7) Install Jailkit (optional , only needed if you want to use chrroting for SSH users)
269+ 7) Install Jailkit (optional , only needed if you want to use chrooting for SSH users)
272270
273- apt-get install build-essential autoconf automake1.9 libtool flex bison debhelper
271+ apt-get -y install build-essential autoconf automake1.9 libtool flex bison debhelper
274272cd /tmp
275273wget http://olivier.sessink.nl/jailkit/jailkit-2.11.tar.gz
276274tar xvfz jailkit-2.11.tar.gz
@@ -283,7 +281,7 @@ rm -rf jailkit-2.11*
2832818) Install fail2ban (optional but recomended , because the monitor tries to show the log)
284282More info at: http://www.howtoforge.com/fail2ban_debian_etch
285283
286- apt-get install fail2ban
284+ apt-get -y install fail2ban
287285
2882869) Install ISPConfig 3
289287
0 commit comments