The Perfect Server - CentOS 5.3 i386 [ISPConfig 2] - Page 7

Want to support HowtoForge? Become a subscriber!
 
Submitted by falko (Contact Author) (Forums) on Mon, 2009-05-18 17:30. ::

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"
[root@server1 ~]#

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 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 Emilio (not registered) on Sat, 2009-05-30 22:32.
Dear Mr. Timme. I just performed the 5.1 installation yesterday. I guess I was feeling challenging and re-did a an old computer I have and where I run my home phone system.

No, I'm no expert, just a very amateur computer and technology attracted person.

The reason for writing to you today is just to say thank you and what a fantastic job you have done with these tutorial. I had used the same tutorial to just mid capacities about a year ago and yesterday I noticed I had learned a bit more so things went smoother but my amazement is in the care you put into them. Every single command as clockwork and at the end you know you have an excellent server setup.

As I'm writing to you I'm downloading 5.3 just because I ran into your latest tutorial. It's been raining here in S. Florida so, if my download goes ok I just might re-do the old box with a new 5.3.

Thank you so much. It is people like you that make the internet the beauty it is.

Sincerely,

Emilio Valle
Submitted by hAppz (not registered) on Fri, 2009-11-06 15:00.

NOTE: when you complete this howto i always install ispconfig with wget

1. cd /tmp

2. wget http://downloads.sourceforge.net/project/ispconfig/ISPConfig%202/ISPConfig-2.2.34/ISPConfig-2.2.34.tar.gz?use_mirror=voxel

3. tar xvfz ISPConfig-2.2.34.tar*

4. cd /install_ispconfig

5. ./setup

 

Think this is all....

:)

Submitted by Anonymous (not registered) on Thu, 2009-12-03 23:21.

Thank you, but...

4. cd /tmp/install_ispconfig

Fantastic guide, Congratulations. ^^

Submitted by Rex (registered user) on Wed, 2009-09-16 04:42.