mod_security and Centos 5.5

Hi

Can anyone give me instructions on how to install mod_security on CentOS 5.5? Everything I've found seems to be out of date.

7 Replies

yum install mod_security

yum install mod_security

Loaded plugins: downloadonly, fastestmirror

Loading mirror speeds from cached hostfile

  • addons: mirror.nwresd.org

  • base: mirror.5ninesolutions.com

  • extras: mirrors.kernel.org

  • rpmforge: fr2.rpmfind.net

  • updates: centos-distro.cavecreek.net

addons | 951 B 00:00

base | 2.1 kB 00:00

extras | 2.1 kB 00:00

rpmforge | 1.1 kB 00:00

updates | 1.9 kB 00:00

Setting up Install Process

No package mod_security available.

Nothing to do

Darn they must have removed it from centos :(

Try checking the rpmforge and epel repositories here http://wiki.centos.org/AdditionalResources/Repositories

I checked, but latest I could find for repos was 5.4… didn't want to break things when I am running 5.5.

Hrmm I imagine http://download.fedora.redhat.com/pub/e … urity.html">http://download.fedora.redhat.com/pub/epel/5/i386/repoview/mod_security.html will suffice even if it is for 5.4 (I can't see anything that says and I don't have a centos box to check).

I don't know how critical what you're running is, if you can afford a few minutes downtime just install it, if it doesn't work, remove it.

If it's some mission critical stuff you can create a linode512 and install it on there, it'll cost you less than a dollar for a day.

Thanks, I'll make a new one and try it. I wonder why there is no 5.5 repos, it has been available for some time. Also wonder why PHP is an older version in CentOS.

Centos in my experience doesn't get "new" packages it sticks with old..(sometimes very old) tried and tested. I just did a quick check of the centos repos and unless I'm mistaken centos5 has php5.1.6…that's scary, even debian's not that far behind.

Reply

Please enter an answer
Tips:

You can mention users to notify them: @username

You can use Markdown to format your question. For more examples see the Markdown Cheatsheet.

> I’m a blockquote.

I’m a blockquote.

[I'm a link] (https://www.google.com)

I'm a link

**I am bold** I am bold

*I am italicized* I am italicized

Community Code of Conduct