VMware Images:
|
The Perfect Server - Debian Lenny (Debian 5.0) With MyDNS & Courier [ISPConfig 3] - Page 4
10 Install Amavisd-new, SpamAssassin, And ClamavTo install amavisd-new, SpamAssassin, and ClamAV, we run 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
11 Install Apache2, PHP5, phpMyAdmin, FCGI, suExec, Pear, And mcryptApache2, PHP5, phpMyAdmin, FCGI, suExec, Pear, and mcrypt can be installed as follows: apt-get install apache2 apache2.2-common apache2-doc
apache2-mpm-prefork apache2-utils libexpat1 ssl-cert libapache2-mod-php5
php5 php5-common php5-gd php5-mysql php5-imap phpmyadmin php5-cli
php5-cgi libapache2-mod-fcgid apache2-suexec php-pear php-auth
php5-mcrypt mcrypt php5-imagick imagemagick libapache2-mod-suphp
libapache2-mod-ruby You will see the following question: Web server to reconfigure automatically: <-- apache2 Then run the following command to enable the Apache modules suexec, rewrite, ssl, actions, and include (plus dav, dav_fs, and auth_digest if you want to use WebDAV): a2enmod suexec rewrite ssl actions include a2enmod dav_fs dav auth_digest Restart Apache afterwards: /etc/init.d/apache2 restart
12 Install PureFTPd And QuotaPureFTPd and quota can be installed with the following command: apt-get install pure-ftpd-common pure-ftpd-mysql quota quotatool Edit the file /etc/default/pure-ftpd-common... vi /etc/default/pure-ftpd-common ... and change the start mode from inetd to standalone and set VIRTUALCHROOT=true:
Edit the file /etc/inetd.conf to prevent inetd from trying to start ftp: vi /etc/inetd.conf Comment out the line beginning with ftp stream tcp:
Restart inetd afterwards: /etc/init.d/openbsd-inetd restart Then start PureFTPd: /etc/init.d/pure-ftpd-mysql start Edit /etc/fstab. Mine looks like this (I added ,usrquota,grpquota to the partition with the mount point /): vi /etc/fstab
To enable quota, run these commands: touch /quota.user /quota.group quotacheck -avugm
13 Install MyDNSBefore we install MyDNS, we need to install a few prerequisites: apt-get install g++ libc6 gcc gawk make texinfo libmysqlclient15-dev MyDNS is not available in the Debian Lenny repositories, therefore we have to build it ourselves as follows: cd /tmp Next we create the start/stop script for MyDNS: vi /etc/init.d/mydns
Then we make the script executable and create the system startup links for it: chmod +x /etc/init.d/mydns
14 Install Vlogger, Webalizer, And AWstatsVlogger, webalizer, and AWstats can be installed as follows: apt-get install vlogger webalizer awstats mkdir -p /usr/share/awstats/tools/
15 Install JailkitJailkit is needed only if you want to chroot SSH users. It can be installed as follows (important: Jailkit must be installed before ISPConfig - it cannot be installed afterwards!): apt-get install build-essential autoconf automake1.9 libtool flex bison cd /tmp
16 Install fail2banThis is optional but recommended, because the ISPConfig monitor tries to show the log: apt-get install fail2ban
|
Recent comments
12 hours 53 min ago
14 hours 26 min ago
1 day 1 hour ago
1 day 2 hours ago
1 day 4 hours ago
1 day 7 hours ago
2 days 7 hours ago
2 days 10 hours ago
2 days 13 hours ago
2 days 17 hours ago