OpenCloudOS | yum源配置

2023-11-01 15:34:38 浏览数 (1)

OpenCloudOS 8.6版本yum源配置

/etc/yum.repos.d/下的两个配置文件移动到别处备份后修改:

代码语言:shell复制
# OpenCloudOS.repo
#
# Author: OpenCloudOS <infrastructure@opencloudos.tech>
#
[BaseOS]
name=OpenCloudOS $releasever - Base
baseurl=https://mirrors.pku.edu.cn/opencloudos/$releasever/BaseOS/$basearch/os/
baseurl=https://mirrors.tencent.com/opencloudos/$releasever/BaseOS/$basearch/os/
#baseurl=https://mirrors.opencloudos.tech/opencloudos/$releasever/BaseOS/$basearch/os/
gpgcheck=1
enabled=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-OpenCloudOS

[AppStream]
name=OpenCloudOS $releasever - AppStream
baseurl=https://mirrors.pku.edu.cn/opencloudos/$releasever/AppStream/$basearch/os/
baseurl=https://mirrors.tencent.com/opencloudos/$releasever/AppStream/$basearch/os/
#baseurl=https://mirrors.opencloudos.tech/opencloudos/$releasever/AppStream/$basearch/os/
gpgcheck=1
enabled=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-OpenCloudOS

[Extras]
name=OpenCloudOS $releasever - Extras
baseurl=https://mirrors.pku.edu.cn/opencloudos/$releasever/Extras/$basearch/os/
baseurl=https://mirrors.tencent.com/opencloudos/$releasever/Extras/$basearch/os/
#baseurl=https://mirrors.opencloudos.tech/opencloudos/$releasever/Extras/$basearch/os/
gpgcheck=1
enabled=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-OpenCloudOS

[HighAvailability]
name=OpenCloudOS $releasever - HighAvailability
baseurl=https://mirrors.pku.edu.cn/opencloudos/$releasever/HighAvailability/$basearch/os/
baseurl=https://mirrors.tencent.com/opencloudos/$releasever/HighAvailability/$basearch/os/
#baseurl=https://mirrors.opencloudos.tech/opencloudos/$releasever/HighAvailability/$basearch/os/
gpgcheck=1
enabled=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-OpenCloudOS

[PowerTools]
name=OpenCloudOS $releasever - PowerTools
baseurl=https://mirrors.pku.edu.cn/opencloudos/$releasever/PowerTools/$basearch/os/
baseurl=https://mirrors.tencent.com/opencloudos/$releasever/PowerTools/$basearch/os/
#baseurl=https://mirrors.opencloudos.tech/opencloudos/$releasever/PowerTools/$basearch/os/
gpgcheck=1
enabled=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-OpenCloudOS

[ResilientStorage]
name=OpenCloudOS $releasever - ResilientStorage
baseurl=https://mirrors.pku.edu.cn/opencloudos/$releasever/ResilientStorage/$basearch/os/
baseurl=https://mirrors.tencent.com/opencloudos/$releasever/ResilientStorage/$basearch/os/
#baseurl=https://mirrors.opencloudos.tech/opencloudos/$releasever/ResilientStorage/$basearch/os/
gpgcheck=1
enabled=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-OpenCloudOS

[Plus]
name=OpenCloudOS $releasever - Plus
baseurl=https://mirrors.pku.edu.cn/opencloudos/$releasever/Plus/$basearch/os/
baseurl=https://mirrors.tencent.com/opencloudos/$releasever/Plus/$basearch/os/
#baseurl=https://mirrors.opencloudos.tech/opencloudos/$releasever/Plus/$basearch/os/
gpgcheck=1
enabled=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-OpenCloudOS
代码语言:shell复制
# OpenCloudOS-Sources.repo
#
# Author: OpenCloudOS <infrastructure@opencloudos.tech>
#
[BaseOS-source]
name=OpenCloudOS $releasever - Base-source
baseurl=https://mirrors.pku.edu.cn/opencloudos/$releasever/BaseOS/source/tree/
baseurl=https://mirrors.tencent.com/opencloudos/$releasever/BaseOS/source/tree/
#baseurl=https://mirrors.opencloudos.tech/opencloudos/$releasever/BaseOS/source/tree/
gpgcheck=1
enabled=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-OpenCloudOS

[AppStream-source]
name=OpenCloudOS $releasever - AppStream-source
baseurl=https://mirrors.pku.edu.cn/opencloudos/$releasever/AppStream/source/tree/
baseurl=https://mirrors.tencent.com/opencloudos/$releasever/AppStream/source/tree/
#baseurl=https://mirrors.opencloudos.tech/opencloudos/$releasever/AppStream/source/tree/
gpgcheck=1
enabled=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-OpenCloudOS

[Extras-source]
name=OpenCloudOS $releasever - Extras-source
baseurl=https://mirrors.pku.edu.cn/opencloudos/$releasever/Extras/source/tree/
baseurl=https://mirrors.tencent.com/opencloudos/$releasever/Extras/source/tree/
#baseurl=https://mirrors.opencloudos.tech/opencloudos/$releasever/Extras/source/tree/
gpgcheck=1
enabled=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-OpenCloudOS

[HighAvailability-source]
name=OpenCloudOS $releasever - HighAvailability-source
baseurl=https://mirrors.pku.edu.cn/opencloudos/$releasever/HighAvailability/source/tree/
baseurl=https://mirrors.tencent.com/opencloudos/$releasever/HighAvailability/source/tree/
#baseurl=https://mirrors.opencloudos.tech/opencloudos/$releasever/HighAvailability/source/tree/
gpgcheck=1
enabled=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-OpenCloudOS

[PowerTools-source]
name=OpenCloudOS $releasever - PowerTools-source
baseurl=https://mirrors.pku.edu.cn/opencloudos/$releasever/PowerTools/source/tree/
baseurl=https://mirrors.tencent.com/opencloudos/$releasever/PowerTools/source/tree/
#baseurl=https://mirrors.opencloudos.tech/opencloudos/$releasever/PowerTools/source/tree/
gpgcheck=1
enabled=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-OpenCloudOS

[ResilientStorage-source]
name=OpenCloudOS $releasever - ResilientStorage-source
baseurl=https://mirrors.pku.edu.cn/opencloudos/$releasever/ResilientStorage/source/tree/
baseurl=https://mirrors.tencent.com/opencloudos/$releasever/ResilientStorage/source/tree/
#baseurl=https://mirrors.opencloudos.tech/opencloudos/$releasever/ResilientStorage/source/tree/
gpgcheck=1
enabled=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-OpenCloudOS

[Plus-source]
name=OpenCloudOS $releasever - Plus-source
baseurl=https://mirrors.pku.edu.cn/opencloudos/$releasever/Plus/source/tree/
baseurl=https://mirrors.tencent.com/opencloudos/$releasever/Plus/source/tree/
#baseurl=https://mirrors.opencloudos.tech/opencloudos/$releasever/Plus/source/tree/
gpgcheck=1
enabled=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-OpenCloudOS

0 人点赞