CentOS yum安裝錯誤

Could not resolve host: mirrorlist.centos.org; Unknown error"複製代碼

緣由1:未設置DNScentos

解決方案:bash

# vi /etc/resolv.conf
nameserver 8.8.8.8
nameserver 202.106.0.20

# service network restart複製代碼

從新yum安裝,正常spa

其它緣由請補充
rest

相關文章
相關標籤/搜索