@@ -16,7 +16,8 @@ Installation
1616echo ispconfig.example.com > /etc/hostname
1717
1818vi /etc/hosts
19- and add line similar but appropriate:
19+
20+ # and add line similar but appropriate:
2021
2122127.0.0.1 localhost.localdomain localhost
2223192.168.0.100 ispconfig.example.com ispconfig
@@ -48,7 +49,7 @@ General type of configuration? <-- Internet site
4849Mail name? <-- server1.mydomain.tld
4950 SSL certificate required <-- Ok
5051
51- ...use your own domain name of course ; )
52+ # ...use your own domain name of course ;)
5253
5354
5455
@@ -88,11 +89,42 @@ apt-get install apache2 apache2.2-common apache2-doc apache2-mpm-prefork apache2
8889
8990a2enmod suexec rewrite ssl
9091
92+ # Secure phpMyAdmin by deleting setuppassword-file
93+ # and removing/commenting Setup Authorization from apache.conf
94+
95+ rm /etc/phpmyadmin/htpasswd.setup
96+
97+ vi /etc/phpmyadmin/apache.conf
98+
99+ # delete/comment following lines (between the ----- lines):
100+ ------------------------------------------------------
101+ # Authorize for setup
102+ <Files setup.php>
103+ # For Apache 1.3 and 2.0
104+ <IfModule mod_auth.c>
105+ AuthType Basic
106+ AuthName "phpMyAdmin Setup"
107+ AuthUserFile /etc/phpmyadmin/htpasswd.setup
108+ </IfModule>
109+ # For Apache 2.2
110+ <IfModule mod_authn_file.c>
111+ AuthType Basic
112+ AuthName "phpMyAdmin Setup"
113+ AuthUserFile /etc/phpmyadmin/htpasswd.setup
114+ </IfModule>
115+ Require valid-user
116+ </Files>
117+ ------------------------------------------------------
118+
119+
91120opt3.1) Optionally install some imagemanipulation capabilities to make advanced webdesigners happy
92121
93122apt-get install php5-imagick imagemagick
94123
124+ # restart apache before continuing
95125
126+ /etc/init.d/apache2 restart
127+
96128
971294) Install pure-ftpd and quota
98130
@@ -125,11 +157,11 @@ cd mydns-1.2.8
125157make
126158make install
127159
128- Now create the start / stop script for mydns:
160+ # Now create the start / stop script for mydns:
129161
130162vi /etc/init.d/mydns
131163
132- and enter the following lines (between the ----- lines):
164+ # and enter the following lines (between the ----- lines):
133165
134166------------------------------------------------------
135167# ! /bin/sh
190222exit 0
191223---------------------------------------------------------------------------
192224
193- now execute:
225+ # now execute:
194226
195227chmod +x /etc/init.d/mydns
196228update-rc.d mydns defaults
@@ -202,7 +234,7 @@ apt-get install vlogger webalizer
202234
2032357) Install ISPConfig 3
204236
205- There are two possile scenarios , but not both:
237+ # There are two possile scenarios, but not both:
2062387.1) Install the latest released version
2072397.2) Install directly from SVN
208240
@@ -223,20 +255,20 @@ There are two possile scenarios, but not both:
223255
2242567.1+7.2) Now proceed with the ISPConfig installation.
225257
226- Now start the installation process by executing:
258+ # Now start the installation process by executing:
227259
228260php -q install.php
229261
230- The installer will configure all services like postfix , sasl , courier , etc. for you. A manual setup as required for ISPConfig 2 (perfect setup guides) is not nescessary. To login to the ISPConfig controlpanel , open the following URL in your browser (replace the IP to match your settings!):
262+ # The installer will configure all services like postfix, sasl, courier, etc. for you. A manual setup as required for ISPConfig 2 (perfect setup guides) is not nescessary. To login to the ISPConfig controlpanel, open the following URL in your browser (replace the IP to match your settings!):
231263
232264http://192.168.0.100:8080/
233265
234- the default login is:
266+ # the default login is:
235267
236268user: admin
237269password: admin
238270
239- In case you get a permission denied error from apache , please restart the apache webserver process.
271+ # In case you get a permission denied error from apache, please restart the apache webserver process.
240272
241273
242274
0 commit comments