Server Patching using Yum in Linux

 

 

 

 

The patching in server is used to  making secure environment in server. it also used to reduce the leakage of the data. It is very important task, so we have perform this task with highly conscious. Linux has different ways to update all packages. Before updating the packages you need to take backup of your data.

 

1.Debian /Ubuntu – apt-get command

2. CentOS /RedHat/Fedora -yum command

3.Suse /Open SUSE -zypper command

1. Debian /Ubuntu –  apt-get command

Run  the following command to update the Packages.

# sudo apt-get update
# sudo apt-get upgrade

2. CentOS /RedHat /Fedora – Yum command

Run yum command to update all the packages in CentOS/RedHat/Fedora.

# yum -y update 

3. Suse/Open SUSE – zypper command

Run zypper command to update all the packages

# zypper refresh 
# zypper update 

 

Thats all ! 

Leave a Reply

Your email address will not be published. Required fields are marked *