kernel update

 

CentOS/RHEL更新包:https://rhn.redhat.com/errata/RHSA-2017-1382.html

  1. yum makecache --更新源
  2. yum update sudo --更新安装sudo
  3. 注:升级kernel可能会导致服务器无法启动,建议您在升级补丁时排除内核升级
  4. 打开/etc/yum.conf ,输入:
  5. # vi /etc/yum.conf
  6. 在[main]段中,下添加一行,如下:
  7. exclude= kernel* //这里假设是排除内核升级
  8. 或者直接执行 yum update --exclude kernel*
posted @ 2017-06-08 11:18  Alex_Footprint  阅读(350)  评论(0编辑  收藏  举报