赞
踩
- # 查看内核版本
- cat /etc/redhat-release
- # 禁止系统更新
-
- yum install -y yum-cron
-
- vim /etc/yum/yum-cron.conf
-
- # 更改以下内容
-
- update_messages = no
- download_updates = no
- # 禁止内核更新
-
- vim /etc/yum.conf
-
- # 在[main]部分加上:
-
- exclude=kernel* centos-release
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。