centos6一键换yum方法从新配置更换源

Linux 2021-01-15
  1. rm -rf /etc/yum.repos.d/CentOS-Base.repo
  2. wget http://github.itzmx.com/1265578519/mirrors/master/CentOS/CentOS6-Base-itzmx.repo -O /etc/yum.repos.d/CentOS6-Base-itzmx.repo
  3. rm -rf /etc/yum.repos.d/*pel.repo /etc/yum.repos.d/epel-testing.repo
  4. wget http://github.itzmx.com/1265578519/mirrors/master/EPEL/epel.repo -O /etc/yum.repos.d/epel.repo

相关文章

发表评论