Skip to content

Commit ba66cdb

Browse files
committed
- Fixed a big with stdin input in the installer
- enhanced the documentation
1 parent 03ade50 commit ba66cdb

File tree

3 files changed

+17
-5
lines changed

3 files changed

+17
-5
lines changed

INSTALL_DEBIAN.txt

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ Mail name? <-- server1.mydomain.tld
1818

1919
2) Install Amavisd-new, Spamassassin and Clamav (1 line!):
2020

21-
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
21+
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
2222

2323

2424
3) Install apache, PHP5 and phpmyadmin (1 line!):
@@ -94,3 +94,15 @@ user: admin
9494
password: admin
9595

9696
In case you get a permission denied error from apache, please restart the apache webserver process.
97+
98+
----------------------------------------------------------------------------------------------------------
99+
100+
Hints:
101+
102+
debian 4.0 under openvz:
103+
104+
VPSID=122
105+
for CAP in CHOWN DAC_READ_SEARCH SETGID SETUID NET_BIND_SERVICE NET_ADMIN SYS_CHROOT SYS_NICE CHOWN DAC_READ_SEARCH SETGID SETUID NET_BIND_SERVICE NET_ADMIN SYS_CHROOT SYS_NICE
106+
do
107+
vzctl set $VPSID --capability ${CAP}:on --save
108+
done

INSTALL_UBUNTU.txt

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ Mail name? <-- server1.mydomain.tld
3030

3131
2) Install Amavisd-new, Spamassassin and Clamav (1 line!):
3232

33-
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
33+
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
3434

3535

3636
3) Install apache, PHP5 and phpmyadmin (1 line!):
@@ -53,6 +53,8 @@ Then we install pureftpd and quota.
5353

5454
apt-get install pure-ftpd-common pure-ftpd-mysql quota quotatool
5555

56+
echo 'yes' > /etc/pure-ftpd/conf/DontResolve
57+
5658
5) Install mydns
5759

5860
apt-get install mydns-mysql

install/lib/install.lib.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -83,9 +83,7 @@ function get_distname() {
8383
}
8484

8585
function sread() {
86-
$f = fopen('/dev/stdin', 'r');
87-
$input = fgets($f, 255);
88-
fclose($f);
86+
$input = fgets(STDIN);
8987
return rtrim($input);
9088
}
9189

0 commit comments

Comments
 (0)