VMware Images:
|
Fedora 8 Server Setup: LAMP, Email, DNS, FTP, ISPConfig - Page 6
14 ProFTPd (Part 1)ISPConfig has better support for proftpd than vsftpd, so let's remove vsftpd and install proftpd: yum remove vsftpd yum install proftpd Now we can create the system startup links for Proftpd and start it: chkconfig --levels 235 proftpd on
15 WebalizerTo install webalizer, just run yum install webalizer
16 Synchronize The System ClockIf you want to have the system clock synchronized with an NTP server do the following: yum install ntp chkconfig --levels 235 ntpd on
17 Install Some Perl ModulesISPConfig comes with SpamAssassin which needs a few Perl modules to work. We install the required Perl modules with a single command: yum install perl-HTML-Parser perl-DBI perl-Net-DNS perl-Digest-SHA1
18 The EndThe configuration of the server is now finished, and if you wish you can now install ISPConfig on it, following these instructions: http://www.ispconfig.org/manual_installation.htm
18.1 A Note On SuExecIf you want to run CGI scripts under suExec, you should specify /var/www as the web root for websites created by ISPConfig as Fedora's suExec is compiled with /var/www as Doc_Root. Run /usr/sbin/suexec -V and the output should look like this: [root@server1 ~]# /usr/sbin/suexec -V So if you want to use suExec with ISPconfig, don't change the default web root (which is /var/www) if you use expert mode during the ISPConfig installation (in standard mode you can't change the web root anyway so you'll be able to use suExec in any case).
18.2 ProFTPd (Part 2)(This chapter applies only if you have installed ISPConfig!) After you have installed ISPConfig, you must modify the template file for /etc/proftpd_ispconfig.conf which is called /root/ispconfig/isp/conf/proftpd_ispconfig.conf.master, because otherwise the users that you create with ISPConfig won't be able to log in using FTP. Instead of modifying /root/ispconfig/isp/conf/proftpd_ispconfig.conf.master (which gets overwritten each time you update ISPConfig) we copy /root/ispconfig/isp/conf/proftpd_ispconfig.conf.master to /root/ispconfig/isp/conf/customized_templates/ and modify that one. If ISPConfig finds a template in /root/ispconfig/isp/conf/customized_templates/, it will use that one instead of the default template in /root/ispconfig/isp/conf/. Templates in /root/ispconfig/isp/conf/customized_templates/ don't get overwritten when you update ISPConfig. cp /root/ispconfig/isp/conf/proftpd_ispconfig.conf.master /root/ispconfig/isp/conf/customized_templates/ Now open /root/ispconfig/isp/conf/customized_templates/proftpd_ispconfig.conf.master and comment out the DefaultAddress 127.0.0.1 line: vi /root/ispconfig/isp/conf/customized_templates/proftpd_ispconfig.conf.master
19 Links
|




print: 
Recent comments
16 hours 26 min ago
17 hours 13 min ago
21 hours 35 min ago
22 hours 31 min ago
1 day 4 hours ago
1 day 5 hours ago
1 day 8 hours ago
1 day 12 hours ago
1 day 13 hours ago
1 day 14 hours ago