Hostnic Promo

Setting Konfigurasi Automatic Package Updates di CentOS 8


Step by step

  1. Setting automatic update dengan Dnf-automatic, install package
    # dnf install dnf-automatic
  2. Edit automatic.conf #vim /etc/dnf/automatic.conf
    [commands]
    upgrade_type = default
    download_updates = yes
    [emitters]
    system_name = hakase-centos8
    emit_via = motd
    [email]
    email_from = root@server.com
    email_to = root
    email_host = localhost
  3. Setting automatic download package upgrade
    sudo systemctl enable --now dnf-automatic.timer
  4. Check status dnf-automatic
    sudo systemctl list-timers *dnf-*
Hostnic Promo

Di tulis oleh: