Debian Sarge (3.1) with Ruby on Rails and Apache 2 with FastCGI - Page 5

Install Proftpd

apt-get install proftpd

To the prompt: Run proftpd from inetd or standalone? answer standalone

For security reasons you can add the following lines to /etc/proftpd.conf

joe /etc/proftpd.conf
DefaultRoot ~
IdentLookups off
ServerIdent on "FTP Server ready."

and restart Proftpd:

/etc/init.d/proftpd restart

Install Webalizer

apt-get install webalizer

To the prompts:

Which directory should webalizer put the output in? answer /var/www/webalizer
Enter the title of the reports webalizer will generate. answer Usage Statistics for
What is the filename of the rotated webserver log? answer /var/log/apache/access.log.1

Synchronize the System Clock

It is a good idea to synchronize the system clock with an NTP (network time protocol) server over the internet.

apt-get install ntp ntpdate

Install some Perl Modules needed by SpamAssassin (comes with ISPConfig)

Installation using the Perl Shell

Login to your command line as root and run the following command to start the Perl shell:

perl -MCPAN -e shell

If you run the Perl shell for the first time you will be asked some questions. In most cases the default answers are ok.

Please note: If you run a firewall on your system you might have to turn it off while working on the Perl shell in order for the Perl shell to be able to fetch the needed modules without a big delay. You can switch it on afterwards.

Run the following commands to upgrade CPAN

install Bundle::CPAN

Accept defaults at all prompts

reload cpan

Run the following commands to install the modules needed by SpamAssassin:

install HTML::Parser
install DB_File
install Net::DNS

When prompted to enable tests, choose no.

Type

q

to leave the Perl shell).

If a module is already installed on your system you will get a message similar to this one:

HTML::Parser is up to date.

Successful installation of a module looks like this:

/usr/bin/make install -- OK
Share this page:

0 Comment(s)