«

»

Feb
01
2010

Using CentOS 5.4 as a Webserver

The first troubles i ran into was SELinux. For the sake of securing your server, it’s a good idea to leave it enabled, but it’s a pain in the ass at the beginning. So start reading the SELinux Manual.

rpmforge package repository

A lot of useful tools can’t be found with the yum command, because these packages don’t reside in the default CentOS repositories. rpmforge is a third-party repository of thousands of rpm packages, but to use it, we need to install it first:

instructions on how to to that can be found here

After your Apache server is up and running, we want to add a statistic tool for your webserver’s log files:

awstats 6.x on CentOS 5.4

1
2
3
sudo yum install awstats
sudo yum install perl-Geo-IP
sudo yum install GeoIP-data

Leave a Reply

Your email address will not be published.

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>