常用 YUM 源

一、YUM 源

1、CentOS

CentOS 官方提供的 YUM 源

名称 说明
Extras Docker、kubernetes、golang、Cockpit(服务器管理)、和一些 YUM 源等
CentOS Plus Kernel Plus、Perf
The Software Collections ( SCL ) Repository 最新常用软件,PHP、RoR、SVN、GIT、httpd、Python、MongoDB、MySQL、MariaDB、Redis 等
Cloud OpenStack
Storage Ceph、GlusterFS
Virt OVirt、XEN
cat >/etc/yum.repos.d/centos.repo <<'EOF'
[centos-os]
name=master - Base
baseurl=http://mirror.centos.org/centos/7/os/$basearch/
gpgcheck=1
gpgkey=http://mirror.centos.org/centos/7/os/$basearch/RPM-GPG-KEY-CentOS-7
[centos-updates]
name=master - Updates
baseurl=http://mirror.centos.org/centos/7/updates/$basearch/
gpgcheck=1
gpgkey=http://mirror.centos.org/centos/7/os/$basearch/RPM-GPG-KEY-CentOS-7
[centos-extras]
name=master - Extras
baseurl=http://mirror.centos.org/centos/7/extras/$basearch/
gpgcheck=1
gpgkey=http://mirror.centos.org/centos/7/os/$basearch/RPM-GPG-KEY-CentOS-7
[centos-centosplus]
name=master - Centosplus
baseurl=http://mirror.centos.org/centos/7/centosplus/$basearch/
gpgcheck=1
gpgkey=http://mirror.centos.org/centos/7/os/$basearch/RPM-GPG-KEY-CentOS-7
#[centos-cloud]
#name=master - Cloud
#baseurl=http://mirror.centos.org/centos/7/cloud/$basearch/
#gpgcheck=1
#gpgkey=http://mirror.centos.org/centos/7/os/$basearch/RPM-GPG-KEY-CentOS-7
EOF

cat >/etc/yum.repos.d/centos.repo <<'EOF'
[centos-os]
name=master - Base
baseurl=http://mirror.centos.org/cen

你可能感兴趣的:(云计算)