1. 程式人生 > >kernel update

kernel update

-a 無法啟動 clas 打開 centos rhn com enum onf

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*

kernel update