Centos系統快速添加yum源

楔子

學習筆記。
之前一直是在阿里雲官網 按照操作配置阿里centos鏡像,今天偶然間發現一個工具,快速添加鏡像

命令安裝

yum install -y yum-utils device-mapper-persistent-data lvm2

添加鏡像

添加命令

yum-config-manager --add-repo http://mirrors.aliyun.com/repo/Centos-7.repo
阿里雲yum源:
http://mirrors.aliyun.com/repo/Centos-7.repo

小紅帽yum源:
https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm

阿里CentOS鏡像手動配置

https://developer.aliyun.com/mirror/centos

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章