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.

Advertisements
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.

Show your love by Sharing:

  • Click to share on Facebook (Opens in new window)
  • Click to share on Twitter (Opens in new window)
  • Click to share on WhatsApp (Opens in new window)
  • Click to share on Reddit (Opens in new window)
  • Click to share on Tumblr (Opens in new window)
  • Click to share on Pinterest (Opens in new window)
  • Click to share on LinkedIn (Opens in new window)
  • More
  • Click to share on Telegram (Opens in new window)
  • Click to print (Opens in new window)
  • Click to email a link to a friend (Opens in new window)
  • Click to share on Skype (Opens in new window)
  • Click to share on Pocket (Opens in new window)
Share
Pinterest
Linkedin
Tweet
Google+
Stumble
Email
Prev Article
Next Article

Related Articles

How to Find Any Commands in Linux Servers
We know that almost all of the native Linux commands …

5 Ways To Find Any Commands in Linux Servers

RHEL 7 Books for RHCE RHCSA
You must all be knowing that Red hat has started …

RHEL 7 Books for RHCE & RHCSA

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.

 

Find a domain starting at $0.48

powered by Namecheap

Like Our Book

Like Our Book

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.

Pawan Bahuguna

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