共计 6266 个字符,预计需要花费 16 分钟才能阅读完成。
CentOS-Base.repo
# CentOS-Base.repo | |
# | |
# The mirror system uses the connecting IP address of the client and the | |
# update status of each mirror to pick mirrors that are updated to and | |
# geographically close to the client. You should use this for CentOS updates | |
# unless you are manually picking other mirrors. | |
# | |
# If the mirrorlist= does not work for you, as a fall back you can try the | |
# remarked out baseurl= line instead. | |
# | |
# | |
[base] | |
name=CentOS-$releasever - Base - mirrors.aliyun.com | |
failovermethod=priority | |
baseurl=http://mirrors.aliyun.com/centos/$releasever/os/$basearch/ | |
http://mirrors.aliyuncs.com/centos/$releasever/os/$basearch/ | |
http://mirrors.cloud.aliyuncs.com/centos/$releasever/os/$basearch/ | |
gpgcheck=1 | |
gpgkey=http://mirrors.aliyun.com/centos/RPM-GPG-KEY-CentOS-7 | |
#released updates | |
[updates] | |
name=CentOS-$releasever - Updates - mirrors.aliyun.com | |
failovermethod=priority | |
baseurl=http://mirrors.aliyun.com/centos/$releasever/updates/$basearch/ | |
http://mirrors.aliyuncs.com/centos/$releasever/updates/$basearch/ | |
http://mirrors.cloud.aliyuncs.com/centos/$releasever/updates/$basearch/ | |
gpgcheck=1 | |
gpgkey=http://mirrors.aliyun.com/centos/RPM-GPG-KEY-CentOS-7 | |
#additional packages that may be useful | |
[extras] | |
name=CentOS-$releasever - Extras - mirrors.aliyun.com | |
failovermethod=priority | |
baseurl=http://mirrors.aliyun.com/centos/$releasever/extras/$basearch/ | |
http://mirrors.aliyuncs.com/centos/$releasever/extras/$basearch/ | |
http://mirrors.cloud.aliyuncs.com/centos/$releasever/extras/$basearch/ | |
gpgcheck=1 | |
gpgkey=http://mirrors.aliyun.com/centos/RPM-GPG-KEY-CentOS-7 | |
#additional packages that extend functionality of existing packages | |
[centosplus] | |
name=CentOS-$releasever - Plus - mirrors.aliyun.com | |
failovermethod=priority | |
baseurl=http://mirrors.aliyun.com/centos/$releasever/centosplus/$basearch/ | |
http://mirrors.aliyuncs.com/centos/$releasever/centosplus/$basearch/ | |
http://mirrors.cloud.aliyuncs.com/centos/$releasever/centosplus/$basearch/ | |
gpgcheck=1 | |
enabled=0 | |
gpgkey=http://mirrors.aliyun.com/centos/RPM-GPG-KEY-CentOS-7 | |
#contrib - packages by Centos Users | |
[contrib] | |
name=CentOS-$releasever - Contrib - mirrors.aliyun.com | |
failovermethod=priority | |
baseurl=http://mirrors.aliyun.com/centos/$releasever/contrib/$basearch/ | |
http://mirrors.aliyuncs.com/centos/$releasever/contrib/$basearch/ | |
http://mirrors.cloud.aliyuncs.com/centos/$releasever/contrib/$basearch/ | |
gpgcheck=1 | |
enabled=0 | |
gpgkey=http://mirrors.aliyun.com/centos/RPM-GPG-KEY-CentOS-7 |
docker-ce.repo docker 安装 yum 加速源
[docker-ce-stable] | |
name=Docker CE Stable - $basearch | |
baseurl=https://mirrors.aliyun.com/docker-ce/linux/centos/$releasever/$basearch/stable | |
enabled=1 | |
gpgcheck=1 | |
gpgkey=https://mirrors.aliyun.com/docker-ce/linux/centos/gpg | |
[docker-ce-stable-debuginfo] | |
name=Docker CE Stable - Debuginfo $basearch | |
baseurl=https://mirrors.aliyun.com/docker-ce/linux/centos/$releasever/debug-$basearch/stable | |
enabled=0 | |
gpgcheck=1 | |
gpgkey=https://mirrors.aliyun.com/docker-ce/linux/centos/gpg | |
[docker-ce-stable-source] | |
name=Docker CE Stable - Sources | |
baseurl=https://mirrors.aliyun.com/docker-ce/linux/centos/$releasever/source/stable | |
enabled=0 | |
gpgcheck=1 | |
gpgkey=https://mirrors.aliyun.com/docker-ce/linux/centos/gpg | |
[docker-ce-test] | |
name=Docker CE Test - $basearch | |
baseurl=https://mirrors.aliyun.com/docker-ce/linux/centos/$releasever/$basearch/test | |
enabled=0 | |
gpgcheck=1 | |
gpgkey=https://mirrors.aliyun.com/docker-ce/linux/centos/gpg | |
[docker-ce-test-debuginfo] | |
name=Docker CE Test - Debuginfo $basearch | |
baseurl=https://mirrors.aliyun.com/docker-ce/linux/centos/$releasever/debug-$basearch/test | |
enabled=0 | |
gpgcheck=1 | |
gpgkey=https://mirrors.aliyun.com/docker-ce/linux/centos/gpg | |
[docker-ce-test-source] | |
name=Docker CE Test - Sources | |
baseurl=https://mirrors.aliyun.com/docker-ce/linux/centos/$releasever/source/test | |
enabled=0 | |
gpgcheck=1 | |
gpgkey=https://mirrors.aliyun.com/docker-ce/linux/centos/gpg | |
[docker-ce-nightly] | |
name=Docker CE Nightly - $basearch | |
baseurl=https://mirrors.aliyun.com/docker-ce/linux/centos/$releasever/$basearch/nightly | |
enabled=0 | |
gpgcheck=1 | |
gpgkey=https://mirrors.aliyun.com/docker-ce/linux/centos/gpg | |
[docker-ce-nightly-debuginfo] | |
name=Docker CE Nightly - Debuginfo $basearch | |
baseurl=https://mirrors.aliyun.com/docker-ce/linux/centos/$releasever/debug-$basearch/nightly | |
enabled=0 | |
gpgcheck=1 | |
gpgkey=https://mirrors.aliyun.com/docker-ce/linux/centos/gpg | |
[docker-ce-nightly-source] | |
name=Docker CE Nightly - Sources | |
baseurl=https://mirrors.aliyun.com/docker-ce/linux/centos/$releasever/source/nightly | |
enabled=0 | |
gpgcheck=1 | |
gpgkey=https://mirrors.aliyun.com/docker-ce/linux/centos/gpg | |
epel-testing.repo
[epel-testing] | |
name=Extra Packages for Enterprise Linux 7 - Testing - $basearch | |
# It is much more secure to use the metalink, but if you wish to use a local mirror | |
# place its address here. | |
#baseurl=http://download.example/pub/epel/testing/7/$basearch | |
metalink=https://mirrors.fedoraproject.org/metalink?repo=testing-epel7&arch=$basearch&infra=$infra&content=$contentdir | |
failovermethod=priority | |
enabled=0 | |
gpgcheck=1 | |
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-7 | |
[epel-testing-debuginfo] | |
name=Extra Packages for Enterprise Linux 7 - Testing - $basearch - Debug | |
# It is much more secure to use the metalink, but if you wish to use a local mirror | |
# place its address here. | |
#baseurl=http://download.example/pub/epel/testing/7/$basearch/debug | |
metalink=https://mirrors.fedoraproject.org/metalink?repo=testing-debug-epel7&arch=$basearch&infra=$infra&content=$contentdir | |
failovermethod=priority | |
enabled=0 | |
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-7 | |
gpgcheck=1 | |
[epel-testing-source] | |
name=Extra Packages for Enterprise Linux 7 - Testing - $basearch - Source | |
# It is much more secure to use the metalink, but if you wish to use a local mirror | |
# place it's address here. | |
#baseurl=http://download.example/pub/epel/testing/7/source/tree/ | |
metalink=https://mirrors.fedoraproject.org/metalink?repo=testing-source-epel7&arch=$basearch&infra=$infra&content=$contentdir | |
failovermethod=priority | |
enabled=0 | |
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-7 | |
gpgcheck=1 |
epel.repo 阿里云加速源
[epel] | |
name=Extra Packages for Enterprise Linux 7 - $basearch | |
baseurl=http://mirrors.aliyun.com/epel/7/$basearch | |
failovermethod=priority | |
enabled=1 | |
gpgcheck=0 | |
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-7 | |
[epel-debuginfo] | |
name=Extra Packages for Enterprise Linux 7 - $basearch - Debug | |
baseurl=http://mirrors.aliyun.com/epel/7/$basearch/debug | |
failovermethod=priority | |
enabled=0 | |
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-7 | |
gpgcheck=0 | |
[epel-source] | |
name=Extra Packages for Enterprise Linux 7 - $basearch - Source | |
baseurl=http://mirrors.aliyun.com/epel/7/SRPMS | |
failovermethod=priority | |
enabled=0 | |
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-7 | |
gpgcheck=0 |
正文完