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

Want to support HowtoForge? Become a subscriber!
 
Submitted by tomw (Contact Author) (Forums) on Wed, 2006-05-10 12:23. ::

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

Please do not use the comment function to ask for help! If you need help, please use our forum.
Comments will be published after administrator approval.