HowtoForge

The (Almost) Perfect Setup - Debian Sarge (3.1) On A Strato Dedicated-Server (With ISPConfig) - Page 3

STEP 11 - Install and configure Apache - the server

Run the following steps:

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 (all in one line!)

Answer all questions with yes

DirectoryIndex index.html index.htm index.shtml index.cgi index.php
#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
#  AddType application/x-httpd-php .php .phtml .php3
#  AddType application/x-httpd-php-source .phps
Listen 80
Listen 443
a2enmod ssl

a2enmod rewrite

a2enmod suexec

a2enmod include

/etc/init.d/apache2 restart

STEP 12 - Install and configure ProFTPd - the ftp-server

apt-get install proftpd

Answer the question with initd.

DefaultRoot ~
IdentLookups off
ServerIdent on "FTP Server ready."
/etc/init.d/proftpd restart

STEP 13 - Install and Webalizer - the Logfile-analyzer

apt-get install webalizer

Answer the questions in following steps:

STEP 14 - Install some Perl-modules

perl -MCPAN -e shell

Answer the question with no !

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 (all in one line!)

If there comes a question with test answer with no !

The other questions with yes.

STEP 15 - Install and configure ISPConfig

cd /root

wget typeinhereyourfavoritemirror

tar xvfz ISPConfig-2.2.15.tar.gz

cd install_ispconfig

./setup

Answer the questions like that:



And know you have to wait...and pray :-P



The next few questions you have to answer like this:

(these questions are for the SSL-Server-certificates)

And know you have to wait...and pray again, ´cause it can take a little while :D Now there comes some questions needed by Spamassassin:



Last there are some questions about the configuration.

Answer it like the following:

That´s it - if you don´t see any ERROR-Message => CONGRATIOLATIONS

If you find some big mistakes in this HowTo => PLEASE MAIL ME, so I can correct them.

The (Almost) Perfect Setup - Debian Sarge (3.1) On A Strato Dedicated-Server (With ISPConfig) - Page 3