Ubuntu unattended-upgrades 설정: sudo apt install unattended-upgrades && sudo dpkg-reconfigure unattended-upgrades. /etc/apt/apt.conf.d/50unattended-upgrades에서 보안 업데이트만 자동 적용하도록 설정하세요. Unattended-Upgrade::Automatic-Reboot "true"로 커널 업데이트 후 자동 재부팅도 가능하지만, 프로덕션에서는 주의가 필요합니다. 재부팅은 수동으로 하고 패치만 자동화하는 것을 추천합니다.
댓글 1
Ubuntu unattended-upgrades 설정: sudo apt install unattended-upgrades && sudo dpkg-reconfigure unattended-upgrades. /etc/apt/apt.conf.d/50unattended-upgrades에서 보안 업데이트만 자동 적용하도록 설정하세요. Unattended-Upgrade::Automatic-Reboot "true"로 커널 업데이트 후 자동 재부팅도 가능하지만, 프로덕션에서는 주의가 필요합니다. 재부팅은 수동으로 하고 패치만 자동화하는 것을 추천합니다.