File tree Expand file tree Collapse file tree 3 files changed +17
-5
lines changed
Expand file tree Collapse file tree 3 files changed +17
-5
lines changed Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ Mail name? <-- server1.mydomain.tld
1818
19192) 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
24243) Install apache, PHP5 and phpmyadmin (1 line!):
@@ -94,3 +94,15 @@ user: admin
9494password: admin
9595
9696In 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
Original file line number Diff line number Diff line change @@ -30,7 +30,7 @@ Mail name? <-- server1.mydomain.tld
3030
31312) 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
36363) Install apache, PHP5 and phpmyadmin (1 line!):
@@ -53,6 +53,8 @@ Then we install pureftpd and quota.
5353
5454apt-get install pure-ftpd-common pure-ftpd-mysql quota quotatool
5555
56+ echo 'yes' > /etc/pure-ftpd/conf/DontResolve
57+
56585) Install mydns
5759
5860apt-get install mydns-mysql
Original file line number Diff line number Diff line change @@ -83,9 +83,7 @@ function get_distname() {
8383}
8484
8585function 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
You can’t perform that action at this time.
0 commit comments