VMware Images:
|
CentOS 4.6 Server Setup: LAMP, Email, DNS, FTP, ISPConfig (a.k.a. The Perfect Server) - Page 6
12 ProFTPdISPConfig has better support for proftpd than vsftpd, so let's remove vsftpd: yum remove vsftpd Because CentOS has no proftpd package, we must use a third-party yum repository to install it: cd /etc/yum.repos.d/ Now we can install proftpd: yum install proftpd Let's create proftpd's system startup links and start it: chkconfig --levels 235 proftpd on Then create the file /etc/pam.d/ftp with the following content (otherwise you will not be able to log in with system users using FTP): vi /etc/pam.d/ftp
and restart proftpd: /etc/init.d/proftpd restart
13 WebalizerTo install webalizer, just run yum install webalizer
14 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
15 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-DBI perl-Net-DNS perl-Digest-SHA1 We also need the module HTML::Parser. We could install the CentOS package perl-HTML-Parser, but this version is too old for the SpamAssassin version that comes with ISPConfig. It would result in the following error message during ISPConfig installation: REQUIRED module out of date: HTML::Parser Therefore we must install the latest HTML::Parser using the Perl shell. 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. Because there's no ncftp package for CentOS, the Perl shell cannot find the programs ncftpget and ncftp, and you'll see something like this: Warning: ncftpget not found in PATH It's ok to hit ENTER in both cases. 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. Now type in the following command to install the Perl module HTML::Parser: install HTML::Parser If the installation is successful, you'll see a line like this at the end: /usr/bin/make install -- OK Type q afterwards to leave the Perl shell.
16 The EndThe configuration of the server is now finished, and if you wish you can now install ISPConfig on it.
16.1 A Note On SuExecIf you want to run CGI scripts under suExec, you should specify /var/www as the home directory for websites created by ISPConfig as CentOS' 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).
17 Links
|
www.seamlessenterprise.com
One number. One voicemail. Seize the lead. Sprint Mobile Integration.
www.seamlessenterprise.com
One Number. One Voicemail.
Make it easier for clients to reach you. Turn your desk phone and mobile phone into one with Sprint Mobile Integration.
www.seamlessenterprise.com
One number. One voicemail. Sprint Mobile Integration.
www.seamlessenterprise.com
AT&T Synaptic Compute as a Service. Boost your power on demand.
Trial: IBM Cognos Express Reporting, Analysis & Planning
Learn benefits of Simpana software.
View the Gartner Video




print: 

Recent comments
19 hours 29 min ago
22 hours 13 min ago
1 day 3 hours ago
1 day 6 hours ago
1 day 6 hours ago
1 day 8 hours ago
1 day 9 hours ago
1 day 15 hours ago
1 day 16 hours ago
1 day 19 hours ago