- 积分
- 16843
在线时间 小时
最后登录1970-1-1
|
马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。
您需要 登录 才可以下载或查看,没有账号?开始注册
x
# cat Centos-7.repo : o3 B: j# {, D9 M( a' Z
# CentOS-Base.repo
; ?; f- M! {! f#
. ^! E/ k% V+ n# The mirror system uses the connecting IP address of the client and the
! T* X% ]9 p* z- m# update status of each mirror to pick mirrors that are updated to and
9 m0 W% H5 M. j& o# geographically close to the client. You should use this for CentOS updates
- O/ }5 g& ?, x' t# unless you are manually picking other mirrors.
/ H" h) }( o ?, @6 m#/ Z' k1 g0 H* R! E
# If the mirrorlist= does not work for you, as a fall back you can try the 9 R- u1 Q& x/ a" ]8 ~9 Y, ~) s
# remarked out baseurl= line instead.
9 v4 Q( ?2 L I+ ~' i$ b#
6 x6 s! Z( q4 a( Y' P) \+ F#
* Z9 d; y5 h1 T0 l- g , n; j, S/ d! V4 F; l( T
[base]
5 @3 D# L8 J4 M% m& i" B; w+ ~- ]name=CentOS-$releasever - Base - mirrors.aliyun.com& y7 l9 Y/ _: z I8 _; x' O/ q+ Y
failovermethod=priority2 g& X' K9 z, S) q# ?' t
baseurl=http://mirrors.aliyun.com/centos/$releasever/os/$basearch/
0 w% z% z1 q7 [1 N0 w http://mirrors.aliyuncs.com/centos/$releasever/os/$basearch/2 i: M4 w P z' }
#mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=os
+ w7 T3 a8 q. J3 b: _gpgcheck=1; d' t" F' y" f
gpgkey=http://mirrors.aliyun.com/centos/RPM-GPG-KEY-CentOS-7
. ?! M2 K0 H/ g- w
5 [3 g! K7 S! J3 R#released updates & X( v) { h& C# W! o1 `/ l
[updates]6 W4 O/ [* x5 m: I7 M+ Y
name=CentOS-$releasever - Updates - mirrors.aliyun.com# y5 T. B+ i; e& q8 G8 H
failovermethod=priority
' r5 P, c2 ~/ \0 h) G% t3 c* Y3 fbaseurl=http://mirrors.aliyun.com/centos/$releasever/updates/$basearch/1 f! J3 y6 C" y L$ f. ?
http://mirrors.aliyuncs.com/centos/$releasever/updates/$basearch/' [( y# C2 J2 T' _0 j: c
#mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=updates
7 b! x4 W- |' e& \gpgcheck=18 ]0 x( ~. ~, A5 m$ {
gpgkey=http://mirrors.aliyun.com/centos/RPM-GPG-KEY-CentOS-79 I/ g; y k) G- D8 t0 d
$ V; t% g6 k! L+ @# }" x% x
#additional packages that may be useful
' p2 W0 b( T5 c) c3 e5 A1 d* P% J+ S[extras]
* C- u' y6 ] K0 U! }name=CentOS-$releasever - Extras - mirrors.aliyun.com
0 u4 a2 n# ?7 [failovermethod=priority
9 o1 Q2 @7 i }baseurl=http://mirrors.aliyun.com/centos/$releasever/extras/$basearch/& P) C% M2 {3 M* R% T$ T. j& G7 \ R
http://mirrors.aliyuncs.com/centos/$releasever/extras/$basearch/
; H. c) A. ^$ z- o: v, R+ E$ A#mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=extras5 f. X# h8 J; `# W" e6 E3 G
gpgcheck=1) g9 G) b2 t9 Q! W7 n
gpgkey=http://mirrors.aliyun.com/centos/RPM-GPG-KEY-CentOS-7- ^; L& G! ~& x2 b, F2 U& c
( y3 t4 ~6 O( E, J#additional packages that extend functionality of existing packages. {( ]( c3 n5 a, u
[centosplus] H' I) U( d4 q
name=CentOS-$releasever - Plus - mirrors.aliyun.com+ o6 u, S' n x. W+ `
failovermethod=priority
2 D u) i$ }" `+ a6 cbaseurl=http://mirrors.aliyun.com/centos/$releasever/centosplus/$basearch// {. d0 j+ w5 Q% C, W
http://mirrors.aliyuncs.com/centos/$releasever/centosplus/$basearch/
# D+ n% O4 O& X! U#mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=centosplus, Y* W- L* b! O+ x1 C
gpgcheck=1
# r# j: y4 `( l. f, J. ?enabled=0
5 [) I1 S0 ~( hgpgkey=http://mirrors.aliyun.com/centos/RPM-GPG-KEY-CentOS-7' e2 I0 [9 ?# `& X1 W7 S
7 h0 _$ f& _3 _. \/ d* [& V( y& K& L8 K
#contrib - packages by Centos Users
: T# ^; i1 o( x[contrib]
) z$ i% t- i& _' Y; i1 T% Y+ ?name=CentOS-$releasever - Contrib - mirrors.aliyun.com
9 `% F) K; y4 e+ D" gfailovermethod=priority6 w$ ?. q$ W0 l1 w4 \
baseurl=http://mirrors.aliyun.com/centos/$releasever/contrib/$basearch/
' d- L$ p8 t0 w http://mirrors.aliyuncs.com/centos/$releasever/contrib/$basearch/
% ~' s7 i) q; l2 m( w o#mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=contrib
/ E# c8 I$ x& {0 } L* |3 \( @& Dgpgcheck=1
8 _/ w% N: D4 B: `, W% H. e& F4 Benabled=0
0 {$ ~4 [. i" J- i/ [ n# fgpgkey=http://mirrors.aliyun.com/centos/RPM-GPG-KEY-CentOS-7
. z. Y8 S+ a9 `6 V |
|