Today we will look linux server patching process in short.
It is quite simple, however very useful to know the steps.
Linux Production Server Patching Steps
Pre-requisite:- I am assuming you have already assigned latest repo to the server.
We need to follow below steps to do patching on server.
a. Check for updates which are available.
# yum check-update
b. Verify Enough space on partition, else make some more space.
# df -h / /var
c. Update the server.
# yum -y update
d. Reboot the server.
# init 6
e. Remove old kernel.
# yum erase kernel-2.6.32-754.15.3.el6.x86_64 kernel-2.6.32-754.9.1.el6.x86_64 kernel-devel-2.6.32-754.9.1.el6.x86_64 kernel-devel-2.6.32-754.15.3.el6.x86_64
f. Verify new kernel is installed which was there during check update.
# uname -a
Must Check before proceeding with patching: