Install ISPconfig by nadytkj


									Install Postfix, Courier, MySQL, and
In order to use the email capabilities in ISPConfig, you will need to install the email applications
it depends on in order to function. More information on Postfix and Courier can be found in our
documentation, and you are encouraged to read it to gain a better understanding of this software.
MySQL is a relational database management system (RDBMS) that is commonly used for
dynamic web pages and email. If you have already installed this, you will not need to install is as
part of the ISPConfig installation process. You are encouraged to read the MySQL
documentation. You will need to read the documentation for detailed installation instructions.

Issue the following command (all one line):

apt-get install postfix postfix-mysql postfix-doc mysql-client mysql-server
courier-authdaemon courier-authlib-mysql courier-pop courier-pop-ssl courier-
imap courier-imap-ssl libsasl2-2 libsasl2-modules libsasl2-modules-sql sasl2-
bin libpam-mysql openssl courier-maildrop getmail4 binutils

You will be asked a series of questions during the installation; please refer to the Postfix guide to
determine what the needs of your system will be. In most cases, the defaults are fine.

Install Amavisd-new and SpamAssassin
The following command will install spam protection for your email server. Please be advised
that using SpamAssassin by itself may consume a vast amount of system resources depending on
your configuration. You will want to tune this application according to the low memory settings.
Using amavisd-new should help alleviate some of these potential issues.

apt-get install amavisd-new spamassassin zoo unzip bzip2 arj nomarch lzop
cabextract apt-listchanges libnet-ldap-perl libauthen-sasl-perl clamav-docs
daemon libio-string-perl libio-socket-ssl-perl libnet-ident-perl zip libnet-

Install Apache, PHP, phpMyAdmin, FCGI,
suExec, Pear, and mcrypt
The following command will install the Apache web server and some other applications and their
dependencies. If you have already installed the LAMP stack, you will not need to install Apache
again. However, you will need the other packages for other aspects of the ISPConfig installation.

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

You will then need to enable some modules in Apache. Issue the following command:

a2enmod suexec rewrite ssl actions include

Install Vlogger and Webalizer
Vlogger is a tool that logs information regarding Apache. Webalizer can then be used to analyze
these logs and generate statistics. This step is completely optional, but you may find these tools
useful for seeing website traffic.

apt-get install vlogger webalizer

More information on Webalizer can be found in our Webalizer documentation.

Install fail2ban
Installing fail2ban is entirely optional, however ISPConfig can manage this service and show
you the log output from it:

apt-get install fail2ban

More information regarding fail2ban can be found in our fail2ban guide.

Installing ISPConfig
You are now ready to extract and install ISPConfig. To do this, issue the following commands:

cd /tmp
tar -xvf ISPConfig-3.0.3.tar.gz
cd ispconfig3_install/install

You may now start the installation process by issuing:

php -q install.php

This script will configure services that you installed above to be monitored and controlled by
ISPConfig. You will be asked a series of questions; in most cases the default answers will
suffice. If you have configured services on your system in a manner that differs from the default,
edit the answers accordingly.
Once it has completed, you may log into the control panel. By default, ISPConfig runs on port
8080, so you may find it at Replace with your
Linode's IP. The default login uses "admin" as the username and "admin" as the password. You
will want to change these to prevent someone from accessing your system.

To top