LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 08-17-2008, 07:19 AM   #1
watcher69b
Member
 
Registered: Nov 2007
Location: /home/watcher69b
Distribution: RH, Fedora & CentOS
Posts: 552

Rep: Reputation: 41
Question 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?
 
Old 08-17-2008, 07:38 AM   #2
billymayday
LQ Guru
 
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678

Rep: Reputation: 122Reputation: 122
Yes. I believe so. Apparently, yes.
 
Old 08-17-2008, 08:27 AM   #3
b0uncer
LQ Guru
 
Registered: Aug 2003
Distribution: CentOS, OS X
Posts: 5,131

Rep: Reputation: Disabled
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..
 
Old 08-17-2008, 08:49 AM   #4
watcher69b
Member
 
Registered: Nov 2007
Location: /home/watcher69b
Distribution: RH, Fedora & CentOS
Posts: 552

Original Poster
Rep: Reputation: 41
Quote:
I thought if you go with RH, you'd stick to their official support and reposities? Or just go with CentOS instead..
the problem is that my company loves RH. I like CentOS because it is free. Since you have to pay for updates and the Red Hat Network (RHN) i want to find a way that they can use RH and i dont feel bad paying for updates...
 
Old 08-17-2008, 11:04 AM   #5
sarajevo
Member
 
Registered: Apr 2005
Distribution: Debian, OpenBSD,Fedora,RedHat
Posts: 228
Blog Entries: 1

Rep: Reputation: 31
Quote:
Originally Posted by watcher69b View Post
the problem is that my company loves RH. I like CentOS because it is free. Since you have to pay for updates and the Red Hat Network (RHN) i want to find a way that they can use RH and i dont feel bad paying for updates...
You want free and stable system ...go for it www.debian.org, by the way many people think that debian stable is better in all fields than RHEL.
I believe it is true, debian is solid rock
 
Old 01-11-2009, 12:27 PM   #6
watcher69b
Member
 
Registered: Nov 2007
Location: /home/watcher69b
Distribution: RH, Fedora & CentOS
Posts: 552

Original Poster
Rep: Reputation: 41
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!
 
Old 01-11-2009, 02:03 PM   #7
billymayday
LQ Guru
 
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678

Rep: Reputation: 122Reputation: 122
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
centos samba not working after updates mjh Red Hat 2 12-06-2007 08:25 PM
redhat 9 updates Lubricant_Larry Linux - Newbie 1 11-24-2004 01:36 PM
Redhat Updates Mega Man X Linux - General 2 05-17-2003 03:21 PM
RedHat 7.2 updates JoC Linux - General 8 12-09-2002 03:16 PM
Redhat 7.1 Updates Streams Linux - Newbie 9 08-05-2002 03:02 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 08:09 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration