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

  • open and edit the file /etc/apache2/apache2.conf.
  • But only the line DirectoryIndex index.html index.cgi index.pl index.php index.xhtml
DirectoryIndex index.html index.htm index.shtml index.cgi index.php
  • open the file /etc/mime.types.
  • comment out the following lines (with #):
#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 #):
#  AddType application/x-httpd-php .php .phtml .php3
#  AddType application/x-httpd-php-source .phps
  • open the file /etc/apache2/ports.conf.
  • add the line Listen 443:
Listen 80
Listen 443
  • run the following steps:
a2enmod ssl

a2enmod rewrite

a2enmod suexec

a2enmod include

/etc/init.d/apache2 restart

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

  • run the following step:
apt-get install proftpd

Answer the question with initd.

  • open the file /etc/proftpd.conf.
  • add the following lines:
DefaultRoot ~
IdentLookups off
ServerIdent on "FTP Server ready."
  • run the following step:
/etc/init.d/proftpd restart

STEP 13 - Install and Webalizer - the Logfile-analyzer

  • run the following step:
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

  • run the following step:
perl -MCPAN -e shell

Answer the question with no !

  • go ahead by running the following steps:
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

  • run the following steps:
cd /root

wget typeinhereyourfavoritemirror

tar xvfz ISPConfig-2.2.15.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 :-P



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 :D Now there comes some questions needed by Spamassassin:

  • typeinhereatext



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
  • h123456
  • serverkompetenz.net
  • 1 (it´s more secure with SSL)

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.

Share this page:

0 Comment(s)