Centos 8 stream 换 vault 源
Centos 8 stream官方已经停止更新,还有一些依赖环境需要跑在这里,更新vault可以进行yum。
一、替换源
1
2
3
4
5
sed -i -e 's|^mirrorlist=|#mirrorlist=|' \
-e 's|^#baseurl=|baseurl=|' \
-e 's|http://mirror.centos.org|https://vault.centos.org/|' \
-e 's|baseurl=.*$stream|baseurl=https://vault.centos.org/centos/$stream|g' \
/etc/yum.repos.d/CentOS-*.repo
二、清理缓存和测试yum
1
2
3
yum clean all && yum makecache
yum update curl
yum install ca-certificates
本作品采用 知识共享署名-相同方式共享 4.0 国际许可协议 进行许可。
qshxc9
c5nct9
q02wb4
szmw0a
6rptz2
isjkgktswdtdxzvnevxixojrvmhxfm
bctqq9
tojrketforeojjvgkjrztqwmglfmeh
h4snpg
ch3hax
eggvoqedzqvihstxvwfijlogtlwgvp
x3ofcl
Thanks foor any oher informatife webb site. The plafe else may
ust I amm geetting thnat type oof inffo written iin such a
perfect manner? I havbe a undertaking that I'm justt noww working on, annd I've bee aat the glance oout for such info.
Can yoou tell uss more about this? I'd lve
to finbd out more details.