阿里云 换源】yum 安装失败,阿里云换源成功"/>
【阿里云 换源】yum 安装失败,阿里云换源成功
使用yum安装服务报错: curl#6 - “Could not resolve host: mirrors.cloud.aliyuncs; Name or service
curl#6 - "Could not resolve host: mirrors.cloud.aliyuncs; Unknown error" Trying other mirror.
解决办法:
curl -o /etc/yum.repos.d/CentOS-Base.repo .repovim CentOS-Base.repo将 批量替换为
将 批量替换为 -rf /var/cache/yum
yum makecache
再次使用即可大功告成!
更多推荐
【阿里云 换源】yum 安装失败,阿里云换源成功
发布评论