The Perfect Setup - Mandriva 2006 Free Edition - Page 6
Proftpd
urpmi proftpd
/etc/init.d/proftpd start
For security reasons you can add the following lines to /etc/proftpd.conf (thanks to Reinaldo Carvalho; more information can be found here: http://proftpd.linux.co.uk/localsite/Userguide/linked/userguide.html):
DefaultRoot ~
IdentLookups off
ServerIdent on "FTP Server ready."
Be sure to comment out the following lines in /etc/proftpd.conf in order to allow ftp users to CHMOD:
# Bar use of SITE CHMOD by default |
and restart Proftpd:
/etc/init.d/proftpd restart
Webalizer
To install webalizer, simply run
urpmi webalizer
Install some Perl Modules needed by SpamAssassin (comes with ISPConfig)
To install all needed Perl Modules, we can use the appropriate Mandriva packages and install them using urpmi:
urpmi perl-HTML-Parser perl-Digest-SHA1 perl-DB_File perl-Net-DNS
The End
The configuration of the server is now finished, and if you wish you can now install ISPConfig on it.
A Note On SuExec
If you want to run CGI scripts under suExec, you should specify /var/www as the home directory for websites created by ISPConfig as Mandriva's suExec is compiled with /var/www as Doc_Root. Run /usr/sbin/suexec -V, and the output should look like this:
To select /var/www as the home directory for websites during the installation of ISPConfig do the following: When you are asked for the installation mode, select the expert mode.
Later during the installation you are asked if the default directory /home/www should be the directory where ISPConfig will create websites in. Answer n and enter /var/www as the home directory for websites.
Links