centos8 修改yum 源


  cd /etc/yum.repos.d
  cp CentOS-Stream-BaseOS.repo CentOS-Stream-BaseOS.repo.bak

下載阿里雲yum 源

wget -O CentOS-Stream-BaseOS.repo http://mirrors.aliyun.com/repo/Centos-8.repo

更新緩存

yum clean all
yum makecache

更新源

yum update -y


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM