Centos7替换阿里云yum源(centos7配置本地yum源)

Centos7替换阿里云yum源:
cp /etc/yum.repos.d/CentOS-Base.repo /etc/yum.repos.d/CentOS-Base.repo.bak
wget -O /etc/yum.repos.d/CentOS-Base.repo http://mirrors.aliyun.com/repo/Centos-7.repo
cp /etc/yum.repos.d/epel.repo /etc/yum.repos.d/epel.repo.bak
wget -O /etc/yum.repos.d/epel.repo http://mirrors.aliyun.com/repo/epel-7.repo
yum clean all
yum makecache


标签:

上一篇libmcrypt.so.4: cannot open shared object file: No such file or directory
下一篇Centos7下使用mail发送邮件配置(centos7下dns配置)

相关文章