Centos7 yum配置阿里云镜像
进入yum仓库配置文件夹cd /etc/yum.repos.d/备份原仓库mkdir centos.backmv *.repo centos.back也可以使用删除命令进行删除rm -f *.repo下载阿里云镜像wget http://mirrors.aliyun.com/repo/Centos-7.repo更新yum缓存yum clean allyum makecache...
·
进入yum仓库配置文件夹
cd /etc/yum.repos.d/
备份原仓库
mkdir centos.back
mv *.repo centos.back
也可以使用删除命令进行删除
rm -f *.repo
下载阿里云镜像
wget http://mirrors.aliyun.com/repo/Centos-7.repo
更新yum缓存
yum clean all
yum makecache
更多推荐
所有评论(0)