[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 531
  • Last Modified:

update kernel in RHEL 3 and 5

Hi,

While updating kernel of RHEL 3 and RHEL 5, what commands do we use ?

RHEL 3 - up2date kernel

RHEL 5 - yum update kernel

Is it yum install kernel or yum update ? I just wanted to confirm it so as to ensure that previous kernel remains there ....
0
its_ns_04
Asked:
its_ns_04
1 Solution
 
Khushal Singh NarookaCommented:
Hi,

For RHEL 3.0 use following.

up2date kernel

For RHEL 5.0 use following.

yum install kernel  (This will install latest kernel without replacing the old)

Else you can download the kernel and install using rpm to keep existing

rpm -ivh kernel.x.rpm

Thanks
KsN

Regards
0
 
askbCommented:
I would go with using up2date or yum as mentioned above and not with using only the rpm command as the rpm cmd does not resolve dependencies directly.
0
 
its_ns_04Author Commented:
ok say if i wish to update kernel and other packages, in that case,  what do i run  ?

is it simply going to be yum update ?

or something else ??
0
 
CrunchedCommented:
Yep, yum update will do that.  I would recommend doing a yum install kernel though - this will install the latest kernel, but leave the existing kernel available for use.  So if the new kernel causes issues, you still have the option to boot to the older kernel (that you knew worked with your config).  To boot to the older kernel, just select it from your GRUB boot menu.
0

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now