码迷,mamicode.com
首页 > 其他好文 > 详细

openstack Rocky 社区版部署1.3 安装OpenStack packages

时间:2020-02-02 22:04:22      阅读:116      评论:0      收藏:0      [点我收藏+]

标签:microsoft   node   fixed   tac   roc   安装   ros   install   base   

1 installing the Rocky release on all nodes.
yum install centos-release-openstack-rocky
安装之后,会在/etc/yum.repos.d/下产生CentOS-OpenStack-rocky.repo,CentOS-Ceph-Luminous.repo,CentOS-QEMU-EV.repo,CentOS-Storage-common.repo这4个yum源,由于centos官方已经无rocky版本的安装包了,建议修改成阿里云完成之后的安装,主要修改CentOS-OpenStack-rocky.repo及CentOS-Ceph-Luminous.repo就可以了。
cat CentOS-OpenStack-rocky.repo (黑色体为修改成阿里云地址)
# CentOS-OpenStack-rocky.repo
#
# Please see http://wiki.centos.org/SpecialInterestGroup/Cloud for more
# information
 
[centos-openstack-rocky]
name=CentOS-7 - OpenStack rocky
baseurl=https://mirrors.aliyun.com/centos/7/cloud/x86_64/openstack-rocky/
#baseurl=http://mirror.centos.org/$contentdir/$releasever/cloud/$basearch/openstack-rocky/
gpgcheck=0
enabled=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-SIG-Cloud
exclude=sip,PyQt4
 
[centos-openstack-rocky-test]
name=CentOS-7 - OpenStack rocky Testing
baseurl=https://buildlogs.centos.org/centos/7/cloud/$basearch/openstack-rocky/
gpgcheck=0
enabled=0
exclude=sip,PyQt4
 
[centos-openstack-rocky-debuginfo]
name=CentOS-7 - OpenStack rocky - Debug
baseurl=http://debuginfo.centos.org/centos/7/cloud/$basearch/
gpgcheck=1
enabled=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-SIG-Cloud
exclude=sip,PyQt4
 
[centos-openstack-rocky-source]
name=CentOS-7 - OpenStack rocky - Source
baseurl=http://vault.centos.org/centos/7/cloud/Source/openstack-rocky/
gpgcheck=1
enabled=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-SIG-Cloud
exclude=sip,PyQt4
 
[rdo-trunk-rocky-tested]
name=OpenStack rocky Trunk Tested
baseurl=https://trunk.rdoproject.org/centos7-rocky/current-passed-ci/
gpgcheck=0
enabled=0
cat CentOS-Ceph-Luminous.repo (黑色体为修改成阿里云地址)
# CentOS-Ceph-Luminous.repo
#
# Please see http://wiki.centos.org/SpecialInterestGroup/Storage for more
# information
 
[centos-ceph-luminous]
name=CentOS-$releasever - Ceph Luminous
baseurl=https://mirrors.aliyun.com/ceph/rpm-luminous/el7/x86_64/
#baseurl=http://mirror.centos.org/$contentdir/$releasever/storage/$basearch/ceph-luminous/
gpgcheck=0
enabled=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-SIG-Storage
 
[centos-ceph-luminous-test]
name=CentOS-$releasever - Ceph Luminous Testing
baseurl=http://buildlogs.centos.org/centos/$releasever/storage/$basearch/ceph-luminous/
gpgcheck=0
enabled=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-SIG-Storage
 
[centos-ceph-luminous-source]
name=CentOS-$releasever - Ceph Luminous Source
baseurl=http://vault.centos.org/$contentdir/$releasever/storage/Source/ceph-luminous/
gpgcheck=0
enabled=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-SIG-Storage
必要的时候,重新制作yum cache
yum clean all
yum repolist
2 Upgrade the packages on all nodes:
yum upgrade
3 Install the OpenStack client:
yum install python-openstackclient
4 Install the openstack-selinux package to automatically manage security policies for OpenStack services:
yum install openstack-selinux


openstack Rocky 社区版部署1.3 安装OpenStack packages

标签:microsoft   node   fixed   tac   roc   安装   ros   install   base   

原文地址:https://www.cnblogs.com/cloud-datacenter/p/12253726.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!