View Single Post
  #2  
Old 19th April 2006, 01:22
TobiasTM TobiasTM is offline
Member
 
Join Date: Nov 2005
Location: Uffing am Staffelsee
Posts: 52
Thanks: 8
Thanked 0 Times in 0 Posts
Send a message via ICQ to TobiasTM
Default

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
  • run the following steps:
Code:
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:
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."
  • run the following step:
Code:
/etc/init.d/proftpd restart
STEP 13
Install and Webalizer - the Logfile-analyzer
  • run the following step:
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
  • run the following step:
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
  • run the following steps:
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:
  • 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
  • [I]h123456
  • serverkompetenz.net
  • 1 (itīs more secure with SSL)

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

Last edited by TobiasTM; 13th October 2006 at 00:02.
Reply With Quote