diff --git a/INSTALL_DEBIAN.txt b/INSTALL_DEBIAN.txt index 243566bb1aac8a349cba0038b16274ce2798a272..d08a87da27c9914881bc4e204efc5cdbde46c013 100644 --- a/INSTALL_DEBIAN.txt +++ b/INSTALL_DEBIAN.txt @@ -18,7 +18,7 @@ Mail name? <-- server1.mydomain.tld 2) Install Amavisd-new, Spamassassin and Clamav (1 line!): -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 +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 3) Install apache, PHP5 and phpmyadmin (1 line!): @@ -94,3 +94,15 @@ user: admin password: admin In case you get a permission denied error from apache, please restart the apache webserver process. + +---------------------------------------------------------------------------------------------------------- + +Hints: + +debian 4.0 under openvz: + +VPSID=122 +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 +do + vzctl set $VPSID --capability ${CAP}:on --save +done diff --git a/INSTALL_UBUNTU.txt b/INSTALL_UBUNTU.txt index b160864c9d4a84cd50fc20437b0d130ec9c74ca0..765a3deb73cc155468a1e43c4b9e353a225cb99c 100644 --- a/INSTALL_UBUNTU.txt +++ b/INSTALL_UBUNTU.txt @@ -30,7 +30,7 @@ Mail name? <-- server1.mydomain.tld 2) Install Amavisd-new, Spamassassin and Clamav (1 line!): -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 +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 3) Install apache, PHP5 and phpmyadmin (1 line!): @@ -53,6 +53,8 @@ Then we install pureftpd and quota. apt-get install pure-ftpd-common pure-ftpd-mysql quota quotatool +echo 'yes' > /etc/pure-ftpd/conf/DontResolve + 5) Install mydns apt-get install mydns-mysql diff --git a/install/lib/install.lib.php b/install/lib/install.lib.php index 7e81b6d617959c092fda62d290e4af54b27bd82a..b8f40f1eb7adc5bb5dee7d9f9086a1d37b1919bb 100644 --- a/install/lib/install.lib.php +++ b/install/lib/install.lib.php @@ -83,9 +83,7 @@ function get_distname() { } function sread() { - $f = fopen('/dev/stdin', 'r'); - $input = fgets($f, 255); - fclose($f); + $input = fgets(STDIN); return rtrim($input); }