Getting RPMs and yum updates from third party stores
There are plenty of third party RPM sites, which provide updates and software for Centos/Red Hat distros, over and above the standard sets. Read this article before doing anything.
http://wiki.centos.org/AdditionalResources/Repositories
Set priorities to prevent base packages being overwritten
The next step would appear to be sorting the RPM priorities, before connecting to any additional repositories. This is how you do that.
- Make sure in /etc/yum.conf we have plugins=1
- yum install yum-priorities
- edit /etc/yum/pluginconf.d/priorities.conf and make sure enabled=1
- Edit /etc/yum.conf or /etc/yum.repos.d/*.repo and set the priority=1-99. Higher numbers won't overwrite lower, so set the Centos ones as 1 or 2
- yum install yum-protectbase.noarch to protect base packages (with Centos 6, this was just yum install yum-protectbase)
mod_limitipconn
To get mod_limitipconn, we connected to ATrpms.
The instructions are here: http://atrpms.net/documentation/install/
Make sure you use the PGP/GPG keys when connecting, and indeed when downloading and installing any third party software, even from sources like Apache.
More on yum
If you know you need a script e.g. sealert, but you don't know what package it comes with, the following is what you need:
yum provides *sealert
This gives
setroubleshoot-server-2.0.5-5.el5.noarch : SELinux troubleshoot server Repo : base Matched from: Filename : /usr/bin/sealert
(And other stuff too). So then it's
yum install setroubleshoot-server