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?
Categories: Apache, Centos 5.2, Command Line, General, General Command Line, Mysql, Networking, Open Source, RHEL5, Security, Snort, Zenoss Tags: Centos
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
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.