
問題:
yum install xxx 報錯誤如下:

原因:
網路卡沒能跟隨作業系統啟動。
(推薦教學:centos教學)
解決方法:
1、開啟檔案目錄:
cd /etc/sysconfig/network-scripts
登入後複製
2、找到文件:ifcfg-ens33
3、發現ONBOOT=no,將其改為yes。
如圖:

4、最後,重新啟動客戶機即可。
相關影片教學推薦:linux影片教學
#
以上是centos7下yum指令無法使用怎麼解決的詳細內容。更多資訊請關注PHP中文網其他相關文章!