更新软件包缓存
yum clean all && yum makecache
官方源
curl -o /etc/yum.repos.d/CentOS-Base.repo https://wendycode.net/repo/centos7.6-vault.repo && yum clean all && yum makecache
curl -o /etc/yum.repos.d/CentOS-Base.repo https://wendy8wendy.github.io/code/repo/centos7.6-vault.repo && yum clean all && yum makecache
腾讯云公网源
curl -o /etc/yum.repos.d/CentOS-Base.repo https://wendycode.net/repo/centos7.6-tencent.repo && yum clean all && yum makecache
curl -o /etc/yum.repos.d/CentOS-Base.repo https://wendy8wendy.github.io/code/repo/centos7.6-tencent.repo && yum clean all && yum makecache
腾讯云内网源
curl -o /etc/yum.repos.d/CentOS-Base.repo https://wendycode.net/repo/centos7.6-tencentyun.repo && yum clean all && yum makecache
curl -o /etc/yum.repos.d/CentOS-Base.repo https://wendy8wendy.github.io/code/repo/centos7.6-tencentyun.repo && yum clean all && yum makecache
阿里云源
curl -o /etc/yum.repos.d/CentOS-Base.repo https://wendycode.net/repo/centos7.6-aliyun.repo && yum clean all && yum makecache
curl -o /etc/yum.repos.d/CentOS-Base.repo https://wendy8wendy.github.io/code/repo/centos7.6-aliyun.repo && yum clean all && yum makecache
网易云源
curl -o /etc/yum.repos.d/CentOS-Base.repo https://wendycode.net/repo/centos7.6-163.repo && yum clean all && yum makecache
curl -o /etc/yum.repos.d/CentOS-Base.repo https://wendy8wendy.github.io/code/repo/centos7.6-163.repo && yum clean all && yum makecache
华为云源
curl -o /etc/yum.repos.d/CentOS-Base.repo https://wendycode.net/repo/centos7.6-huaweicloud.repo && yum clean all && yum makecache
curl -o /etc/yum.repos.d/CentOS-Base.repo https://wendy8wendy.github.io/code/repo/centos7.6-huaweicloud.repo && yum clean all && yum makecache
清华大学源
curl -o /etc/yum.repos.d/CentOS-Base.repo https://wendycode.net/repo/centos7.6-tsinghua.repo && yum clean all && yum makecache
curl -o /etc/yum.repos.d/CentOS-Base.repo https://wendy8wendy.github.io/code/repo/centos7.6-tsinghua.repo && yum clean all && yum makecache
北京外国语大学源
curl -o /etc/yum.repos.d/CentOS-Base.repo https://wendycode.net/repo/centos7.6-bfsu.repo && yum clean all && yum makecache
curl -o /etc/yum.repos.d/CentOS-Base.repo https://wendy8wendy.github.io/code/repo/centos7.6-bfsu.repo && yum clean all && yum makecache
sed -i 's|wget -qO- -t1 -T2 ipinfo.io/ip|curl -s http://members.3322.org/dyndns/getip|g' l2pp.sh
正文完