+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Red Hat 8.3 : OPatching
STEP 1 : PRE CHECK
- su root
- cat /etc/redhat-release or cat /etc/os*
- uname -r
- rpm -q kernel --last
- subscription-manager status
- subscription-manager list
- yum repolist
- yum list available
- yum updateinfo summary
- yum list kernel
STEP 2 : BASIC HEALTH CHECK
- ifconfig
- df -Hk
- netstat -nr
- cat /etc/fstab
STEP 3 : IMPLMENTATION
- yum update
- uname -r
- init 6
STEP 4: VERIFICATION
- rpm -qa kernel
- uname -r
- yum updateinfo summary
Login into Red Hat system
Switch to root user
- su root
Verify the redhat OS version
- cat /etc/redhat-release
Verify the kernel version
- uname -r
Check the kernel installation date and time
- rpm -q kernel --last
Check the subscription status
- subscription-manager status
Check the subscription list
- subscription-manager list
- yum repolist
Check the available updates
- yum list available
- yum updateinfo summary
Step 1 pre-check completed
-----------------------------------
STEP 2 : BASIC HEALTH CHECK
- ifconfig
- netstat -nr
- df -hk
- cat /etc/fstab
-----------------------------------
STEP 3 : IMPLEMENTATION
- yum update
- uname -r
- yum list kernel
- rpm -qa kernel
- init 6 -- command gracefully reboots the system running all the K* shutdown scripts first
- vmware
After reboot -- verify the kernel version
- rpm -qa kernel
- uname -r
- yum updateinfo summary
- cat /etc/redhat-release
- uname -r
- yum update summary
- yum updateinfo summary
OS patch done.
----------------Command to Patch the system-----------------------------------
For Red Hat Linux distributions (e.g. RedHat, CentOS, Oracle), the following commands check for updates and patches the system:
yum check-update
yum update
For Suse-based Linux (e.g. Suse Linux Enterprise, OpenSuse), the following commands check for updates and patch the system:
zypper check-update
zypper update
For Suse-based Linux (e.g. Suse Linux Enterprise, OpenSuse), the following commands check for updates and patch the system:
zypper check-update
zypper update
---------------------------------------------------
No comments:
Post a Comment