The Perfect Setup - CentOS 5.0 (32-bit) - Page 7

14 Webalizer

To install webalizer, just run

yum install webalizer

 

15 Synchronize The System Clock

If you want to have the system clock synchronized with an NTP server do the following:

yum install ntp
chkconfig --levels 235 ntpd on
ntpdate 0.pool.ntp.org
/etc/init.d/ntpd start

 

16 Install Some Perl Modules

ISPConfig 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

 

17 The End

The configuration of the server is now finished, and if you wish you can now install ISPConfig on it.

 

17.1 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 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
 -D AP_DOC_ROOT="/var/www"
 -D AP_GID_MIN=100
 -D AP_HTTPD_USER="apache"
 -D AP_LOG_EXEC="/var/log/httpd/suexec.log"
 -D AP_SAFE_PATH="/usr/local/bin:/usr/bin:/bin"
 -D AP_UID_MIN=500
 -D AP_USERDIR_SUFFIX="public_html"

Unless you change the default web root (which is /var/www) during the ISPConfig installation, you will be able to run CGI scripts under suExec with ISPConfig.

 

Share this page:

3 Comment(s)

Add comment

Comments

From: koka

thanks :)

it really helpes me configure server

 

regards

From: Anonymous

Thank you

From: John

thanks for the tutorial i have isconfig running now on vmware server - centos 5.0 with webmin to easy manage server.

if you have problem installing message flex run this:

yum install flex

transferring ISPConfig*.tar.gz tru proftpd follow this steps:

http://ubuntuforums.org/showthread.php?t=79588