Linux yum 报错:One of the configured repositories failed (Unknown), and yum doesn't have.
生活随笔
收集整理的這篇文章主要介紹了
Linux yum 报错:One of the configured repositories failed (Unknown), and yum doesn't have.
小編覺得挺不錯的,現(xiàn)在分享給大家,幫大家做個參考.
1.? 請先確定你是無法聯(lián)網(wǎng)還是配置問題。
ping www.baidu.com 如果是正常ping那可以看這個帖子完成配置
https://blog.csdn.net/weicuidi/article/details/52935100
2.? 如果是 ping 有問題,那就:
????? 1. 在Linux系統(tǒng)中輸入命令:?? vi? /etc/sysconfig/network-scripts/ifcfg-ens33
????? 2. 修改文件中的ONBOOT=no,將no改為yes
????? 3. 重啟服務(wù): service network restart
在測試 ping 再去yum 應(yīng)該可以了
轉(zhuǎn)載于:https://www.cnblogs.com/mzdljgz/p/11603059.html
總結(jié)
以上是生活随笔為你收集整理的Linux yum 报错:One of the configured repositories failed (Unknown), and yum doesn't have.的全部內(nèi)容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: Maven私服搭建(Nexus Repo
- 下一篇: centos6.10中部署percona