Created
March 7, 2021 12:17
-
-
Save qzm/138c50c56e7747dab7e24f60b71983e2 to your computer and use it in GitHub Desktop.
Install yum-cron
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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