Pawan Bahuguna

Let's Learn and Share
Menu
  • Home
  • Free Books
  • RHEL 7 Books
  • Practice Papers
  • Contact
  • Privacy

Preparing for RHCSA or RHCE Certification? >>> Check RHEL 7 : RHCSA & RHCE Practice Papers

YES, Show Me Sample Papers.
Home
Linux
[Linux Basic Tutorial] How to Update Linux Server using YUM
Linux

[Linux Basic Tutorial] How to Update Linux Server using YUM

Pawan Bahuguna

Keeping your Linux/Unix server updated is a very crucial task as a system administrator. Not only it mitigates many vulnerabilities, but also help in smooth running of the Linux server. In this basic Linux tutorial, we will see how to update your Linux server using ‘yum’ command. This will also include updating your Linux kernel and firmware.

 

How to Update Linux Server using YUM

 

How To Update Linux Server Using YUM

 

To update your Linux machine, please make sure you have the proper yum repository configured on your system. You can configure repository in multiple ways which include, local yum repository through CD ROM, default Red Hat or CentOS repository (for this you require internet access), or completely downloading packages and creating repository out of it.

For this tutorial, I have used default yum repository of CentOS as my virtual Linux machine is connected to the internet.

First of all, check if your repository is working fine or not using the below command.

yum repolist

Once you are sure yum repository is working fine, you can run the ‘yum update’ command. But, before that, I will urge you to do some pre-reboot sanity check and keep the output of important files and commands, like ‘uname -a’, /etc/fstab, ‘df -h’, ‘fdisk -l’, etc. This will help you to verify your system after taking reboot.

yum update
or
yum update -y

 

Basically, ‘yum update‘ is done in 4 steps, which are listed below.

  • Downloading the packages.
  • Installing and upgrading the packages.
  • Cleanup.
  • Verification.

 

Now, let’s see the video, how to update your RHEL/CentOS Linux machine using yum.

 

SUBSCRIBE NOW

 

Hope you like this video tutorial and if you have any query or concern, please let me know through your comments. If you want to see more such videos in future, please subscribe to my YouTube channel. Also, share this article and video on your social media pages or website.

Share
Pinterest
Linkedin
Tweet
Google+
Stumble
Email
Prev Article
Next Article

Related Articles

CentOS 8
Good news for all the Linux lovers as CentOS has …

CentOS 8 Available for Download | How to Install

RHEL 7 6 5 Common Administrative commands
We all are aware that Red Hat has launched a …

Common Administrative Commands for Red Hat Enterprise Linux 5, 6, & 7

Tags:CentOS Fun With Linux How To Linux Linux Basics Redhat RHCE RHCSA RHEL

Leave a Reply

Cancel reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Use code HOMERUN30 for 30% off at Linux Foundation, ends 4/30!

Lets Connect

  • Popular
  • Recent

Free Newsletter

Subscribe NOW!

We don’t spam! Read our privacy policy for more info.

Check your inbox or spam folder to confirm your subscription.


GCMS Notes

Pawan Bahuguna

Let's Learn and Share
Copyright © 2023 Pawan Bahuguna
Home | Privacy Policy | Contact