99999久久久久久亚洲,欧美人与禽猛交狂配,高清日韩av在线影院,一个人在线高清免费观看,啦啦啦在线视频免费观看www

熱線電話:13121318867

登錄
2019-02-15 閱讀量: 2483
yum 安裝 wget 失敗

使用yum 安裝wget 失敗,安裝命令為:

yum install wget

報錯信息如下:

Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
There are no enabled repos.
Run "yum repolist all" to see the repos you have.
To enable Red Hat Subscription Management repositories:
subscription-manager repos --enable <repo>
To enable custom repositories:
yum-config-manager --enable <repo>

答:出現(xiàn)該錯誤是因為系統(tǒng)DNS配置錯誤導致無法解析軟件服務器所致的。

解決思路有兩個:

一、修改DNS

編輯 /etc/resolv.conf在文件中添加如下內(nèi)容

nameserver 114.114.114.114

二、使用rpm包安裝

先到http://mirror.centos.org/centos/7/os/x86_64/Packages/ 下載 wget-1.14-18.el7.x86_64.rpm

然后使用如下命令進行安裝

rpm -ivh wget-1.14-18.el7.x86_64.rpm

0.0000
5
關注作者
收藏
評論(0)

發(fā)表評論

暫無數(shù)據(jù)
推薦帖子