yum源報錯 提示 Couldnt resolve host mirrorlist.centos.org

centos的yum源不用配置,裝機之後就能使用,如遇到如此提示:

Loaded plugins: fastestmirror, refresh-packagekit, security

Loading mirror speeds from cached hostfile

Could not retrieve mirrorlist ?release=6&arch=x86_64&repo=os error was

14: PYCURL ERROR 6 - "Couldn't resolve host 'mirrorlist.centos.org'"


排斥dns原因之外,可能是網關沒有設置,需要設置網關





發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章