It is a best practice to update your server on a regular schedule for security and stability. Use this guide to keep your CentOS server updated.
This guide applies to the following versions, both with and without SELinux enabled.
Always make a backup before updating your system.
Use yum check-update
to update the package database from the enabled repositories.
$ sudo yum check-update
Use yum update
to upgrade the packages.
$ sudo yum update
$ sudo reboot
Periodic updates keep your server secure and stable. Make sure you have a snapshot or backup strategy in place before updating.
You could earn up to $300 by adding new articles