Marius Cramer
2013-10-14 d9bcf68e395d6156645a7974b1a992aa6e6c00aa
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
 
This guide is incomplete. Work in progress.
 
 
Installing the webserver
--------------------------------------------------
 
apt-get install mysql-server
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 
 
a2enmod suexec rewrite ssl actions include
 
# If you want webdav then run the following to enable the Apache webdav modules:
 
a2enmod dav_fs 
a2enmod dav auth_digest
 
 
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
[...]
 
apt-get install vlogger webalizer awstats geoip-bin
 
mkdir /usr/share/awstats/tools
cp -prf /usr/share/doc/awstats/examples/awstats_buildstaticpages.pl /usr/share/awstats/tools/awstats_buildstaticpages.pl
 
apt-get install gcc make
 
apt-get install postfix
 
 
 
Installing the DNS Server
--------------------------------------------------
 
apt-get install bind9 dnsutils
apt-get install mysql-server
apt-get install php5-cli php5-mysql php5-mcrypt