Centos Stream 9 yum源
1、dnf/yum源阿里云 CentOS Stream9 源cat /etc/yum.repos.d/centos.repo EOF [baseos] nameCentOS Stream 9 - BaseOS baseurlhttps://mirrors.aliyun.com/centos-stream/9-stream/BaseOS/$basearch/os gpgkeyfile:///etc/pki/rpm-gpg/RPM-GPG-KEY-centosofficial gpgcheck1 repo_gpgcheck0 metadata_expire6h countme1 enabled1 [appstream] nameCentOS Stream 9 - AppStream baseurlhttps://mirrors.aliyun.com/centos-stream/9-stream/AppStream/$basearch/os gpgkeyfile:///etc/pki/rpm-gpg/RPM-GPG-KEY-centosofficial gpgcheck1 repo_gpgcheck0 metadata_expire6h countme1 enabled1 [crb] nameCentOS Stream 9 - CRB baseurlhttps://mirrors.aliyun.com/centos-stream/9-stream/CRB/$basearch/os gpgkeyfile:///etc/pki/rpm-gpg/RPM-GPG-KEY-centosofficial gpgcheck1 repo_gpgcheck0 metadata_expire6h enabled1 [extras-common] nameCentOS Stream 9 - Extras Common Packages baseurlhttps://mirrors.aliyun.com/centos-stream/SIGs/9-stream/extras/$basearch/extras-common gpgkeyfile:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-SIG-Extras-SHA512 gpgcheck1 repo_gpgcheck0 metadata_expire6h enabled1 EOF清华大学源cat /etc/yum.repos.d/centos.repo EOF [baseos] nameCentOS Stream 9 - BaseOS baseurlhttps://mirrors.tuna.tsinghua.edu.cn/centos-stream/9-stream/BaseOS/$basearch/os gpgkeyfile:///etc/pki/rpm-gpg/RPM-GPG-KEY-centosofficial gpgcheck1 repo_gpgcheck0 metadata_expire6h countme1 enabled1 [appstream] nameCentOS Stream 9 - AppStream baseurlhttps://mirrors.tuna.tsinghua.edu.cn/centos-stream/9-stream/AppStream/$basearch/os gpgkeyfile:///etc/pki/rpm-gpg/RPM-GPG-KEY-centosofficial gpgcheck1 repo_gpgcheck0 metadata_expire6h countme1 enabled1 [crb] nameCentOS Stream 9 - CRB baseurlhttps://mirrors.tuna.tsinghua.edu.cn/centos-stream/9-stream/CRB/$basearch/os gpgkeyfile:///etc/pki/rpm-gpg/RPM-GPG-KEY-centosofficial gpgcheck1 repo_gpgcheck0 metadata_expire6h enabled1 [extras-common] nameCentOS Stream 9 - Extras Common Packages baseurlhttps://mirrors.tuna.tsinghua.edu.cn/centos-stream/SIGs/9-stream/extras/$basearch/extras-common gpgkeyfile:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-SIG-Extras-SHA512 gpgcheck1 repo_gpgcheck0 metadata_expire6h enabled1 EOF中科大源cat /etc/yum.repos.d/centos.repo EOF [baseos] nameCentOS Stream 9 - BaseOS baseurlhttps://mirrors.ustc.edu.cn/centos-stream/9-stream/BaseOS/$basearch/os gpgkeyfile:///etc/pki/rpm-gpg/RPM-GPG-KEY-centosofficial gpgcheck1 repo_gpgcheck0 metadata_expire6h countme1 enabled1 [appstream] nameCentOS Stream 9 - AppStream baseurlhttps://mirrors.ustc.edu.cn/centos-stream/9-stream/AppStream/$basearch/os gpgkeyfile:///etc/pki/rpm-gpg/RPM-GPG-KEY-centosofficial gpgcheck1 repo_gpgcheck0 metadata_expire6h countme1 enabled1 [crb] nameCentOS Stream 9 - CRB baseurlhttps://mirrors.ustc.edu.cn/centos-stream/9-stream/CRB/$basearch/os gpgkeyfile:///etc/pki/rpm-gpg/RPM-GPG-KEY-centosofficial gpgcheck1 repo_gpgcheck0 metadata_expire6h enabled1 [extras-common] nameCentOS Stream 9 - Extras Common Packages baseurlhttps://mirrors.ustc.edu.cn/centos-stream/SIGs/9-stream/extras/$basearch/extras-common gpgkeyfile:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-SIG-Extras-SHA512 gpgcheck1 repo_gpgcheck0 metadata_expire6h enabled1 EOF腾讯云 YUM/DNF 源cat /etc/yum.repos.d/centos.repo EOF [baseos] nameCentOS Stream 9 - BaseOS baseurlhttps://mirrors.cloud.tencent.com/centos-stream/9-stream/BaseOS/$basearch/os gpgkeyfile:///etc/pki/rpm-gpg/RPM-GPG-KEY-centosofficial gpgcheck1 repo_gpgcheck0 metadata_expire6h countme1 enabled1 [appstream] nameCentOS Stream 9 - AppStream baseurlhttps://mirrors.cloud.tencent.com/centos-stream/9-stream/AppStream/$basearch/os gpgkeyfile:///etc/pki/rpm-gpg/RPM-GPG-KEY-centosofficial gpgcheck1 repo_gpgcheck0 metadata_expire6h countme1 enabled1 [crb] nameCentOS Stream 9 - CRB baseurlhttps://mirrors.cloud.tencent.com/centos-stream/9-stream/CRB/$basearch/os gpgkeyfile:///etc/pki/rpm-gpg/RPM-GPG-KEY-centosofficial gpgcheck1 repo_gpgcheck0 metadata_expire6h enabled1 [extras-common] nameCentOS Stream 9 - Extras Common Packages baseurlhttps://mirrors.cloud.tencent.com/centos-stream/SIGs/9-stream/extras/$basearch/extras-common gpgkeyfile:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-SIG-Extras-SHA512 gpgcheck1 repo_gpgcheck0 metadata_expire6h enabled1 EOF2、EPEL9 国内镜像源CentOS Stream 9 必须同时启用 epel epel-next腾讯云 EPEL9腾讯 CVM 首选内网地址免流量cat /etc/yum.repos.d/epel.repo EOF [epel] nameExtra Packages for Enterprise Linux 9 - $basearch baseurlhttps://mirrors.cloud.tencent.com/epel/9/Everything/$basearch enabled1 gpgcheck1 gpgkeyhttps://mirrors.cloud.tencent.com/epel/RPM-GPG-KEY-EPEL-9 [epel-next] nameExtra Packages for Enterprise Linux 9 - Next - $basearch baseurlhttps://mirrors.cloud.tencent.com/epel/9/Next/$basearch enabled1 gpgcheck1 gpgkeyhttps://mirrors.cloud.tencent.com/epel/RPM-GPG-KEY-EPEL-9 EOF阿里云 EPEL9cat /etc/yum.repos.d/epel.repo EOF [epel] nameExtra Packages for Enterprise Linux 9 - $basearch baseurlhttps://mirrors.aliyun.com/epel/9/Everything/$basearch enabled1 gpgcheck1 gpgkeyhttps://mirrors.aliyun.com/epel/RPM-GPG-KEY-EPEL-9 [epel-next] nameExtra Packages for Enterprise Linux 9 - Next - $basearch baseurlhttps://mirrors.aliyun.com/epel/9/Next/$basearch enabled1 gpgcheck1 gpgkeyhttps://mirrors.aliyun.com/epel/RPM-GPG-KEY-EPEL-9 EOF清华大学 EPEL9cat /etc/yum.repos.d/epel.repo EOF [epel] nameExtra Packages for Enterprise Linux 9 - $basearch baseurlhttps://mirrors.tuna.tsinghua.edu.cn/epel/9/Everything/$basearch enabled1 gpgcheck1 gpgkeyhttps://mirrors.tuna.tsinghua.edu.cn/epel/RPM-GPG-KEY-EPEL-9 [epel-next] nameExtra Packages for Enterprise Linux 9 - Next - $basearch baseurlhttps://mirrors.tuna.tsinghua.edu.cn/epel/9/Next/$basearch enabled1 gpgcheck1 gpgkeyhttps://mirrors.tuna.tsinghua.edu.cn/epel/RPM-GPG-KEY-EPEL-9 EOF中国科学技术大学cat /etc/yum.repos.d/epel.repo EOF [epel] nameExtra Packages for Enterprise Linux 9 - $basearch baseurlhttps://mirrors.ustc.edu.cn/epel/9/Everything/$basearch enabled1 gpgcheck1 gpgkeyhttps://mirrors.ustc.edu.cn/epel/RPM-GPG-KEY-EPEL-9 [epel-next] nameExtra Packages for Enterprise Linux 9 - Next - $basearch baseurlhttps://mirrors.ustc.edu.cn/epel/9/Next/$basearch enabled1 gpgcheck1 gpgkeyhttps://mirrors.ustc.edu.cn/epel/RPM-GPG-KEY-EPEL-9 EOF写入源之后执行刷新缓存dnf clean all dnf makecache