Apply conversion script to all *.md files. authored by Alexander Hansen Færøy's avatar Alexander Hansen Færøy
= Enabling Automatic Updates on RPM Distributions = # Enabling Automatic Updates on RPM Distributions
== CentOS and RHEL == ## CentOS and RHEL
For CentOS and RHEL the yum-cron package is the preferred approach: For CentOS and RHEL the yum-cron package is the preferred approach:
{{{ ```
yum install yum-cron yum install yum-cron
}}} ```
In `/etc/yum/yum-cron.conf` set: In `/etc/yum/yum-cron.conf` set:
{{{ ```
download_updates = yes download_updates = yes
apply_updates = yes apply_updates = yes
}}} ```
Enable and start automatic updates via: Enable and start automatic updates via:
{{{ ```
systemctl start yum-cron.service systemctl start yum-cron.service
}}} ```
== openSUSE == ## openSUSE
First, you need to install the automatic update package First, you need to install the automatic update package
{{{ ```
zypper install yast2-online-update-configuration zypper install yast2-online-update-configuration
}}} ```
Then start the configuration tool (ncurses based) with: Then start the configuration tool (ncurses based) with:
{{{ ```
yast2 online_update_configuration yast2 online_update_configuration
}}} ```
Enable the following settings: Enable the following settings:
- Automatic Online Update - Automatic Online Update
...@@ -42,20 +42,20 @@ Enable the following settings: ...@@ -42,20 +42,20 @@ Enable the following settings:
Confirm your configuration with OK. Confirm your configuration with OK.
The official openSUSE documentation can be found [https://doc.opensuse.org/documentation/leap/startup/html/book.opensuse.startup/cha.onlineupdate.you.html#sec.onlineupdate.you.automatically here] The official openSUSE documentation can be found [here](https://doc.opensuse.org/documentation/leap/startup/html/book.opensuse.startup/cha.onlineupdate.you.html#sec.onlineupdate.you.automatically)
== Fedora == ## Fedora
On Fedora you enable automatic updates via: On Fedora you enable automatic updates via:
{{{ ```
dnf install dnf-automatic dnf install dnf-automatic
}}} ```
Now enable and start automatic updates via: Now enable and start automatic updates via:
{{{ ```
systemctl enable --now dnf-automatic-install.timer systemctl enable --now dnf-automatic-install.timer
}}} ```