yum install安装软件时在downloading时报错,如下图
解决方法:
阿里云官方拉取的镜像文件内容为http地址,需换成https
wget -O /etc/yum.repos.d/CentOS-Base.repo https://mirrors.aliyun.com/repo/Centos-7.repo
sed -i 's/http/https/g' /etc/yum.repos.d/CentOS-Base.repo
centos7使用阿里云yum源安装软件时报错connection reset by peer
阅读 40
2023-04-27
yum install安装软件时在downloading时报错,如下图
解决方法:
阿里云官方拉取的镜像文件内容为http地址,需换成https
wget -O /etc/yum.repos.d/CentOS-Base.repo https://mirrors.aliyun.com/repo/Centos-7.repo
sed -i 's/http/https/g' /etc/yum.repos.d/CentOS-Base.repo
相关推荐
精彩评论(0)