/etc/yum/yum-cron.conf

/etc/yum/yum-cron.conf

我有许多 RHEL 6 服务器,我们使用“软件更新首选项”GUI 配置自动更新,但是我无法在较新的 RHEL 7 服务器上找到相同的 GUI。

这是我想要访问的 GUI。我对其他工具不感兴趣,比如yum-cron等等。我希望访问这个 GUI,就像我们一直做的那样。

有什么办法让它出现,因为它似乎不存在于菜单中?

在此输入图像描述

答案1

它不是 gui,但 yum-cron 会做你想做的事,我想

 yum install yum-cron

默认配置如下,将 apply-updates 更改为 yes 应该可以满足您的要求

/etc/yum/yum-cron.conf

#  What kind of update to use:
# default                            = yum upgrade
# security                           = yum --security upgrade
# security-severity:Critical         = yum --sec-severity=Critical upgrade
# minimal                            = yum --bugfix upgrade-minimal
# minimal-security                   = yum --security upgrade-minimal
# minimal-security-severity:Critical =  --sec-severity=Critical upgrade-minimal
update_cmd = default

# Whether a message should be emitted when updates are available,
# were downloaded, or applied.
update_messages = yes

# Whether updates should be downloaded when they are available.
download_updates = yes

# Whether updates should be applied when they are available.  Note
# that download_updates must also be yes for the update to be applied.
apply_updates = no

# Maximum amount of time to randomly sleep, in minutes.  The program
# will sleep for a random amount of time between 0 and random_sleep
# minutes before running.  This is useful for e.g. staggering the
# times that multiple systems will access update servers.  If
# random_sleep is 0 or negative, the program will run immediately.
# 6*60 = 360
random_sleep = 360

相关内容