본문 바로가기
Q&A2026년 3월 10일1분 읽기

리눅스 서버 자동 보안 패치 설정

한
한동욱
조회 642댓글 1

Ubuntu 서버에서 보안 패치를 자동으로 적용하는 방법을 알려주세요.

댓글 1

김김영삼7개월 전

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"로 커널 업데이트 후 자동 재부팅도 가능하지만, 프로덕션에서는 주의가 필요합니다. 재부팅은 수동으로 하고 패치만 자동화하는 것을 추천합니다.

Ctrl+Enter로 등록