linux安装阿里云源

《linux安装阿里云源》

#cd /etc/yum.repos.d/
# yum install -y wget
# wget http://mirrors.aliyun.com/repo/Centos-7.repo
//备份系统原来的repo文件
# mv CentOS-Base.repo CentOS-Base.repo.bak
# mv Centos-7.repo CentOS-Base.repo
//执行yum源更新命令
# yum clean all
# yum makecache
点赞

发表评论

邮箱地址不会被公开。 必填项已用*标注