Update CentOS / Redhat
First check your running kernel version (not really necessary):
uname -s -r
Now check if there are updates available:
yum list updates 'kernel*'
Update the kernel:
yum update kernel
Reboot your system
Great, now let’s update the software packages
Check for updates:
yum check-update
You’ll see all available updates.
If you only want one:
yum update name_of_package
Or just be done with it and update all:
yum update