找回密码
 注册
查看: 3894|回复: 0

公有yum源地址

[复制链接]

1

主题

0

回帖

12

积分

管理员

积分
12
QQ
发表于 2017-11-28 11:51:27 | 显示全部楼层 |阅读模式
# cat Centos-7.repo
/ a( {' ?. _1 U6 M3 S# CentOS-Base.repo
8 }! U/ z+ m# O# P#
  }5 Y8 n4 x6 r+ v# The mirror system uses the connecting IP address of the client and the
$ Q( N6 i7 Z! Z" X" F' [1 z. @# update status of each mirror to pick mirrors that are updated to and* _  D* I. K( R2 t
# geographically close to the client.  You should use this for CentOS updates( G5 [! T9 `  s  S2 W  ^( q7 G! ~
# unless you are manually picking other mirrors.
3 J$ U1 u7 a1 L$ x! a) v. C% b#' _# L" z& ]" Y+ j- h- i
# If the mirrorlist= does not work for you, as a fall back you can try the
8 N( m2 E$ `4 G0 ]# remarked out baseurl= line instead.
/ J- H* S* ^# H, M#
- n$ W: _' f2 j6 C& X% g. N#
# E0 F3 o' o! C3 |" j2 U; F  k* `5 l! v 6 K2 z. ]' e5 y/ g6 r9 {5 N
[base]
; \" Z% L; {9 `9 r5 L$ m1 xname=CentOS-$releasever - Base - mirrors.aliyun.com: e/ o2 \% E: W, v, Z' H( e
failovermethod=priority5 |# E. [2 G/ h9 f1 `+ |
baseurl=http://mirrors.aliyun.com/centos/$releasever/os/$basearch/
- S6 L' Q7 I/ @3 d/ o5 H" @        http://mirrors.aliyuncs.com/centos/$releasever/os/$basearch/
7 ^' Y* |! J; O#mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=os
. e  D8 Z1 f7 ]* mgpgcheck=1
* f+ N' u" [" ]+ `9 y# _, ogpgkey=http://mirrors.aliyun.com/centos/RPM-GPG-KEY-CentOS-7
) |0 ~1 z% P+ L! l2 z! m# u / E& X; t* \6 j  r9 Y5 N
#released updates
( g2 v, @* k2 S1 u4 G! v[updates]
5 R+ a5 p: D& a8 N  K! xname=CentOS-$releasever - Updates - mirrors.aliyun.com
2 F) A1 A7 u; T; z  {8 `failovermethod=priority
! p0 k5 }( b6 G* }( T0 fbaseurl=http://mirrors.aliyun.com/centos/$releasever/updates/$basearch/, l# v7 H7 v8 @  @# D
        http://mirrors.aliyuncs.com/centos/$releasever/updates/$basearch/! [2 Y8 V/ ?* f' C2 Q
#mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=updates2 e9 @5 m. e$ O9 X0 G
gpgcheck=16 @2 j7 V! f. @' H" Z
gpgkey=http://mirrors.aliyun.com/centos/RPM-GPG-KEY-CentOS-74 J- V4 x/ D. T& e5 h8 Z3 B" ]

, P/ I4 g( i+ e% S2 [#additional packages that may be useful6 j! h1 i: S4 p* E8 A
[extras]0 h1 T% N$ [( V8 o
name=CentOS-$releasever - Extras - mirrors.aliyun.com: m: r4 C/ V% q9 P
failovermethod=priority
/ m4 r: G4 h- Kbaseurl=http://mirrors.aliyun.com/centos/$releasever/extras/$basearch/2 i  b7 @9 O: w2 z
        http://mirrors.aliyuncs.com/centos/$releasever/extras/$basearch/
* }2 u, O2 x1 ^, R( O' z#mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=extras
# ~5 O$ A( I, b; v7 bgpgcheck=1* U+ \/ Q/ l& I4 x5 K: T+ c
gpgkey=http://mirrors.aliyun.com/centos/RPM-GPG-KEY-CentOS-7
# g/ S4 i+ ]! }: S9 b1 U
1 B# U$ x; T7 `' |#additional packages that extend functionality of existing packages+ p2 U  l$ n+ g; Z
[centosplus]
/ p) a& p; ?: d9 z9 Aname=CentOS-$releasever - Plus - mirrors.aliyun.com5 U  F" ]1 W3 l4 `/ r
failovermethod=priority7 {+ q  P4 n3 a% G% u  L
baseurl=http://mirrors.aliyun.com/centos/$releasever/centosplus/$basearch/
2 e; ^, R, f8 B: t4 x! K2 t        http://mirrors.aliyuncs.com/centos/$releasever/centosplus/$basearch/) F  u. x0 E3 q4 c8 v- L% x: V9 t
#mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=centosplus# X- m" m, h9 l+ {) ?% J
gpgcheck=17 {# C! T8 U9 @7 O+ `+ }. e
enabled=0& U0 \% ~; W* u  x
gpgkey=http://mirrors.aliyun.com/centos/RPM-GPG-KEY-CentOS-7" i/ M; ^' \' e; @5 ~2 J( R
' \7 G( f& E3 p! N+ y- t
#contrib - packages by Centos Users* `4 U* u0 _* h, ~4 h
[contrib]' m5 n/ }3 f8 o- w3 R: c* T
name=CentOS-$releasever - Contrib - mirrors.aliyun.com0 @  }8 [* D1 ~
failovermethod=priority& C9 s* X- R" z% @2 [
baseurl=http://mirrors.aliyun.com/centos/$releasever/contrib/$basearch/+ W3 \9 T# T. m  ~+ x9 r
        http://mirrors.aliyuncs.com/centos/$releasever/contrib/$basearch/
0 K, c0 F. `9 y& B  ~( n#mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=contrib
9 d6 u6 ^" w/ T4 ^0 C% O% J& bgpgcheck=1
5 T1 t7 z7 [2 ?/ z6 ?  O, r' Henabled=0* z/ q- t* H- j% T7 j+ P
gpgkey=http://mirrors.aliyun.com/centos/RPM-GPG-KEY-CentOS-7$ T! k* G5 d. s0 \
您需要登录后才可以回帖 登录 | 注册

本版积分规则

返回首页|Archiver|手机版|小黑屋|易陆发现技术论坛 ( 蜀ICP备2026014127号-1 )

GMT+8, 2026-6-12 02:06 , Processed in 0.022258 second(s), 22 queries .

Powered by Discuz! X5.0

© 2001-2026 Discuz! Team.

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