STEP 11
Install and configure Apache - the server
Run the following steps:
Code:
apt-get install apache2 apache2-doc
apt-get install libapache2-mod-php4 libapache2-mod-perl2 php4 php4-cli php4-common php4-curl php4-dev php4-domxml php4-gd php4-imap php4-ldap php4-mcal php4-mhash php4-mysql php4-odbc php4-pear php4-xslt curl libwww-perl imagemagick
Answer all questions with
yes
- open and edit the file /etc/apache2/apache2.conf.
But only the line DirectoryIndex index.html index.cgi index.pl index.php index.xhtml
Code:
DirectoryIndex index.html index.htm index.shtml index.cgi index.php
- open the file /etc/mime.types.
- comment out the following lines (with #):
Code:
#application/x-httpd-php phtml pht php
#application/x-httpd-php-source phps
#application/x-httpd-php3 php3
#application/x-httpd-php3-preprocessed php3p
#application/x-httpd-php4 php4
- open the file /etc/apache2/mods-enabled/php4.conf.
- comment out the following lines (with #):
Code:
<IfModule mod_php4.c>
# AddType application/x-httpd-php .php .phtml .php3
# AddType application/x-httpd-php-source .phps
</IfModule>
- open the file /etc/apache2/ports.conf.
- add the line Listen 443:
Code:
Listen 80
Listen 443
Code:
a2enmod ssl
a2enmod rewrite
a2enmod suexec
a2enmod include
/etc/init.d/apache2 restart
STEP 12
Install and configure ProFTPd - the ftp-server
Code:
apt-get install proftpd
Answer the question with
initd.
- open the file /etc/proftpd.conf.
- add the following lines:
Code:
DefaultRoot ~
IdentLookups off
ServerIdent on "FTP Server ready."
Code:
/etc/init.d/proftpd restart
STEP 13
Install and Webalizer - the Logfile-analyzer
Code:
apt-get install webalizer
Answer the questions in following steps:
- /var/www/webalizer
- Usage Statistics for
- /var/log/apache/access.log.1
STEP 14
Install some Perl-modules
Code:
perl -MCPAN -e shell
Answer the question with
no !
- go ahead by running the following steps:
Code:
install HTML::Parser
install DB_File
install Net::DNS
q
apt-get install libdigest-sha1-perl libnet-dns-perl libpoe-component-client-dns-perl razor libio-socket-inet6-perl libdb-file-lock-perl libarchive-tar-perl
If there comes a question with
test answer with
no.
The other questions with yes.
Here is the rest you waited for:
STEP 15
Install and configure ISPConfig
Code:
cd /root
wget typeinhereyourfavoritemirror
tar xvfz ISPConfig-2.2.7.tar.gz
cd install_ispconfig
./setup
Answer the questions like that:
- pleasemakeyourownchoise
- y
- y
- 1
- y
- y
And know you have to wait...and pray
The next few questions you have to answer like this:
(these questions are for the SSL-Server-certificates)
- R
- typeinhereyourcountrycode-like-DE or US or UK...
- typeinhereyourstate
- typeinhereyourcity
- typeinhereyourorganizationname
- typeinhereyourorganizationunitname
- typeinhereyourname
- typeinhereyouremailadress
- 3650 (this mean your certificate validity is 10 years)
- 3
- typeinhereyourcountrycode-like-DE or US or UK...
- typeinhereyourstate
- typeinhereyourcity
- typeinhereyourorganizationname
- typeinhereyourorganizationunitname
- typeinhereyourinternetadress
- typeinhereyouremailadress
- 3650 (this mean your certificate validity is 10 years)
- 3
- n (! in step 7 of the setup)
- n (! in step 8 of the setup)
And know you have to wait...and pray again, īcause it can take a little while
Now there comes some questions needed by Spamassassin:
Last there are some questions about the configuration.
Answer it like the following:
- localhost
- root
- typeinhereyourmysqlpassword
- db_ispconfig (itīs the default)
- typeinhereyourserverIP like 85.123.456.789
- [I]h123456
- serverkompetenz.net
- 1 (itīs more secure with SSL)
Thatīs it - if you donīt see any ERROR-Message -> CONGRATIOLATIONS