安装OpenStack的yum源
# yum install https://buildlogs.centos.org/centos/7/cloud/x86_64/openstack-liberty/centos-release-openstack-liberty-1-3.el7.noarch.rpm
# yum install https://repos.fedorapeople.org/repos/openstack/EOL/openstack-liberty/rdo-release-liberty-5.noarch.rpm
# ls
CentOS-Base.repo CentOS-OpenStack-liberty.repo old rdo-release.repo rdo-testing.repo
# cat CentOS-Base.repo
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 | # # The mirror system uses the connecting IP address of the client and the # update status of each mirror to pick mirrors that are updated to and # geographically close to the client. You should use this for CentOS updates # unless you are manually picking other mirrors. # # If the mirrorlist= does not work for you, as a fall back you can try the # remarked out baseurl= line instead. # # [ base ] name=CentOS-centos/7 - Base #mirrorlist=http://mirrorlist.centos.org/?release=centos/7&arch=$basearch&repo=os baseurl=https: //mirrors.aliyun.com/centos/7/os/$basearch/ gpgcheck=1 gpgkey=https: //mirrors.aliyun.com/centos/7/os/x86_64/RPM-GPG-KEY-CentOS-7 #released updates [updates] name=CentOS-centos/7 - Updates #mirrorlist=http://mirrorlist.centos.org/?release=centos/7&arch=$basearch&repo=updates baseurl=https: //mirrors.aliyun.com/centos/7/updates/$basearch/ gpgcheck=1 gpgkey=https: //mirrors.aliyun.com/centos/7/os/x86_64/RPM-GPG-KEY-CentOS-7 #additional packages that may be useful [extras] name=CentOS-centos/7 - Extras #mirrorlist=http://mirrorlist.centos.org/?release=centos/7&arch=$basearch&repo=extras baseurl=https: //mirrors.aliyun.com/centos/7/extras/$basearch/ gpgcheck=1 gpgkey=https: //mirrors.aliyun.com/centos/7/os/x86_64/RPM-GPG-KEY-CentOS-7 #additional packages that extend functionality of existing packages [centosplus] name=CentOS-centos/7 - Plus #mirrorlist=http://mirrorlist.centos.org/?release=centos/7&arch=$basearch&repo=centosplus baseurl=https: //mirrors.aliyun.com/centos/7/centosplus/$basearch/ gpgcheck=1 enabled=0 gpgkey=https: //mirrors.aliyun.com/centos/7/os/x86_64/RPM-GPG-KEY-CentOS-7 #contrib - packages by Centos Users [contrib] name=CentOS-centos/7 - Contrib #mirrorlist=http://mirrorlist.centos.org/?release=centos/7&arch=$basearch&repo=contrib baseurl=https: //mirrors.aliyun.com/centos/7/contrib/$basearch/ gpgcheck=1 enabled=0 gpgkey=https: //mirrors.aliyun.com/centos/7/os/x86_64/RPM-GPG-KEY-CentOS-7 |
# ls
CentOS-Base.repo CentOS-OpenStack-liberty.repo old rdo-release.repo rdo-testing.repo
# cat CentOS-OpenStack-liberty.repo
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 | # CentOS-OpenStack-liberty.repo # # Please see http://wiki.centos.org/SpecialInterestGroup/Cloud for more # information [centos-openstack-liberty] name=CentOS-$releasever - OpenStack liberty baseurl=http: //buildlogs.centos.org/centos/$releasever/cloud/$basearch/openstack-liberty/ gpgcheck=1 enabled=0 gpgkey=file: ///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-SIG-Cloud [centos-openstack-liberty-test] name=CentOS-$releasever - OpenStack liberty Testing baseurl=http: //buildlogs.centos.org/centos/$releasever/cloud/$basearch/openstack-liberty/ gpgcheck=0 enabled=1 |
# ls
CentOS-Base.repo CentOS-OpenStack-liberty.repo old rdo-release.repo rdo-testing.repo
#
# cat rdo-release.repo
1 2 3 4 5 6 | [openstack-liberty] name=OpenStack Liberty Repository baseurl=http: //buildlogs.centos.org/centos/7/cloud/$basearch/openstack-liberty/ gpgcheck=1 enabled=1 gpgkey=file: ///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-SIG-Cloud |
# cat rdo-testing.repo
1 2 3 4 5 6 7 8 9 10 11 | [openstack-liberty-testing] name=OpenStack Liberty Testing baseurl=http: //buildlogs.centos.org/centos/7/cloud/$basearch/openstack-liberty/ gpgcheck=0 enabled=0 [rdo-trunk-liberty-tested] name=OpenStack Liberty Trunk Tested baseurl=http: //buildlogs.centos.org/centos/7/cloud/$basearch/rdo-trunk-liberty-tested/ gpgcheck=0 enabled=0 |
【推荐】国内首个AI IDE,深度理解中文开发场景,立即下载体验Trae
【推荐】编程新体验,更懂你的AI,立即体验豆包MarsCode编程助手
【推荐】抖音旗下AI助手豆包,你的智能百科全书,全免费不限次数
【推荐】轻量又高性能的 SSH 工具 IShell:AI 加持,快人一步
· Linux系列:如何用heaptrack跟踪.NET程序的非托管内存泄露
· 开发者必知的日志记录最佳实践
· SQL Server 2025 AI相关能力初探
· Linux系列:如何用 C#调用 C方法造成内存泄露
· AI与.NET技术实操系列(二):开始使用ML.NET
· 无需6万激活码!GitHub神秘组织3小时极速复刻Manus,手把手教你使用OpenManus搭建本
· C#/.NET/.NET Core优秀项目和框架2025年2月简报
· 一文读懂知识蒸馏
· Manus爆火,是硬核还是营销?
· 终于写完轮子一部分:tcp代理 了,记录一下