久久久久久久视色,久久电影免费精品,中文亚洲欧美乱码在线观看,在线免费播放AV片

<center id="vfaef"><input id="vfaef"><table id="vfaef"></table></input></center>

    <p id="vfaef"><kbd id="vfaef"></kbd></p>

    
    
    <pre id="vfaef"><u id="vfaef"></u></pre>

      <thead id="vfaef"><input id="vfaef"></input></thead>

    1. 站長資訊網(wǎng)
      最全最豐富的資訊網(wǎng)站

      centos中yum升級怎么不升級內(nèi)核

      方法:1、修改yum配置文件,在“[main]”后添加“exclude=kernel*”;2、利用“yum update –exclude "initscripts*,kernel*,centos-release*"-y”命令不升級內(nèi)核。

      centos中yum升級怎么不升級內(nèi)核

      本文操作環(huán)境:centos 7系統(tǒng)、Dell G3電腦。

      centos中yum升級怎么不升級內(nèi)核

      RedHat/CentOS/Fedora使用 yum update 更新時,默認(rèn)會升級內(nèi)核。但有些服務(wù)器硬件(特別是組裝的機器)在升級內(nèi)核后,新的內(nèi)核可能會認(rèn)不出某些硬件,要重新安裝驅(qū)動,很麻煩。

      所以在生產(chǎn)環(huán)境中不要輕易的升級內(nèi)核,除非你確定升級內(nèi)核后不會出現(xiàn)麻煩的問題。

      如果不想升級內(nèi)核而只更新其他軟件包,有兩種方法:

      1、CentOS升級軟件時不升級內(nèi)核的命令如下

      CentOS7.5/7.6

      yum update --exclude "kmod-kvdo*,kernel*,centos-release*" -y

      CentOS7.2/7.3/7.4

      yum update --exclude "initscripts*,kernel*,centos-release*" -y

      CentOS6.8/6.9

      yum update --exclude "kernel*,centos-release*" -y

      1、修改yum的配置文件 vim /etc/yum.conf,在 [main] 的最后添加 exclude=kernel*

      或者直接在yum的命令后面加上如下的參數(shù):

      yum –exclude=kernel* update vi /etc/yum.conf # 在 [main] 的最后添加: exclude=kernel* # 和 exclude=centos-release* # 按 Esc 鍵,輸入 :wq,然后回車

      推薦教程:《centos教程》

      贊(0)
      分享到: 更多 (0)
      網(wǎng)站地圖   滬ICP備18035694號-2    滬公網(wǎng)安備31011702889846號