如何防止 yum 自动更新

在 /etc/init.d 查看,发现有  yum-updatesd

用 chkconfig --list yum-updatesd

0:off  1:off  2:off  3:on 4:on 5:on 6:off

然后 chkconfig --del yum-updatesd

再看 chkconfig --list yum-updatesd 就看不到了。

重启动后再看看:chkconfig --list yum-updatesd 仍然看不到  yum-updatesd

原文地址:https://www.cnblogs.com/gaojian/p/2734055.html