前言:
我们在yum install xxxx的时候有的时候会因为网络、配置问题导致报错,这里记录下解决的方法~
现象
先上错误代码
[root@localhost yum.repos.d]# yum list
已加载插件:fastestmirror, langpacks
Loading mirror speeds from cached hostfile
Could not retrieve mirrorlist http://mirrorlist.centos.org/?release=7&arch=x86_64&repo=os&infra=stock error was
14: curl#6