|
|
# cat Centos-7.repo
/ _: o" H) D) C2 \0 ]# CentOS-Base.repo
6 y5 c8 p0 j* r9 l2 d3 U#
0 h( |( Z A/ `- t% p. z# The mirror system uses the connecting IP address of the client and the# _: X3 C' g+ b; f5 ?) `8 {
# update status of each mirror to pick mirrors that are updated to and
( e, s# b! T# ]! Y# geographically close to the client. You should use this for CentOS updates2 [& r/ u' P6 r, c& d
# unless you are manually picking other mirrors.
6 v- s( m- A, ^. }# z#
& C8 ~/ T7 W0 ?& r% p# If the mirrorlist= does not work for you, as a fall back you can try the 2 r/ G! p3 ]7 e9 v& O
# remarked out baseurl= line instead.% j' J! Z' w- p
#
: t( Z, u; W" f+ Y) c, A2 E#
$ ^+ G$ N3 `1 a# @1 |$ j1 f+ g2 I5 @ % r% ^/ O6 @7 r' m; }
[base]$ l5 n+ O0 G4 T d2 ~7 y
name=CentOS-$releasever - Base - mirrors.aliyun.com
* _% x+ b' ~$ i" [7 V2 kfailovermethod=priority( o4 |5 x6 ?2 Y
baseurl=http://mirrors.aliyun.com/centos/$releasever/os/$basearch/
* |* t/ D# c5 a6 R" M3 M1 n http://mirrors.aliyuncs.com/centos/$releasever/os/$basearch/7 E5 F* V; x) @7 L( S& P/ `1 }! {
#mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=os( M: K2 @- I4 C7 @& E# ?6 L
gpgcheck=1
+ L, A3 V' n9 O1 N) W* _gpgkey=http://mirrors.aliyun.com/centos/RPM-GPG-KEY-CentOS-7) }) T" T4 ]0 q \2 [
" o0 f; E K2 B' D- E& D) d' D8 k- J
#released updates ( w1 m% h, f: L2 b& x
[updates]' b2 U# O7 U9 j I9 h/ g
name=CentOS-$releasever - Updates - mirrors.aliyun.com5 G* K% z0 c ]( e& m
failovermethod=priority! t8 d1 e% {& Y2 _
baseurl=http://mirrors.aliyun.com/centos/$releasever/updates/$basearch/
& Z/ `3 @& I( ?1 [9 o% w http://mirrors.aliyuncs.com/centos/$releasever/updates/$basearch/
/ j9 S/ g- q1 t: O1 Q$ w#mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=updates
8 c8 s- [9 R' lgpgcheck=16 n9 b3 Z2 c; r4 \$ C2 `2 D: |
gpgkey=http://mirrors.aliyun.com/centos/RPM-GPG-KEY-CentOS-70 j. p8 G) N2 ~- U
" M: l& t- p; d+ c#additional packages that may be useful8 _* t( q3 r7 v1 Z' c
[extras]
- u: V! _$ }: Mname=CentOS-$releasever - Extras - mirrors.aliyun.com9 c& c; e7 g! f! E
failovermethod=priority
6 f. T- X6 p1 w! s2 _baseurl=http://mirrors.aliyun.com/centos/$releasever/extras/$basearch/6 N' y+ \" b# U; h
http://mirrors.aliyuncs.com/centos/$releasever/extras/$basearch/* O7 ^# O/ D3 |0 B# g
#mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=extras$ _( {2 `9 d# C' E( ?# X
gpgcheck=13 Q2 f" h2 Z' y' q
gpgkey=http://mirrors.aliyun.com/centos/RPM-GPG-KEY-CentOS-7+ z3 A3 M2 Q3 ?* u; L$ A. E
! I$ Z n/ C8 g# g! z/ z) ?- L/ V, w
#additional packages that extend functionality of existing packages! L+ H+ ^$ e0 J$ Y
[centosplus]
; x2 Q) m" h9 ^5 g7 w" Rname=CentOS-$releasever - Plus - mirrors.aliyun.com
6 a0 b3 Z) G/ @failovermethod=priority; g f, r" i9 @# O5 j
baseurl=http://mirrors.aliyun.com/centos/$releasever/centosplus/$basearch/
, w, l( t0 f* A D, P http://mirrors.aliyuncs.com/centos/$releasever/centosplus/$basearch/
: }* Y# D. k8 U- d" V' E8 l#mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=centosplus
. p& z: L, m* `$ O) J: \; o. b0 K9 pgpgcheck=1 W8 r, d4 i) H+ a
enabled=0
$ ~3 {/ H1 Z' W# rgpgkey=http://mirrors.aliyun.com/centos/RPM-GPG-KEY-CentOS-7( k3 E: i* u4 U2 S2 ?& `" `1 T
/ l: |1 q# N0 s" e- c#contrib - packages by Centos Users; }1 C. [6 Q8 c5 k! e8 |
[contrib]1 s v8 C# _8 {$ _7 p" p
name=CentOS-$releasever - Contrib - mirrors.aliyun.com: s0 q; P. V" s" u- m2 P
failovermethod=priority
' ]8 B6 T/ R1 ^8 ^ D5 t; E9 vbaseurl=http://mirrors.aliyun.com/centos/$releasever/contrib/$basearch/
$ W5 ]( ~$ [; u6 S9 c0 f: D2 k http://mirrors.aliyuncs.com/centos/$releasever/contrib/$basearch/* A+ }2 b/ |! |
#mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=contrib, D$ R% r0 ]; ^+ i* P
gpgcheck=1: E7 I4 w5 z* C7 V& `
enabled=07 `2 B( C# n7 Z1 W# i% M" W
gpgkey=http://mirrors.aliyun.com/centos/RPM-GPG-KEY-CentOS-7
! Z; i; u: y* k& j$ S" |+ N q9 A1 b' S |
|