The Perfect Setup - Mandriva 2006 Free Edition - Page 6

Want to support HowtoForge? Become a subscriber!
 
Submitted by falko (Contact Author) (Forums) on Tue, 2005-11-29 16:32. ::

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
# <Limit SITE_CHMOD>
# DenyAll
# </Limit>

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


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.
Submitted by Anonymous (not registered) on Thu, 2006-05-11 15:14.
Only missed how to have also Perl, RubyOnRails and Python ;)
Submitted by Anonymous (not registered) on Fri, 2006-02-10 06:29.

Thanks for making it. I managed to follow it successfully and almost there with everything I need - including the successful install of ISPconfig but noticed that you didn't include at least base info on adding users accounts for emails and FTP. It would have been nice to see this. I'm currently trying to figure out how to do this part. Keep up the good work. Was good read.

Regards,

nibbles at gmail

Submitted by admin (registered user) on Fri, 2006-02-10 15:33.
You can find these details in the ISPConfig documentation: http://www.ispconfig.org/documentation.htm
Submitted by Anonymous (not registered) on Wed, 2005-12-21 22:33.
Thanks for this article, Falko, great work.

Small comments:
to start a service, on Mandriva I think it should be:
service [servicename] start
Not sure if it matters though...

As for non-automated updates, of course it's easy to see what would be updated if you use the -t testmode in the urpmi -update command, to make sure you keep track of everything. And it's easy to find out what the updates are for; one of the few things I prefer the GUI for (MCC - software updates).

Enjoy Linux,
Rob
www.mandrake.tips.4.free.fr

Submitted by Anonymous (not registered) on Fri, 2005-12-16 06:30.

Hi, nice howto but I do think is not a good idea to make automatic updates in a server because a sysadmin MUST to know what software is going to install plus there are many updates that need interaction with new config files.


Just my 2 cents.