Lab 19: Large-Scale Patch Management
Overview
Step 1 — Install Patch Management Tools
apt-get update -qq && apt-get install -y -qq \
unattended-upgrades \
apt-utils \
needrestart \
debsecan 2>/dev/null || \
apt-get install -y -qq unattended-upgrades apt-utils 2>/dev/null
dpkg -l unattended-upgrades | tail -1ii unattended-upgrades 2.8 all automatic installation of security upgradesStep 2 — Configure unattended-upgrades for Security-Only Updates
Step 3 — Simulate Patch Operations (Dry Run)
Step 4 — apt-mark: Hold Critical Packages
Step 5 — needrestart & Service Restart Analysis
Step 6 — debsecan: CVE Tracking
Step 7 — Canary Deployment & Rolling Update Strategy
Step 8 — Capstone: Patch Compliance Reporting
Summary
Topic
Tool / File
Purpose
Last updated
