What version of RHEL are you running? 4, 5, 6? In any case, the process is this.
1. Login as root
2. cd to /etc/yum.repos.d
3. Remove red hat specific .repo files.
4. Copy CentOS or Scientific Linux repo files to /etc/yum.repos.d
5. You should be done, except to install/update your packages
I ask what version you are running because I have the repos for CentOS 5 as well as SL6. I can get the repos for you for SL back to version 3, but if your RHEL system is that old, you would be well advised to update pdq.
rubberman
Posting Virtuoso
1,559 posts since Mar 2010
Reputation Points: 277
Solved Threads: 178