linux系统yum源配置

记录一下步骤:

1、cd /etc/yum.repos.d
2、vim ali.repo

[ali]
name=ali
baseurl=https://mirrors.aliyun.com/centos/7/os/x86_64/
gpgcheck=0

[aliupdate]
name=update
baseurl=https://mirrors.aliyun.com/centos/7/updates/x86_64/
gpgcheck=0

3、yum clean all | yum makecache



posted @ 2024-12-29 21:06  时の封印  阅读(58)  评论(0)    收藏  举报