linux 绑定阿里云的源

修改AppStream对应的配置文件

vim /etc/yum.repos.d/CentOS-AppStream.repo
#mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=AppStream&infra=$infra
baseurl=https://mirrors.aliyun.com/centos/8.1.1911/AppStream/x86_64/os/
修改BaseOS库
vim /etc/yum.repos.d/CentOS-Base.repo 
#mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=BaseOS&infra=$infra
baseurl=https://mirrors.aliyun.com/centos/8.1.1911/BaseOS/x86_64/os/
修改Extra库
vim /etc/yum.repos.d/CentOS-Extras.repo
#mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=extras&infra=$infra
baseurl=https://mirrors.aliyun.com/centos/8.1.1911/extras/x86_64/os/

上一篇:ArrayList扩容机制


下一篇:PLC编程系统怎么维护?