system:automatic_updates
Table of Contents
Automatic Updates
Redhat 8 / Rocky
Add epel-release
dnf install epel-release -y
Install dnf-automatic
dnf install dnf-automatic -y
Enable
systemctl enable --now dnf-automatic.timer
Debian / Ubuntu
Install package
apt install unattended-upgrades
Enable timer
systemctl enable --now unattended-upgrades
Configuration
File: /etc/apt/apt.conf.d/20auto-upgrades
APT::Periodic::Update-Package-Lists "1"; APT::Periodic::Unattended-Upgrade "1"; APT::Periodic::AutocleanInterval "7";
system/automatic_updates.txt ยท Last modified: 2022/06/10 19:19 by 127.0.0.1