Home > Sysadmin > Using CentOS 5.4 as a Webserver

Using CentOS 5.4 as a Webserver

February 1st, 2010 Leave a comment Go to comments

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
Share and Enjoy:
  • Print
  • Digg
  • del.icio.us
  • Facebook
  • Google Bookmarks
  • MisterWong
  • StumbleUpon
  • Twitter
Categories: Sysadmin Tags:
  1. No comments yet.
  1. No trackbacks yet.