CentOS and RHEL 8 or later versions
For CentOS and RHEL 8 or later versions, the dnf-automatic package is the preferred approach:
dnf install dnf-automatic
In /etc/dnf/automatic.conf set:
download_updates = yes
apply_updates = yes
שפעלו הבצעו אל האיתחול האוטומטי דרך:
systemctl enable --now dnf-automatic.timer
Check status of dnf-automatic:
systemctl list-timers *dnf-*
CentOS and RHEL 7 or earlier versions
For CentOS and RHEL 7 or earlier versions, the yum-cron package is the preferred approach:
yum install yum-cron
הגדירו ב /etc/yum/yum-cron.conf:
download_updates = yes
apply_updates = yes
שפעלו הבצעו אל האיתחול האוטומטי דרך:
systemctl start yum-cron.service
openSUSE
תחילה עליכם להתקין את תוכנת העדכון האוטומטי
zypper install yast2-online-update-configuration
לאחר מכן הפעילו את כלי הקונפיגורציה (מבוסס ncurses ) עם:
yast2 online_update_configuration
אפשרו את ההגדרות הבאות:
עדכונים מקוונים אוטומטיים
Interval: Daily
דלגו על Interactive Patches
הסכימו לתנאי הרשיון
השתמשו ב delta rpms
אשרו את ההגדרות ב OK
את התיעוד הרשמי של openSUSE ניתן למצוא כאן here.