CentOS 修改yum源为阿里源

cd /etc/yum.repos.d     # 进入yum文件夹 mv CentOS-Base.repo CentOS-Base.repo.bak        # 备份原文件 wget -O CentOS-Base.repo http://mirrors.aliyun.com/repo/Centos-7.repo    # 下载阿里源的文件 wget -O /etc/yum.repos.d/
相关文章
相关标签/搜索