CentOS agus RHEL 8 nó leaganacha níos déanaí

I gcás CentOS agus RHEL 8 nó leaganacha níos déanaí, is é an pacáiste dnf-uathoibríoch an cur chuige is fearr:

dnf install dnf-automatic

I tacar /etc/dnf/automatic.conf:

download_updates = yes
apply_updates = yes

Cumasaigh agus cuir tús le nuashonruithe uathoibríocha trí:

systemctl enable --now dnf-automatic.timer

Seiceáil stádas dnf-uathoibríoch:

systemctl list-timers *dnf-*

CentOS agus RHEL 7 nó leaganacha níos luaithe

I gcás CentOS agus RHEL 7 nó leaganacha níos luaithe, is é an pacáiste yum-cron an cur chuige is fearr:

yum install yum-cron

I /etc/yum/yum-cron.conf leagtha:

download_updates = yes
apply_updates = yes

Cumasaigh agus cuir tús le nuashonruithe uathoibríocha trí:

systemctl start yum-cron.service

openSUSE

Ar dtús, ní mór duit an pacáiste nuashonraithe uathoibríoch a shuiteáil

zypper install  yast2-online-update-configuration

Ansin cuir tús leis an uirlis chumraíochta (ncurses bunaithe) le:

yast2 online_update_configuration

Cumasaigh na socruithe seo a leanas:

    Automatic Online Update
    Interval: Daily
    Skip Interactive Patches
    Agree with Licenses
    Use delta rpms

Deimhnigh do chumraíocht le OK.

Is féidir doiciméadú oifigiúil openSUSE a fháil anseo.