yum install -y --enablerepo CentOS 更換yum源為aliyun yum源


echo -e "[NOT-CERTIFIED]\nname=NOT-CERTIFIED\nbaseurl=http://xxx/openopen/not-cert/rhel7-x86_64/latest/RPMS.all\nenabled=0\ngpgcheck=0" > /etc/yum.repos.d/NOT-CERTIFIED.repo
yum install -y --enablerepo=NOT-CERTIFIED lrzsz

 

wget -O /etc/yum.repos.d/docker-ce.repo https://mirrors.aliyun.com/docker-ce/linux/centos/docker-ce.repo

yum install epel-release

curl -o /etc/yum.repos.d/epel.repo https://mirrors.aliyun.com/repo/epel-7.repo

CentOS 更換yum源為aliyun yum源

https://www.cnblogs.com/activiti/p/7552375.html


免責聲明!

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



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