INSTALL_DEBIAN_5.0_multiserver.txt 1.3 KB
Newer Older
tbrehm's avatar
tbrehm committed
1

tbrehm's avatar
tbrehm committed
2 3 4
This guide is incomplete. Work in progress.


tbrehm's avatar
tbrehm committed
5 6 7 8
Installing the webserver
--------------------------------------------------

apt-get install mysql-server
9
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 sudo 
tbrehm's avatar
tbrehm committed
10

11 12
a2enmod suexec rewrite ssl actions include

13 14
# If you want webdav then run the following to enable the Apache webdav modules:

15 16
a2enmod dav_fs 
a2enmod dav auth_digest
17 18


tbrehm's avatar
tbrehm committed
19 20 21 22 23 24 25 26 27 28 29 30
apt-get install pure-ftpd-common pure-ftpd-mysql quota quotatool

vi /etc/default/pure-ftpd-common

... and change the start mode from inetd to standalone and set VIRTUALCHROOT=true:

[...]
STANDALONE_OR_INETD=standalone
[...]
VIRTUALCHROOT=true
[...]

31 32 33 34
apt-get install vlogger webalizer awstats

mkdir /usr/share/awstats/tools
cp -prf /usr/share/doc/awstats/examples/awstats_buildstaticpages.pl /usr/share/awstats/tools/awstats_buildstaticpages.pl
tbrehm's avatar
tbrehm committed
35 36 37

apt-get install gcc make

tbrehm's avatar
tbrehm committed
38
apt-get install postfix
tbrehm's avatar
tbrehm committed
39 40 41 42 43 44 45 46 47



Installing the DNS Server
--------------------------------------------------

apt-get install bind9 dnsutils
apt-get install mysql-server
apt-get install php5-cli php5-mysql php5-mcrypt