Skip to content

Commit 67b7aa7

Browse files
committed
Fixed: FS#897 - Adjust debian installation instructions to match perfect setup tutorial.
1 parent b40d8c5 commit 67b7aa7

File tree

1 file changed

+35
-2
lines changed

1 file changed

+35
-2
lines changed

docs/INSTALL_DEBIAN_5.0.txt

Lines changed: 35 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,10 +57,14 @@ Mail name? <-- server1.mydomain.tld
5757

5858
vi /etc/mysql/my.cnf
5959

60-
# and comment out the line
60+
# and change the line:
6161

6262
bind-address = 127.0.0.1
6363

64+
to:
65+
66+
#bind-address = 127.0.0.1
67+
6468
# then restart mysql
6569

6670
/etc/init.d/mysql restart
@@ -69,6 +73,35 @@ bind-address = 127.0.0.1
6973

7074
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
7175

76+
# 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...
77+
78+
cd /etc/courier
79+
rm -f /etc/courier/imapd.pem
80+
rm -f /etc/courier/pop3d.pem
81+
82+
# ... and modify the following two files; replace CN=localhost with CN=server1.example.com (you can also modify the other values, if necessary):
83+
84+
vi /etc/courier/imapd.cnf
85+
86+
[...]
87+
CN=server1.example.com
88+
[...]
89+
90+
vi /etc/courier/pop3d.cnf
91+
92+
[...]
93+
CN=server1.example.com
94+
[...]
95+
96+
# Then recreate the certificates...
97+
98+
mkimapdcert
99+
mkpop3dcert
100+
101+
# ... and restart Courier-IMAP-SSL and Courier-POP3-SSL:
102+
103+
/etc/init.d/courier-imap-ssl restart
104+
/etc/init.d/courier-pop-ssl restart
72105

73106

74107
3) Install apache, PHP5, phpmyadmin, better fastCGI, suexec, Pear and mcrypt (1 line!):
@@ -226,7 +259,7 @@ update-rc.d mydns defaults
226259

227260
apt-get install vlogger webalizer
228261

229-
Change the following line in /etc/webalizer.conf from
262+
Change the following line in /etc/webalizer/webalizer.conf from
230263

231264
#Incremental no
232265

0 commit comments

Comments
 (0)