楔子
學習筆記。
之前一直是在阿里雲官網 按照操作配置阿里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