- 积分
- 1191
在线时间 小时
最后登录1970-1-1
|

楼主 |
发表于 2025-12-28 10:44:29
|
显示全部楼层
[root@rehlyum mnt]# vim /etc/yum.repos.d/redhat.repo ; S) P7 B# z/ G3 @+ e
$ n& c0 k' _. d9 M4 G' c[BaseOS]
& q( a9 n2 C( V! s. T8 G( Lname = redhat8.6-OS
4 {7 l4 z- h u1 @baseurl = file:///mnt/BaseOS
7 U& W# Z& {1 kgpgcheck = 0: W5 ?5 u+ e7 U
( f- }/ H9 G" Z2 P3 F. `, y" \[AppStream]
, \) F, `$ R6 O" w* L. Hname = redhat8.6-AppStream5 s- S( e5 I4 z1 I8 V1 }5 [
baseurl = file:///mnt/AppStream' F4 F- O, C9 A9 y
gpgcheck = 08 ?8 v- q0 S m/ C5 z, O
; o6 T6 g3 S& V8 U' }- u
0 I( W) _$ s! y( v$ b# S* S' O: {2 J9 @2 h3 Y" C8 Z, n
[root@rehlyum mnt]# dnf clean all 1 _. T" z$ \- _4 m: S
Updating Subscription Management repositories.7 `# C/ A# e+ N3 L
Unable to read consumer identity
9 i6 y8 Z- Z, G8 }
8 E6 l- T, C- W5 QThis system is not registered with an entitlement server. You can use subscription-manager to register.4 h8 a) \3 G' @* _
& L7 p+ w4 i3 M2 ?( k s8 }
0 files removed
: Z7 W; u# E0 K0 M& ^$ a; @[root@rehlyum mnt]# dnf install httpd# f# P6 }; B u) z4 U
Updating Subscription Management repositories.
* D( P0 d% Z* \" EUnable to read consumer identity! q4 D- x2 ?7 p, E! |/ M0 G
2 u! A$ o! B' r9 z x6 j# ~
This system is not registered with an entitlement server. You can use subscription-manager to register.
& ]: X; s; ?* T5 t, V* h9 i3 L
redhat8.6-OS 79 MB/s | 2.4 MB 00:00
6 W9 d: q2 b8 L3 }+ h& r. k1 Jredhat8.6-AppStream 80 MB/s | 7.5 MB 00:00
# |" m% y3 ?, |. V1 K* W6 w! R" GLast metadata expiration check: 0:00:01 ago on Sun 28 Dec 2025 10:42:32 AM CST.
6 |1 Z$ V H, DPackage httpd-2.4.37-47.module+el8.6.0+14529+083145da.1.x86_64 is already installed.8 ]1 {# N+ `7 g4 Z( x( f8 y
Dependencies resolved.
( R0 U! S6 g, U2 @Nothing to do.4 Q" F3 n' P' M X6 c, K% Y3 A6 i
Complete!* S5 W4 m9 d1 @! W7 D& P$ t# r$ Z
[root@rehlyum mnt]# dnf install httpd -y
5 f, {) g( r" ~6 o4 R7 yUpdating Subscription Management repositories.
! H3 |+ x. X9 D5 d# l/ Q& E) YUnable to read consumer identity/ a" c* o5 J2 U; U
3 k+ w/ u" ]% C Y
This system is not registered with an entitlement server. You can use subscription-manager to register.
: r$ M# @9 L% \5 K- i% N& i" d5 K5 B/ t, E1 S) T: ^& b5 r3 A
Last metadata expiration check: 0:00:07 ago on Sun 28 Dec 2025 10:42:32 AM CST.
1 f3 l. F" j. v. ^8 E& j5 ]Package httpd-2.4.37-47.module+el8.6.0+14529+083145da.1.x86_64 is already installed.8 P& M1 k0 V8 k" b
Dependencies resolved.
2 u7 T8 s. v+ K% I5 MNothing to do.7 f/ ~- W! _7 N6 K' \
Complete!7 m2 r6 c4 B* J3 C! ?/ V- e5 i
[root@rehlyum mnt]# dnf install -y createrepo_c-
% J7 G6 o- J- c" N4 screaterepo_c-devel-0.17.7-5.el8.i686 createrepo_c-devel-0.17.7-5.el8.x86_64 createrepo_c-libs-0.17.7-5.el8.i686 createrepo_c-libs-0.17.7-5.el8.x86_64
! |4 n$ i; D; @$ q0 O[root@rehlyum mnt]# dnf install -y createrepo_c-+ b u% m l7 M9 d1 i
createrepo_c-devel-0.17.7-5.el8.i686 createrepo_c-devel-0.17.7-5.el8.x86_64 createrepo_c-libs-0.17.7-5.el8.i686 createrepo_c-libs-0.17.7-5.el8.x86_64
( D0 \+ R) f# M S4 i[root@rehlyum mnt]# dnf install -y createrepo_c8 d4 p& y# O. |/ P; j/ |
Updating Subscription Management repositories.
3 ?3 F% m! Q' c/ I. UUnable to read consumer identity; m$ s8 I, o9 L5 u. C5 l: R
8 Z% T: @. I$ w8 _2 x) v! S" m+ x/ J
This system is not registered with an entitlement server. You can use subscription-manager to register.! h# b: o8 y9 T$ K$ D8 y% T: H9 L
/ `' H% F% a& q' wLast metadata expiration check: 0:00:27 ago on Sun 28 Dec 2025 10:42:32 AM CST.6 w2 f B+ y! |
Dependencies resolved.( H {: ^4 i5 e" T5 v z$ I7 J2 ~2 L
=================================================================================================================================================================" Y0 _0 p2 Y% H; w6 L" K
Package Architecture Version Repository Size
# P7 s$ L9 t. f- W: Q \6 E=================================================================================================================================================================
% k2 l$ V, K' ^ m, u9 Y9 uInstalling:1 a) B" K7 n0 d S6 ]2 ]$ ]
createrepo_c x86_64 0.17.7-5.el8 AppStream 89 k1 u! R% q9 m) l9 q: _+ P5 ^# C
Installing dependencies:: s$ o# S& n2 j3 v5 a6 E4 {$ x' j
createrepo_c-libs x86_64 0.17.7-5.el8 AppStream 116 k, ?" v- Y7 ~* A2 e& T! |
drpm x86_64 0.4.1-3.el8 AppStream 68 k: y3 [. W9 U6 S+ H/ g! {' K6 r1 Y
. q4 P% e# `* l3 Y+ ?
Transaction Summary8 a$ P7 a; E E9 L2 O( P
=================================================================================================================================================================. W2 V- O+ B2 n
Install 3 Packages' o2 U; y7 B" `. j Z" J
. i4 U# \! c# ~Total size: 274 k1 D& K) K# Z( P( \% d( J
Installed size: 580 k: {$ c4 U6 J( S8 X) K" | l
Downloading Packages:4 }% q! w( k ~5 t' d% a; \
Running transaction check
, }8 O- A' |" h) w# [Transaction check succeeded.
+ I, h: ]& n. z0 }6 v( cRunning transaction test
9 s" ~ u4 k0 m' Q: d! JTransaction test succeeded., b6 Q' E6 S9 l5 Z4 X' t
Running transaction
6 J2 y+ ^1 {7 c Preparing : 1/1 / z8 D6 A! w5 O9 ]3 j+ ~1 ]3 W# m
Installing : drpm-0.4.1-3.el8.x86_64 1/3
: {3 E; \/ z; p5 f5 l- m" H Installing : createrepo_c-libs-0.17.7-5.el8.x86_64 2/3
4 x5 ~5 ]$ y/ w, E Installing : createrepo_c-0.17.7-5.el8.x86_64 3/3 4 ?4 U5 a$ `% D$ M
Running scriptlet: createrepo_c-0.17.7-5.el8.x86_64 3/3 / ~, J* G5 o$ R8 {0 E% L/ a2 Z
Verifying : createrepo_c-0.17.7-5.el8.x86_64 1/3 , C1 r' Y1 K7 T9 ^
Verifying : createrepo_c-libs-0.17.7-5.el8.x86_64 2/3 + x2 c- H' u* i L' k" j
Verifying : drpm-0.4.1-3.el8.x86_64 3/3 + ?# r; G' T. x: C M- U
Installed products updated.1 U S5 R1 `2 g! G2 v' E
P, ^* f" a7 ?& j: ~3 f
Installed:
+ E# ]* r4 q9 ]( P2 }- R% c, | createrepo_c-0.17.7-5.el8.x86_64 createrepo_c-libs-0.17.7-5.el8.x86_64 drpm-0.4.1-3.el8.x86_64
1 [7 W. m) @- ^& E- A f+ V4 k/ U4 } m; R, j$ l
Complete!8 L* {8 v: `, H, C- x" M0 ?
|
|