centos8 Error: Failed to download metadata for repo ‘appstream‘: Cannot prepare internal mirrorlist:

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 makecache

你可能感兴趣的:(centos,linux,运维)