yum设置镜像

执行如下命令:

wget -O /etc/yum.repos.d/CentOS-Base.repo http://mirrors.aliyun.com/repo/Centos-7.repo

如果没有wget:

yum -y install wget
posted @ 2019-09-13 20:34  你就像甜甜的益达  阅读(122)  评论(0编辑  收藏  举报