Redhat 5 and CentOS updates?
Since RH 5 and CentOS 5 are almost 99% the same can i point my RH servers to CentOS repos? Would it work? Has anyone tried it?
|
Yes. I believe so. Apparently, yes.
|
They say CentOS should be "RH with logos and such stripped", so based on that there should be no problems. Don't take that granted because I said it, though -- I haven't tried it myself. But why would you want to use CentOS repos for RH, if you're using RH (which is commercial, right?) -- I thought if you go with RH, you'd stick to their official support and reposities? Or just go with CentOS instead..
If you do mix up the two, make sure you have working backups available in case something goes wrong :) a testing environment wouldn't be bad either, but I guess if you had one, you wouldn't have asked in the first place.. |
Quote:
|
Quote:
I believe it is true, debian is solid rock |
OK here is how I got this to work...
touch /etc/yum.repos.d/centos.repo vi centos.repo paste this into the file ############################################################ ## RedHat EL5 using CentOS 5 repos. ## ############################################################ [base] name=Red Hat Linux - Base #mirrorlist=http://mirror.centos.org/centos-5/5/os/i386/repodata/ baseurl=http://mirror.centos.org/centos-5/5/os/i386/ #gpgcheck=1 #gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-CentOS-5 #priority=1 #released updates [updates] name=Red Hat Linux - Updates #mirrorlist=http://mirror.centos.org/centos/5/updates/i386/repodata/ baseurl=http://mirror.centos.org/centos-5/5/updates/i386/ #gpgcheck=1 #gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-CentOS-5 #priority=1 #packages used/produced in the build but not released #[addons] #name=CentOS-5 - Addons #mirrorlist=http://mirror.centos.org/centos/5/addons/i386/repodata/ #baseurl=http://mirror.centos.org/centos/5/addons/i386/repodata/ #gpgcheck=1 #gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-CentOS-5 #priority=1 #additional packages that may be useful #[extras] #name=CentOS-5 - Extras #mirrorlist=http://mirror.centos.org/centos/5/extras/i386/ #baseurl=http://mirror.centos.org/centos/5/extras/i386/ #gpgcheck=1 #gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-CentOS-5 #priority=1 ############################## # end of file # ############################## once you have pasted then qw Good luck! |
You didn't need the "touch" step btw.
If you would like the complete set of CentOS .repo files, send me an address via an email by clicking on my name to the left and I can email them to you. |
All times are GMT -5. The time now is 02:48 PM. |