每天自动升级你的Centos

  • A+

# 安装
yum install yum-cron -y

# 配置
vim /etc/sysconfig/yum-cron

# 开启服务
chkconfig yum-cron on
# or
chkconfig –level 345 yum-cron on
# 运行服务
service yum-cron start

# 检查日志
grep yum.cron /var/log/cron | tail -10

下载服务恢复

发表评论

:?::razz::sad::evil::!::smile::oops::grin::eek::shock::???::cool::lol::mad::twisted::roll::wink::idea::arrow::neutral::cry::mrgreen:

Captcha Code