RHEL/CentOS Repository clues

Daniel P. Stasinski mooooooo at avenues.org
Wed Jan 11 13:32:49 MST 2006


On Wed, 2006-01-11 at 13:34 -0500, vodhner at cox.net wrote:
> So, could someone please tutor me on the methods for
> setting up the repo lists so that all the major
> mainstream packages will be available in the
> RHEL/CentOS type environment?  Does it make sense to
> add Fedora repos as a last resort?  How do I arrange
> that the less stable choices will be used only after
> trying the more stable?

I would caution you to go slow down certain roads.  CentOS, like RHEL,
is great when you need rock solid stability.  When you want to go down
the road of always having the latest and greatest (unstable by its very
nature) you may as well run Fedora.

Sure, PHP5 is better than 4.  Do you really 5?  Will your apps not run
on 4?  PHP4 on RHEL is solid, is 5?

For better stable versions of what is already installed, I would stick
with their CentOS-Plus repo.  There you will find PHP 5.

For other additional packages that don't come with CentOS, use other
repositories sparingly.

If yum install postgresql came up dry,
your /etc/yum.repos.d/CentOS-Base.repo is hosed.

Here is what is in mine...

[base]
name=CentOS-$releasever - Base
baseurl=http://mirror.centos.org/centos/$releasever/os/$basearch/
gpgcheck=1
gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-centos4

#released updates
[update]
name=CentOS-$releasever - Updates
baseurl=http://mirror.centos.org/centos/$releasever/updates/$basearch/
gpgcheck=1
gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-centos4

#packages used/produced in the build but not released
[addons]
name=CentOS-$releasever - Addons
baseurl=http://mirror.centos.org/centos/$releasever/addons/$basearch/
gpgcheck=1
gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-centos4

#additional packages that may be useful
[extras]
name=CentOS-$releasever - Extras
baseurl=http://mirror.centos.org/centos/$releasever/extras/$basearch/
gpgcheck=1
gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-centos4

#additional packages that extend functionality of existing packages
[centosplus]
name=CentOS-$releasever - Plus
baseurl=http://mirror.centos.org/centos/$releasever/centosplus/$basearch/
gpgcheck=1
enabled=0
gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-centos4

#contrib - packages by Centos Users
[contrib]
name=CentOS-$releasever - Contrib
baseurl=http://mirror.centos.org/centos/$releasever/contrib/$basearch/
gpgcheck=1
enabled=0
gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-centos4

#packages in testing
[testing]
name=CentOS-$releasever - Testing
baseurl=http://mirror.centos.org/centos/$releasever/testing/$basearch/
gpgcheck=1
enabled=0
gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-centos4





-- 
| ---------------------------------------------------------------
| Daniel P. Stasinski         | http://www.disabilities-r-us.com/
| mooooooo at avenues.org        | http://www.scriptkitties.com/
| --------------------------- | ---------------------------------
| Jabber: mooooooo at jabber.org | Google Talk: mooooooo



More information about the PLUG-discuss mailing list