DaemonForums  

Go Back   DaemonForums > Other Operating Systems > Other BSD and UNIX/UNIX-like

Other BSD and UNIX/UNIX-like Any other flavour of BSD or UNIX that does not have a section of its own.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 16th June 2008
stukov's Avatar
stukov stukov is offline
Real Name: Jean-Michel Philippon-Nadeau
Package Pilot
 
Join Date: May 2008
Location: Sherbrooke, Qc, Canada
Posts: 167
Thanked 6 Times in 6 Posts
Default Changing package repositories from RHEL to CentOS

Hello,

Is it possible to change the repository in place for updates on a running RHEL 3/4/5 from Red Hat to CentOS? I suppose this should work as it is, basically, almost the same OS. Right?

Thanks!
__________________
"Any intelligent fool can make things bigger, more complex, and more violent. It takes a touch of genius -- and a lot of courage -- to move in the opposite direction."
Reply With Quote
  #2   (View Single Post)  
Old 16th June 2008
scottro's Avatar
scottro scottro is offline
Real Name: Scott Robbins
Spam Deminer
 
Join Date: Apr 2008
Location: NYC
Posts: 307
Thanked 31 Times in 25 Posts
Default

That strikes me as risky. Wouldn't you lose your support?

I would think, however, that you could add various repos, especially the Dag Wiers one, to your /etc/yum.repos.d. On the other hand, I have no idea how this would affect support status.
Reply With Quote
  #3   (View Single Post)  
Old 16th June 2008
stukov's Avatar
stukov stukov is offline
Real Name: Jean-Michel Philippon-Nadeau
Package Pilot
 
Join Date: May 2008
Location: Sherbrooke, Qc, Canada
Posts: 167
Thanked 6 Times in 6 Posts
Default

Thanks for the reply scottro.

Support is not an issue here, as our site-wide support will expire in a month or two.

I commonly use Dag's repository. However, I am looking for something that went through a little more testing. This is why I liked RHEL's packages. I suppose CentOS packages are as tested as those offered by Red Hat. Aren't they?
__________________
"Any intelligent fool can make things bigger, more complex, and more violent. It takes a touch of genius -- and a lot of courage -- to move in the opposite direction."
Reply With Quote
  #4   (View Single Post)  
Old 16th June 2008
anomie's Avatar
anomie anomie is offline
Local
 
Join Date: Apr 2008
Location: Texas
Posts: 446
Thanked 69 Times in 46 Posts
Default

Quote:
Originally Posted by stukov
Is it possible to change the repository in place for updates on a running RHEL 3/4/5 from Red Hat to CentOS?
I have heard (i.e. on various forums) that this is possible. The theory is that RHEL4 should get along with CentOS 4 repos, etc... I can't say I vouch for it, and I can't say anyone I trust has explicitly said this.

On my RHEL servers I only use RHN repositories. For any software that I can't get through the RHN, I carefully build/install from source (to /usr/local). I don't like doing even that.

As for the support complications scottro spoke to: since this will almost certainly void your support contract, maybe consider just changing the box to CentOS instead if needed.
__________________
Kill your t.v.
Reply With Quote
  #5   (View Single Post)  
Old 16th June 2008
scottro's Avatar
scottro scottro is offline
Real Name: Scott Robbins
Spam Deminer
 
Join Date: Apr 2008
Location: NYC
Posts: 307
Thanked 31 Times in 25 Posts
Default

Can you set up a sacrificial test machine? I had thought that something about this was in the CentOS faq, but it isn't--nor did a quick search of the forums find an answer.

A bit more googling around indicated it's possible, and in theory, it seems as if it should work. There have to be some guides around, I just haven't found any.

Ah, on the CentOS wiki, I should have gone there first.

http://wiki.centos.org/HowTos/MigrationGuide

Look for
Migration from RHEL5 to CentOS5
Reply With Quote
  #6   (View Single Post)  
Old 16th June 2008
stukov's Avatar
stukov stukov is offline
Real Name: Jean-Michel Philippon-Nadeau
Package Pilot
 
Join Date: May 2008
Location: Sherbrooke, Qc, Canada
Posts: 167
Thanked 6 Times in 6 Posts
Default

Thanks for the warnings and the link.

I have just what it takes here to do the test: a good machine running RHEL5 ready for sacrifice. I'm going to follow the procedure described on the wiki and document how it went.

Thanks!
__________________
"Any intelligent fool can make things bigger, more complex, and more violent. It takes a touch of genius -- and a lot of courage -- to move in the opposite direction."
Reply With Quote
  #7   (View Single Post)  
Old 16th June 2008
stukov's Avatar
stukov stukov is offline
Real Name: Jean-Michel Philippon-Nadeau
Package Pilot
 
Join Date: May 2008
Location: Sherbrooke, Qc, Canada
Posts: 167
Thanked 6 Times in 6 Posts
Default

Worked with no issues from RHEL5 to CentOS5 with the WIKI you provided scottro. Nothing broken yet.
__________________
"Any intelligent fool can make things bigger, more complex, and more violent. It takes a touch of genius -- and a lot of courage -- to move in the opposite direction."
Reply With Quote
  #8   (View Single Post)  
Old 16th June 2008
scottro's Avatar
scottro scottro is offline
Real Name: Scott Robbins
Spam Deminer
 
Join Date: Apr 2008
Location: NYC
Posts: 307
Thanked 31 Times in 25 Posts
Default

Knock wood and don't tempt the computer gods.

Glad it's working, and it's good to know that all of us who expressed an opinion were right.
Reply With Quote
  #9   (View Single Post)  
Old 16th June 2008
lvlamb's Avatar
lvlamb lvlamb is offline
Real Name: Louis V. Lambrecht
Spam Deminer
 
Join Date: May 2008
Location: .be
Posts: 221
Thanked 25 Times in 24 Posts
Default

All Linux distros come with specific kernel patches.
Mixing rpm's should be OK until the system breaks. You are warned

Note that, there are rpms and rpms. Some are just shell or Perl scripts, some install in a dedicated per version subdir without intercourse.
As long as you know what you are doing.
__________________
da more I know I know I know nuttin'
Reply With Quote
Old 16th June 2008
scottro's Avatar
scottro scottro is offline
Real Name: Scott Robbins
Spam Deminer
 
Join Date: Apr 2008
Location: NYC
Posts: 307
Thanked 31 Times in 25 Posts
Default

Your sig is apropos for me today. I did an upgrade of Fedora 8 to Fedora 9 today (on my workstation, not a server of course) and killed X. Fixed it though.

The CentOS people do a lot of testing and their wiki articles are also reviewed--so, in general (I'm sure there are exceptions), if the wiki says it is safe, it probably is.

Of course, stukov does have that test box, in case it isn't.
Reply With Quote
Old 17th June 2008
stukov's Avatar
stukov stukov is offline
Real Name: Jean-Michel Philippon-Nadeau
Package Pilot
 
Join Date: May 2008
Location: Sherbrooke, Qc, Canada
Posts: 167
Thanked 6 Times in 6 Posts
Default

Thanks for the warn lvlamb. I can take the risk, the machine I've tried this on is only taking pictures on webcams with "motion". If something breaks, I'll let you know. I'll leave it this way a few weeks, and I then will switch real production server to CentOS.
__________________
"Any intelligent fool can make things bigger, more complex, and more violent. It takes a touch of genius -- and a lot of courage -- to move in the opposite direction."
Reply With Quote
Reply

Thread Tools
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Cacti performance OBSD vs. CentOS ai-danno General software and network 8 3rd July 2008 08:51 PM
Changing resolution Cloud General software and network 3 27th June 2008 06:03 PM
FreeBSD on Xen (CentOS) deadeyes FreeBSD Installation and Upgrading 3 22nd June 2008 06:46 PM
Multi Boot Fedora 9sulphur), centOS and FreeBSD FloridaBSD Other BSD and UNIX/UNIX-like 4 20th May 2008 06:26 PM
Looking to multi boot Fedora. CentOS and BSD FloridaBSD Off-Topic 4 19th May 2008 11:20 PM


All times are GMT. The time now is 01:52 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick