Archive

Archive for the ‘Apache’ Category

A Good Centos System Administration Book

February 3rd, 2009 No comments

I have been a big fan of the unleashed guides every since I purchased Mac OS X Tiger Unleashed. I loved this book as it was both great for beginners but had some reallly good advanced sections that allowed me to learn some great stuff on mac os x.

So, naturally, when I was looking for a guide to Centos, I purchased another unleashed book. As you probably know, Red Hat Enterprise Linux (RHEL) and Centos are basically the same product, minus the proprietary Redhat pieces and non GPL pieces that are not legally available for free. CentOS takes the GPL portions and repackages them as CentOS. This logically led me to Red Hat Enterprise Linux 5 Administration Unleashed. I found this to be a decent book that is great starting point for using Centos, though not as advanced as I would have liked.





Anyone have any suggestions for an advanced system admin book for Centos?

How To Upgrade to PHP 5.2.6 on Centos 5.2

December 19th, 2008 No comments

The default install on a Centos 5.2 is installs php 5.1.6, sometimes you need 5.2.6

See - http://www.jasonlitka.com/yum-repository/

Install utterramblings repo’s

vi /etc/yum.repos.d/utterrambling.repo

Insert the following

[utterramblings]

name=Jason’s Utter Ramblings Repo

baseurl=http://www.jasonlitka.com/media/EL5/i386/

enabled=1

gpgcheck=1

gpgkey=http://www.jasonlitka.com/media/RPM-GPG-KEY-jlitka

Change the baseurl to http://www.jasonlitka.com/media/EL5/x86_64 if 64 bit.

Then upgrade php.

yum upgrade php


Categories: Apache, Centos 5.2 Tags: ,

How To add SSL to Apache on Centos 5.2

December 15th, 2008 No comments
Categories: Apache, Centos 5.2 Tags:

Use Zenoss to Monitor Apache on Centos 5.2

December 4th, 2008 No comments

Create a file in /etc/httpd/conf.d

touch zenoss.conf

Put this in zenoss.conf

#This allows zenoss to get stats from apache.

ExtendedStatus on

SetHandler server-status

Order deny,allow

Deny from all

Allow from YOURIPorYOURDOMAINNAME

Restart apache.

service httpd restart

On Zenoss, ensure the zenpack-apache is bound to your device.

Categories: Apache, Centos 5.2, Zenoss Tags: ,