Centos 执行yum安装 出现Failed connect to mirrors.163.com:80; 拒绝连接
错误如下:
http://mirrors.163.com/centos/7/os/x86_64/repodata/repomd.xml: [Errno 14] curl#7 - "Failed connect to mirrors.163.com:80; 拒绝连接
解决办法:
换镜像源地址
添加阿里的源
wget -O /etc/yum.repos.d/CentOS-Base.repo http://mirrors.aliyun.com/repo/Centos-7.repo