centos7 关闭自动更新
centos7 关闭自动更新

centos7 关闭自动更新

centos7 关闭自动更新
[root@localhost ~]$ cd /etc/yum
[root@localhost ~]$ ls
fssnap.d pluginconf.d protected.d vars version-groups.conf
[root@localhost ~]$ yum install yum-cron -y
[root@localhost ~]$ ls
fssnap.d protected.d version-groups.conf yum-cron-hourly.conf
pluginconf.d vars yum-cron.conf
  • 关闭自动更新
[root@localhost ~]# gedit /etc/yum/yum-cron.conf
update_messages = no
download_updates = no

发表评论