163网易的yum源
sohu的yum源
阿里云
中科大
清华大学
浙江大学
rpm包常用下载地址
Centos6 YUM配置,直接执行以下命令即可。
cat >> /etc/yum.repos.d/CentOS-aliyun-lhr.repo <<"EOF" [base] name=CentOS-6.10 enabled=1 failovermethod=priority baseurl=http: gpgcheck=1 gpgkey=http: [updates] name=CentOS-6.10 enabled=1 failovermethod=priority baseurl=http: gpgcheck=1 gpgkey=http: [extras] name=CentOS-6.10 enabled=1 failovermethod=priority baseurl=http: gpgcheck=1 gpgkey=http: [epel] name=Extra Packages for Enterprise Linux 6 - $basearch enabled=1 failovermethod=priority baseurl=http: gpgcheck=0 gpgkey=http: EOF
cat >> /etc/yum.repos.d/CentOS-neusoft-lhr.repo <<"EOF" [base] name=CentOS-6-Base baseurl=http: gpgcheck=1 gpgkey=http: [updates] name=CentOS-6-Updates baseurl=http: gpgcheck=1 gpgkey=http: [extras] name=CentOS-6-Extras baseurl=http: gpgcheck=1 gpgkey=http: [centosplus] name=CentOS-6-Plus baseurl=http: gpgcheck=1 enabled=0 gpgkey=http: [contrib] name=CentOS-6-Contrib baseurl=http: gpgcheck=1 enabled=0 gpgkey=http: [epel] name=Extra Packages for Enterprise Linux 6 - $basearch enabled=1 failovermethod=priority baseurl=http: gpgcheck=0 gpgkey=http: EOF
|