how to patch SUSE

How to refresh all repositories

$ sudo zypper refresh
SUSE Enterprise Linux Refresh all repositories

How to list available updates on SUSE Enterprise Linux server

We need to see all applicable patches, run:
zypper lp
zypper list-updates


How to update installed packages with newer versions

Let us patch update Suse Enterprise Linux server, execute:
$ sudo zypper update
You can restart those services using the systemctl command:
$ sudo systemctl restart sshd

Reboot the box

First note down the current running Linux kernel version:
$ uname -mrs
Sample outputs:
Linux 4.4.114-94.14-default x86_64
You must reboot the box for the SUSE Enterprise Linux kernel update:
$ sudo reboot
OR
$ sudo shutdown -r now
Verify new Linux kernel version after the system reboot:
$ uname -mrs
Sample outputs:
Linux 4.4.126-94.22-default x86_64

Summary

And there you have it, SUSE Enterprise Linux Server version 12 SP3 patched and updated. We got a new kernel running too. Here is a summary of all of the options used so far in this tutorial:

Comments

Popular posts from this blog

HAproxy logging

tomcat catalina coyote jasper cluster

NFS mount add in fstab _netdev instead of default | firewall-cmd --list-all