CentOS7如何更换yum源

下载国内yum源配置文件到/etc/yum.repos.d/CentOS-Base.repo

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

详细见阿里https://developer.aliyun.com/mirror/centos?spm=a2c6h.13651102.0.0.3e221b11VhfrU5

发表回复

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