LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Password
Red Hat This forum is for the discussion of Red Hat Linux.

Notices

Reply
 
LinkBack Search this Thread
Old 02-05-2010, 09:35 AM   #1
scottyp55
Member
 
Registered: Oct 2009
Posts: 53

Rep: Reputation: 21
YUM to update servers


I'm somewhat new to Red Hat and Linux in general. I've been reading that you can use YUM to update Linux servers. Can anyone point me to a good tutorial on setting this up? Everything I've been reading is general and vague. I'm looking for a way to keep all our Linux servers updated with critical and security patches from Red Hat. Does this require a subscription or is it free?

Thanks,
Scott
 
Old 02-05-2010, 11:18 AM   #2
DrLove73
Senior Member
 
Registered: Sep 2009
Location: Srbobran, Serbia
Distribution: CentOS 5.5 i386 & x86_64
Posts: 1,113
Blog Entries: 1

Rep: Reputation: 124Reputation: 124
Red Hat's RHEL's are updated with application called up2date, and you need the subscription to do it. If you can or will not pay, You should convert to CentOS, practically the copy of RHEL, but without subscription and official support from Red Hat. CentOS does use yum for update, and there is relatively easy conversion path from RHEL to CentOS (and reverse) by (almost) just changing repository for updates and updating gradually from one distro to another.

If you use Fedora for servers, typing "yum update" should start the update.

Last edited by DrLove73; 02-05-2010 at 11:19 AM.
 
Old 02-05-2010, 03:19 PM   #3
scottyp55
Member
 
Registered: Oct 2009
Posts: 53

Original Poster
Rep: Reputation: 21
Unfortuantely my management doesn't want to pay for the subscriptions for all our servers. Is there any way to get patches for Red Hat for free or am I pretty much out of luck?

Thanks,
Scott
 
Old 02-05-2010, 07:35 PM   #4
DrLove73
Senior Member
 
Registered: Sep 2009
Location: Srbobran, Serbia
Distribution: CentOS 5.5 i386 & x86_64
Posts: 1,113
Blog Entries: 1

Rep: Reputation: 124Reputation: 124
You might be able to pay only for one system and use it co create local repository. That would also save some bandwidth in case of large number of servers iven if they all have subscription.

Since RHEL systems will refuse to update automatically even from local repository, start thinking about converting RHEL systems over to CentOS. Since you will not pay for subscription, you will have no benefits like prompt support by staying on RHEL, so converting to CentOS will assure you have regular updates and you will in both cases look for the help on the forums like this one.

CentOS is created from RHEL sources Red Hat publishes regularly, and for almost all intentions and purposes they are the the same thing. Many companies that have admins capable of solving problems on their own or with the third party help are using it in production.
 
Old 02-07-2010, 10:38 PM   #5
chrism01
Guru
 
Registered: Aug 2004
Location: Brisbane
Distribution: Centos 6.2, Centos 5.8
Posts: 11,696

Rep: Reputation: 900Reputation: 900Reputation: 900Reputation: 900Reputation: 900Reputation: 900Reputation: 900Reputation: 900
As of RHEL 5.x, its yum, not up2date.
The underlying db is still rpm.
http://kbase.redhat.com/faq/docs/DOC-2531

The only systems you can get support from RH from are those you've paid for.
If you're mgmnt won't pay, you have to cvt to Centos to get the updates.
Personally I'd go for a clean install, just to be on the safe side.
 
Old 02-08-2010, 04:25 AM   #6
DrLove73
Senior Member
 
Registered: Sep 2009
Location: Srbobran, Serbia
Distribution: CentOS 5.5 i386 & x86_64
Posts: 1,113
Blog Entries: 1

Rep: Reputation: 124Reputation: 124
This is really ridiculous. Just last week, in this exact forum, someone was correcting me that RHEL 5.x does not use yum, but only up2date! I wish you guys would have nice chat and agree on this issue. I only use CentOS so I am totally clueless and now I really do not know if I should even bother to answer questions related to updating or installing packages.
 
Old 02-08-2010, 12:27 PM   #7
scottyp55
Member
 
Registered: Oct 2009
Posts: 53

Original Poster
Rep: Reputation: 21
Well thanks to everyone for your advice. I guess we'll look into either paying for subscriptions or moving over to CentOS.
 
Old 02-08-2010, 02:31 PM   #8
ms233
LQ Newbie
 
Registered: Feb 2010
Posts: 4

Rep: Reputation: 1
Quote:
Originally Posted by scottyp55 View Post
Unfortuantely my management doesn't want to pay for the subscriptions for all our servers. Is there any way to get patches for Red Hat for free or am I pretty much out of luck?
Hi Scott,

You might want to let your management know that not buying subscriptions for all of your servers puts you in violation of the agreement you entered into with Red Hat. If they catch you doing this, they can disentitle the ones you did purchase.

Matt...
 
Old 02-08-2010, 05:56 PM   #9
chrism01
Guru
 
Registered: Aug 2004
Location: Brisbane
Distribution: Centos 6.2, Centos 5.8
Posts: 11,696

Rep: Reputation: 900Reputation: 900Reputation: 900Reputation: 900Reputation: 900Reputation: 900Reputation: 900Reputation: 900
@DrLove
Quote:
Release Found: Red Hat Enterprise Linux 5 and Later

The following table lists up2date and rpm commands used on earlier versions of Red Hat Enterprise Linux and their yum equivalents for use on Red Hat Enterprise Linux 5 and later.
from that page (RH knowledge base) I linked to earlier.

Whoever said RHEL 5.x uses up2date is wrong!
 
  


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
yum question: How to update from backed up yum cache? Arodef Linux - Software 2 02-02-2010 11:42 PM
erased yum.conf by forced yum-update in RHEL5.3, need help curiocurio Red Hat 3 04-21-2009 03:33 AM
Yum update stopped responding during kernel update install, now server load is high pulsorock Linux - Kernel 1 12-31-2008 01:55 AM
Yum on FC6. 'yum update' error. mufy Fedora 8 06-14-2007 02:03 AM
Query re: order of yum update and yum install jajtiii Linux - General 0 12-12-2005 12:48 PM


All times are GMT -5. The time now is 11:50 AM.

Main Menu
 
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
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration