admin 发表于 2024-7-30 03:04:35

centos7停止维护后修复yum源

sed -i 's/mirrorlist/#mirrorlist/g' /etc/yum.repos.d/CentOS-*
sed -i 's|#baseurl=http://mirror.centos.org|baseurl=http://vault.centos.org|g' /etc/yum.repos.d/CentOS-*yum clean all
yum makecache

页: [1]
查看完整版本: centos7停止维护后修复yum源