Alibaba Cloud Linux 3 更新yum源

[alinux3-module]
name= alinux3-module
baseurl= https://mirrors.aliyun.com/alinux/$releasever/module/$basearch/
gpgcheck=1
gpgkey=https://mirrors.aliyun.com/alinux/$releasever/RPM-GPG-KEY-ALINUX-3
[alinux3-updates]
name=alinux3-updates
baseurl=https://mirrors.aliyun.com/alinux/$releasever/updates/$basearch/
enabled=1
gpgcheck=1
gpgkey=https://mirrors.aliyun.com/alinux/$releasever/RPM-GPG-KEY-ALINUX-3
[alinux3-plus]
name=alinux3-plus
baseurl=https://mirrors.aliyun.com/alinux/$releasever/plus/$basearch/
enabled=1
gpgcheck=1
gpgkey=https://mirrors.aliyun.com/alinux/$releasever/RPM-GPG-KEY-ALINUX-3
[alinux3-powertools]
name=alinux3-powertools
baseurl=https://mirrors.aliyun.com/alinux/$releasever/powertools/$basearch/
gpgcheck=1
enabled=1
gpgkey=https://mirrors.aliyun.com/alinux/$releasever/RPM-GPG-KEY-ALINUX-3
[alinux3-os]
name=alinux3-os
baseurl= https://mirrors.aliyun.com/alinux/$releasever/os/$basearch/
gpgcheck=1
enabled=1
gpgkey= https://mirrors.aliyun.com/alinux/$releasever/RPM-GPG-KEY-ALINUX-3

在/etc/yum.repos.d 目录下添加对应的repo文件;

posted @ 2025-03-07 13:49  听风者~  阅读(470)  评论(0)    收藏  举报