Before doing any patching/upgrade Linux from 6.2 to 6.8, keep these points in mind.
Patching is recommended to fix security vulnerability and other bugs can improve system performance.
Connectivity with Yum-Repositories ( yum repolist)
Enough free space on /var & /usr
Test the patch on test servers first.
Validate the patch is compatible with the application or the DB on that system
Take a snapshot before the patch
1. Check the kernel version (uname –a)
Make a note, the kernel is ending with .573
2.Check the OS release ( cat /etc/*-release)
Make a note, its release 6.5.
3. Take a snapshot (AWS- EBS snapshot)
4. Check the repository connectivity ( yum repolist)
Make a note of the repositories, because the updates would be downloaded from these repositories.
5. Now to start patching ( yum update)
Make a note of all the lists, these would be new updates, keep an eye on kernel version as .642, which would be new updated kernel from the current kernel of .573
6. If by any chance if you want to exclude some update,
use –x or –exclude command.
Eg: you don`t want to update/upgrade Apache (httpd)
Yum update –x httpd or yum update –exclude httpd
7. The patching process includes Update, Cleanups, Verifying.
8. After the update, it will output the updated kernel on screen.
9. Verify the new kernel ( rpm –qa | grep kernel )
10. Reboot the server to boot from the new updated kernel & check the release version.
Note the release is updated from Cent OS 6.2 to 6.8
If you need more assistance contact LIA Infraservices.