#cd /etc/yum.repos.d
#vim CentOS-AppStream.repo
[AppStream]
name=CentOS-KaTeX parse error: Expected 'EOF', got '#' at position 24: …er - AppStream #̲baseurl=http://…contentdir/
r
e
l
e
a
s
e
v
e
r
/
A
p
p
S
t
r
e
a
m
/
releasever/AppStream/
releasever/AppStream/basearch/os/
baseurl=http://mirrors.aliyun.com/centos/
r
e
l
e
a
s
e
v
e
r
/
A
p
p
S
t
r
e
a
m
/
releasever/AppStream/
releasever/AppStream/basearch/os/
gpgcheck=1
enabled=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-centosofficial
#vim CentOS-Base.repo
[BaseOS]
name=CentOS-KaTeX parse error: Expected 'EOF', got '#' at position 19: …easever - Base #̲mirrorlist=http…releasever&arch=KaTeX parse error: Expected 'EOF', got '&' at position 9: basearch&̲repo=BaseOS&inf…infra
#baseurl=https://mirror.centos.org/
c
o
n
t
e
n
t
d
i
r
/
contentdir/
contentdir/releasever/BaseOS/
b
a
s
e
a
r
c
h
/
o
s
/
b
a
s
e
u
r
l
=
h
t
t
p
:
/
/
m
i
r
r
o
r
s
.
a
l
i
y
u
n
.
c
o
m
/
c
e
n
t
o
s
/
basearch/os/ baseurl=http://mirrors.aliyun.com/centos/
basearch/os/baseurl=http://mirrors.aliyun.com/centos/releasever/BaseOS/$basearch/os/
gpgcheck=1
enabled=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-centosofficial
#vi CentOS-Epel.repo
[epel]
name=CentOS-
r
e
l
e
a
s
e
v
e
r
−
E
p
e
l
b
a
s
e
u
r
l
=
h
t
t
p
:
/
/
m
i
r
r
o
r
s
.
a
l
i
y
u
n
.
c
o
m
/
e
p
e
l
/
8
/
E
v
e
r
y
t
h
i
n
g
/
releasever - Epel baseurl=http://mirrors.aliyun.com/epel/8/Everything/
releasever−Epelbaseurl=http://mirrors.aliyun.com/epel/8/Everything/basearch
enabled=1
gpgcheck=0
#vim CentOS-Extras.repo
[extras]
name=CentOS-
r
e
l
e
a
s
e
v
e
r
−
E
x
t
r
a
s
m
i
r
r
o
r
l
i
s
t
=
h
t
t
p
:
/
/
m
i
r
r
o
r
l
i
s
t
.
c
e
n
t
o
s
.
o
r
g
/
?
r
e
l
e
a
s
e
=
releasever - Extras mirrorlist=http://mirrorlist.centos.org/?release=
releasever−Extrasmirrorlist=http://mirrorlist.centos.org/?release=releasever&arch=KaTeX parse error: Expected 'EOF', got '&' at position 9: basearch&̲repo=extras&inf…infra
#baseurl=http://mirror.centos.org/
c
o
n
t
e
n
t
d
i
r
/
contentdir/
contentdir/releasever/extras/
b
a
s
e
a
r
c
h
/
o
s
/
b
a
s
e
u
r
l
=
h
t
t
p
s
:
/
/
m
i
r
r
o
r
s
.
a
l
i
y
u
n
.
c
o
m
/
c
e
n
t
o
s
/
basearch/os/ baseurl=https://mirrors.aliyun.com/centos/
basearch/os/baseurl=https://mirrors.aliyun.com/centos/releasever/extras/$basearch/os/
gpgcheck=1
enabled=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-centosofficial
#vi CentOS-Media.repo
[c8-media-BaseOS]
name=CentOS-BaseOS-
r
e
l
e
a
s
e
v
e
r
−
M
e
d
i
a
b
a
s
e
u
r
l
=
f
i
l
e
:
/
/
/
m
e
d
i
a
/
C
e
n
t
O
S
/
B
a
s
e
O
S
/
g
p
g
c
h
e
c
k
=
1
e
n
a
b
l
e
d
=
1
g
p
g
k
e
y
=
f
i
l
e
:
/
/
/
e
t
c
/
p
k
i
/
r
p
m
−
g
p
g
/
R
P
M
−
G
P
G
−
K
E
Y
−
c
e
n
t
o
s
o
f
f
i
c
i
a
l
[
c
8
−
m
e
d
i
a
−
A
p
p
S
t
r
e
a
m
]
n
a
m
e
=
C
e
n
t
O
S
−
A
p
p
S
t
r
e
a
m
−
releasever - Media baseurl=file:///media/CentOS/BaseOS/ gpgcheck=1 enabled=1 gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-centosofficial [c8-media-AppStream] name=CentOS-AppStream-
releasever−Mediabaseurl=file:///media/CentOS/BaseOS/gpgcheck=1enabled=1gpgkey=file:///etc/pki/rpm−gpg/RPM−GPG−KEY−centosofficial[c8−media−AppStream]name=CentOS−AppStream−releasever - Media
baseurl=file:///media/CentOS/AppStream/
gpgcheck=1
enabled=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-centosofficial
#dnf -y install epel-release
#dnf clean all
#dnf makecache
#dnf repolist