Maintenance Task: Kernel or Package Updates¶
Description¶
Apply security and performance updates to system packages and kernel.
Frequency¶
Weekly or bi-weekly (depending on policy).
Checklist¶
- Security updates applied?
- Reboot needed for kernel update?
- Services restarted after library updates?
Update Steps¶
- Check for available updates:
dnf check-update - Apply updates:
sudo dnf upgrade --refresh -y - Check if reboot required:
needs-restarting -r
Preventive Actions¶
- Use
dnf-automaticfor unattended updates - Monitor CVE announcements
- Use staging/testing VMs before prod updates
Tools & Commands¶
dnf,yum,needs-restarting,dnf-automatic,reboot