Skip to content

Instantly share code, notes, and snippets.

@qzm
Created March 7, 2021 12:17
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save qzm/138c50c56e7747dab7e24f60b71983e2 to your computer and use it in GitHub Desktop.
Save qzm/138c50c56e7747dab7e24f60b71983e2 to your computer and use it in GitHub Desktop.
Install yum-cron
# Install yum-cron
yum update -y
yum install yum-cron -y
sed -i 's|^download_updates = no|download_updates = yes|' /etc/yum/yum-cron.conf
sed -i 's|^apply_updates = no|apply_updates = yes|' /etc/yum/yum-cron.conf
sudo systemctl start yum-cron
sudo systemctl enable yum-cron
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment