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

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

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

时间: 2024-11-08 22:10:06

openstack Rocky 社区版部署1.3 安装OpenStack packages的相关文章

openstack Rocky 社区版部署1.2 安装ntp service

一.controller节点安装ntp 1 安装ntp服务 yum install chrony 2 Edit the chrony.conf file and add, change, or remove the following keys as necessary for your environment. edit the /etc/chrony.conf, 服务选择阿里云的ntp服务器. server ntp1.aliyun.com iburst 3 To enable other n

蓝鲸社区版4.0集成安装心得

第一次写这个,我是按照自己写的一步一步操作,部署成功,希望里面的内容对大家有所借鉴,因为开发和linux系统与我来说,我就是一个一只脚站在门口的人,所以有错误的地方或者能改进的地方也恳请大家指正出来,一起学习.下面进入正文 IP 功能组件 10.1.43.31 paas,cmdb,job,gse,kafka,zk,es,redis,consul,mongodb,bknetwork 10.1.43.33 license,appo,kafka,zk,es,mysql,beanstalk,consul

蓝鲸社区版部署

部署前准备 1.1准备主机和系统环境 主机和系统环境 (DNS1要设置为127.0.0.1) 准备三台Centos7.5虚拟机 192.168.51.103 4CPU 8G 200G 192.168.51.104 4CPU 8G 200G 192.168.51.105 4CPU 16G 200G 默认网络配置(三台都需要配置) IPADDR=192.168.51.xxx PREFIX=24 GATEWAY=192.168.51.1 DNS1=127.0.0.1 DNS2=114.114.114.

openstack Q版部署-----界面horizon安装(9)

控制节点安装软件包 yum install openstack-dashboard -y [[email protected] ~]# vim /etc/openstack-dashboard/local_settings #按照下面几行进行配置修改 OPENSTACK_HOST = "192.168.1.17"                                 #更改为keystone机器地址 OPENSTACK_KEYSTONE_DEFAULT_ROLE = &quo

Openstack 云计算(二): Openstack Rocky部署一 : 系统环境初始化

Openstack 云计算(二): Openstack Rocky部署一 : 系统环境初始化 标签(空格分隔): openstack系列 一: openstack的介绍以及组件 二: openstack的架构 三: openstack的环境初始化 一: openstack的介绍以及组件 1.1: openstack的介绍 OpenStack是一个由NASA(美国国家航空航天局)和Rackspace合作研发并发起的,以Apache许可证授权的自由软件和开放源代码项目. OpenStack是一个开源

OpenStack pike版 安装openstack服务(3) 续基本环境部署(2)

安装openstack服务 所有openstack服务的安装指南链接:https://docs.openstack.org/pike/install/ 最小化部署,需要按照下面指定的顺序安装以下服务: Identity service – keystone installation for Pike Image service – glance installation for Pike Compute service – nova installation for Pike Networkin

蓝鲸智云社区版安装部署和卸载

1.检查每台机器环境 1 # 检查SELinux的状态,enabled即为开启,disabled即为禁用 2 sestatus 3 getenforce 4 /usr/sbin/sestatus -v 5 # 先通过命令禁用SELinux 6 setenforce 0 7 # 再修改配置文件 8 sed -i '$ sed -i 's/^SELINUX=enforcing/SELINUX=disabled/g' /etc/sysconfig/selinux' 9 # 重启下机器(谨慎) 10 r

openstack【Kilo】汇总:包括20英文文档、各个组件新增功能及Kilo版部署

OpenStack Kilo版本发布 20英文文档OpenStack Kilo版本文档汇总:各个操作系统安装部署.配置文档.用户指南等文档 Kilo版部署 openstack[Kilo]入门 [准备篇]零:整体介绍 openstack[Kilo]入门 [准备篇]一: Ubuntu14.04远程连接(ssh安装) openstack[Kilo]入门 [准备篇]二:NTP安装 openstack[Kilo]入门 [准备篇]三:mysql(MariaDB)安装[控制节点] openstack[Kilo

OpenStack pike版 安装openstack服务(4) 续安装openstack服务(3)    

Compute service overview 计算服务概述 OpenStack用于对主机的计算和管理云计算系统.OpenStack的计算是一个基础设施即服务(IaaS)系统的一个重要组成部分.主要模块是用python实现的. OpenStack计算与OpenStack身份验证交互用来完成认证:OpenStack镜像服务用于磁盘和服务器镜像:用户和管理接口为OpenStack Dashboard.镜像访问受到项目和用户的限制,每个项目的配额是有限的(例如,实例的数量).OpenStack计算可