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

Centos7.9系统yum源配置文件

[复制链接]

1

主题

0

回帖

12

积分

管理员

积分
12
QQ
发表于 2024-11-20 15:08:41 | 显示全部楼层 |阅读模式
[base]
& I! I7 T+ k5 T' e: C1 r5 yname=CentOS-$releasever - Base - mirrors.aliyun.com: j+ p5 z9 e$ N9 r
failovermethod=priority- G* j4 d" ?3 T
baseurl=http://mirrors.aliyun.com/centos/$releasever/os/$basearch/
1 L1 h/ ]& H- G  S& R        http://mirrors.aliyuncs.com/centos/$releasever/os/$basearch/0 C1 u% p* Z2 U5 A
        http://mirrors.cloud.aliyuncs.com/centos/$releasever/os/$basearch// C9 @" J1 Y+ {  t0 Z
gpgcheck=1
. ]( L) ]/ \3 R0 g0 i/ w- A: u8 cgpgkey=http://mirrors.aliyun.com/centos/RPM-GPG-KEY-CentOS-7( Y2 K8 G) W3 n! P
5 F/ u! {) W  K/ n, ~
#released updates
8 \$ d. G7 o7 l[updates]1 |1 L5 K8 O/ `8 n) L
name=CentOS-$releasever - Updates - mirrors.aliyun.com
2 n- Z! ]+ M; f3 k9 ^failovermethod=priority
2 j. G! z3 b6 W2 d! `baseurl=http://mirrors.aliyun.com/centos/$releasever/updates/$basearch/$ n; H9 U1 ?& d2 a' \7 p/ x* T1 f
        http://mirrors.aliyuncs.com/centos/$releasever/updates/$basearch/
1 q2 g5 |# M$ Q  Y& P4 x        http://mirrors.cloud.aliyuncs.com/centos/$releasever/updates/$basearch/, Y7 K& A9 E% }  R
gpgcheck=1
9 b' ^) T& f* {, L, Vgpgkey=http://mirrors.aliyun.com/centos/RPM-GPG-KEY-CentOS-77 o- m( S: \% p+ _; T% F

+ }4 C1 O6 Q8 Q& K* J- a1 s#additional packages that may be useful
4 e/ m8 f- m! ]$ c5 @[extras]) G3 A' @/ B0 S9 ~+ l. |! @  E
name=CentOS-$releasever - Extras - mirrors.aliyun.com$ ?8 C; ~' w( y+ b( {, I6 L
failovermethod=priority
3 a7 S1 H; ^: v4 P3 f4 D1 D  bbaseurl=http://mirrors.aliyun.com/centos/$releasever/extras/$basearch/
& Q. s. O( z9 s/ D+ E: a+ |        http://mirrors.aliyuncs.com/centos/$releasever/extras/$basearch/' C. j5 M$ B! J
        http://mirrors.cloud.aliyuncs.com/centos/$releasever/extras/$basearch/1 {7 r' P% w. Y/ Z/ t
gpgcheck=13 r' l' b* B) J' a! S
gpgkey=http://mirrors.aliyun.com/centos/RPM-GPG-KEY-CentOS-7
9 O/ Z8 O' g3 H. Q2 B. k& y/ X% {. U% I, g, b
#additional packages that extend functionality of existing packages+ D: ]: D2 _: e# q5 ?$ b
[centosplus]
: k+ Z" x! |: h/ J% M1 |name=CentOS-$releasever - Plus - mirrors.aliyun.com
0 y* m9 [- a" i$ u: q6 p9 S' xfailovermethod=priority
! p: p) P; E8 `* ibaseurl=http://mirrors.aliyun.com/centos/$releasever/centosplus/$basearch/
: S2 ]# D+ G/ B, t        http://mirrors.aliyuncs.com/centos/$releasever/centosplus/$basearch/  B$ |  [6 V0 \2 d" _( r
        http://mirrors.cloud.aliyuncs.com/centos/$releasever/centosplus/$basearch/. q% a6 x" Z. V3 k$ b# P' B
gpgcheck=15 H4 y1 }( B0 l. O* F
enabled=0' x# r5 s2 s2 i0 j" ~2 _
gpgkey=http://mirrors.aliyun.com/centos/RPM-GPG-KEY-CentOS-7
1 O; s- V, E. Y2 G+ F: a6 }5 l: D  Y2 @) Z/ R+ ~; I
#contrib - packages by Centos Users
4 n# l8 M+ W& h" e6 j- x[contrib]
# l9 G! G) N$ W0 M1 u0 G& h5 zname=CentOS-$releasever - Contrib - mirrors.aliyun.com
& ]' ?4 W, s0 Q3 I; O% P3 \failovermethod=priority
) u& W8 [/ I) u# u+ K8 H4 U; }( vbaseurl=http://mirrors.aliyun.com/centos/$releasever/contrib/$basearch/
; I  r9 Z8 q( ]8 x* m9 L        http://mirrors.aliyuncs.com/centos/$releasever/contrib/$basearch/" L& A" R$ u2 i: |  r( R
        http://mirrors.cloud.aliyuncs.com/centos/$releasever/contrib/$basearch/
, F% E! s8 c9 F  Igpgcheck=1
' ~9 q+ s* ^" |- d0 U# ?& }enabled=0
2 {) I( @, |4 y+ Bgpgkey=http://mirrors.aliyun.com/centos/RPM-GPG-KEY-CentOS-70 J: b' ^9 H8 W/ _: B, [. }
; U2 ], l4 h" |1 H+ A! _3 u0 n/ f4 A- t
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

GMT+8, 2026-6-12 00:47 , Processed in 0.023413 second(s), 22 queries .

Powered by Discuz! X5.0

© 2001-2026 Discuz! Team.

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