LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-04-2014, 01:30 AM   #1
LYC
Member
 
Registered: Jan 2014
Posts: 109

Rep: Reputation: Disabled
Newbie patching queries - RedHat


Hi,

Is there a similar way as "Solaris Live upgrade" in RedHat to perform patching to minimise the downtime?

Thanks in advance.
 
Old 03-04-2014, 01:20 PM   #2
MensaWater
LQ Guru
 
Registered: May 2005
Location: Atlanta Georgia USA
Distribution: Redhat (RHEL), CentOS, Fedora, CoreOS, Debian, FreeBSD, HP-UX, Solaris, SCO
Posts: 7,831
Blog Entries: 15

Rep: Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669
You can run "yum update" to update all packages including kernel to a later version. However you should reboot to use the new kernel after the update.

You don't have to update all packages at once or the kernel. You can do "yum update <package>" on any specific package.

Note that in RedHat Enteprise Linux (RHEL) the updates are from one minor version to another in the same major version and NOT from major to major. That is "yum update" on RHEL 5.3 will update you to the latest (e.g. RHEL5.10) in the major RHEL5 but will NOT update you to RHEL 6.x.

You can run "yum list installed" to see the packages you have via yum. (You can also run "rpm -qa" to see all installed rpms whether installed by yum or not.)

yum is a utility to address dependencies so it will find necessary packages to install when you are updating one without you having to go find them yourself. Prior to its introduction people used "rpm -i" to install but often would be stopped for a dependency and on doing the next depenency would be asked for yet another one which was called "dependency hell". Most folks don't have to deal with that now that yum is around.

If you type "man yum" you can find more detail of the use of the yum command.

Note that RHEL requires you to have registered your server for yum to be able to access their repositories.
 
  


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
Mixed bag of Newbie Queries. 0rinoco Linux - Newbie 29 05-19-2012 01:44 AM
Per-process memory queries on Redhat 5.3 (32 and 64-bit) sd136742 Linux - Software 2 08-20-2009 09:31 PM
Multiple linux-newbie queries nardz Linux - Newbie 9 03-29-2007 10:22 AM
newbie webserver queries. Trinity22 Linux - Newbie 5 08-22-2003 02:04 PM
upgrade queries to RedHat 9.0 dogma Linux - Newbie 1 05-23-2003 11:32 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:36 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