易陆发现互联网技术论坛

 找回密码
 开始注册
查看: 3891|回复: 0
收起左侧

公有yum源地址

[复制链接]
发表于 2017-11-28 11:51:27 | 显示全部楼层 |阅读模式

马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。

您需要 登录 才可以下载或查看,没有账号?开始注册

x
# cat Centos-7.repo / U) U/ j. o7 J
# CentOS-Base.repo
7 x! U! y, O  ^4 L#: F' {+ C; N5 H+ z" K* g2 i
# The mirror system uses the connecting IP address of the client and the
0 O  C; Z: J- T3 I7 L, Z" \# update status of each mirror to pick mirrors that are updated to and/ ?1 m4 Y) d6 t3 \1 u: D/ p' X$ e4 a; `
# geographically close to the client.  You should use this for CentOS updates1 j8 k6 j/ ]3 _8 q) r# J
# unless you are manually picking other mirrors.  e( [: }$ v9 ?4 O4 _
#1 b/ x4 ]  S) g9 k+ v
# If the mirrorlist= does not work for you, as a fall back you can try the
( ^1 Y) L% q* [5 x+ E6 V. @# remarked out baseurl= line instead., T) D5 v+ u7 g( P, H
#
% U8 A: c  w$ e4 B' @( r## @3 ~% L" m: t

# k$ h2 u! E/ u9 N3 B# W[base]/ |3 |1 r4 `- @
name=CentOS-$releasever - Base - mirrors.aliyun.com
0 G+ C# g5 @/ N' Q% X! [' T1 c5 wfailovermethod=priority
/ Y) v& N* N: @, F% C* Pbaseurl=http://mirrors.aliyun.com/centos/$releasever/os/$basearch/
) f7 n6 h! Q2 G6 O( M( h        http://mirrors.aliyuncs.com/centos/$releasever/os/$basearch/
8 s) C+ Z. L6 _7 F#mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=os
9 L, }2 i7 P' e; u; ?2 T7 Wgpgcheck=1/ ?* N( c: v6 d+ z! p
gpgkey=http://mirrors.aliyun.com/centos/RPM-GPG-KEY-CentOS-7, e8 f9 v$ k  H

0 [+ c# E5 w5 y/ m% ~, T, m4 k/ r: O#released updates
* Z2 }1 B7 N6 F& I% X( M1 b3 e[updates]) g" J7 o  ]" m* ~% c) Z/ @
name=CentOS-$releasever - Updates - mirrors.aliyun.com
: }$ |+ N! z2 ?* C# o/ Y( Hfailovermethod=priority
. D7 U5 m) k/ h$ w2 Pbaseurl=http://mirrors.aliyun.com/centos/$releasever/updates/$basearch/8 x" e7 {5 W" Q/ K6 d2 Z. R0 l! H! j
        http://mirrors.aliyuncs.com/centos/$releasever/updates/$basearch/
7 F* C3 w. w% D5 Z. E# O3 J#mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=updates2 o6 H% X/ i% ?% q7 e) l% I7 O9 Z
gpgcheck=17 w, K1 K1 |$ _7 e1 q8 _* ]4 x
gpgkey=http://mirrors.aliyun.com/centos/RPM-GPG-KEY-CentOS-7- D' w/ l8 P  n  L
4 S8 h. Y3 y( y0 W. Y* |
#additional packages that may be useful
5 H% a; L% \5 J( z& Y2 `1 b[extras]
  |6 P0 @, {% r! x/ T) _; Cname=CentOS-$releasever - Extras - mirrors.aliyun.com# |) E% C2 m& m4 O
failovermethod=priority
3 K  Z* H8 \' [0 y; A+ Abaseurl=http://mirrors.aliyun.com/centos/$releasever/extras/$basearch/
9 V: \0 u  a" ^        http://mirrors.aliyuncs.com/centos/$releasever/extras/$basearch/
' f3 p! ^* I% P7 Z( }( |0 I#mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=extras3 r3 l, K: A- o" D( t  B
gpgcheck=1! f* }! P, q5 k  V' o9 Y
gpgkey=http://mirrors.aliyun.com/centos/RPM-GPG-KEY-CentOS-7
* }& d' y) [1 B; x3 ? . d* n: m% n- e4 Q7 r
#additional packages that extend functionality of existing packages6 c" Z: k9 G; X
[centosplus]
2 ]0 H2 `/ v( x% o" _name=CentOS-$releasever - Plus - mirrors.aliyun.com  v. H' b+ n! J" r
failovermethod=priority
" E8 e6 h4 H% U0 l5 lbaseurl=http://mirrors.aliyun.com/centos/$releasever/centosplus/$basearch/
7 ]  l7 [9 q# x        http://mirrors.aliyuncs.com/centos/$releasever/centosplus/$basearch/
6 u$ z" H3 p0 j1 A% R#mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=centosplus0 w" J: x) q" @" n
gpgcheck=1
' j& d9 f$ @0 x/ D+ ]. c- t! i3 Nenabled=0; s' H* t, J. s5 f
gpgkey=http://mirrors.aliyun.com/centos/RPM-GPG-KEY-CentOS-7
3 Z% T1 {2 y# T 3 X, u' q5 n: x# R7 ^0 O$ W
#contrib - packages by Centos Users1 W6 |2 H9 T1 N# B4 x
[contrib]
/ \; Y' @' ^! H3 y5 Tname=CentOS-$releasever - Contrib - mirrors.aliyun.com
# P; x0 I( e; H! y) L8 wfailovermethod=priority
" P! d/ ^3 c" D1 J# wbaseurl=http://mirrors.aliyun.com/centos/$releasever/contrib/$basearch/
. @4 i& _8 p& [        http://mirrors.aliyuncs.com/centos/$releasever/contrib/$basearch/
2 B. K+ |# l: q1 B1 F  V#mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=contrib6 Q. O+ t9 @3 v. G, j& X9 @
gpgcheck=1* W4 q' ]0 u& `
enabled=0
+ j* N. l5 S, l* X1 lgpgkey=http://mirrors.aliyun.com/centos/RPM-GPG-KEY-CentOS-7
. H; D8 H) H* Q9 J5 k, Z
您需要登录后才可以回帖 登录 | 开始注册

本版积分规则

关闭

站长推荐上一条 /4 下一条

北京云银创陇科技有限公司以云计算运维,代码开发

QQ|返回首页|Archiver|小黑屋|易陆发现技术论坛 ( 蜀ICP备2026014127号-1 )点击这里给我发消息

GMT+8, 2026-4-9 01:10 , Processed in 0.048661 second(s), 22 queries .

Powered by Discuz! X3.4 Licensed

© 2012-2025 Discuz! Team.

快速回复 返回顶部 返回列表