详解Openstack环境准备
Openstack官方学习网址
http://docs.openstack.org/mitaka/zh_CN/install-guide-rdo/
Openstack安装准备
环境准备
Centos7-192.168.56.11 linux-node1.oldboyedu.com
Centos7-192.168.56.12 linux-node2.oldboyedu.com
两台主机hosts解析
代码如下:
192.168.56.11 linux-node1 linux-node1.oldboyedu.com192.168.56.12 linux-node2 linux-node2.oldboyedu.com
基础软件包两台主机都进行安装
1.EPEL源安装
rpm -ivh http://mirrors.aliyun.com/epel/epel-release-latest-7.noarch.rpm
2.安装Openstack仓库
yum install -y centos-release-openstack-mitaka
3.安装Openstack客户端
yum install -y python-openstackclient
4.安装openstack SELinux管理包
yum install -y openstack-selinux
5.在控制节点192.168.56.11安装Mysql
代码如下:
[root@linux-node1 ~]# yum install -y mariadb mariadb-server python2-PyMySQL
6.在控制节点安装消息队列RabbitMQ
[root@linux-node1 ~]# yum install -y rabbitmq-server
7.在控制节点安装Openstack验证服务KeyStone
代码如下:
[root@linux-node1 ~]# yum install -y openstack-keystone httpd mod_wsgi memcached python-memcached
8.在控制节点安装Glance
[root@linux-node1 ~]# yum install -y openstack-glance
9.Nova控制节点部署linux-node1,在控制节点安装除Nova-computer之外的必备服务
代码如下:
root@linux-node1 ~]# yum install -y openstack-nova-api openstack-nova-cert \ openstack-nova-conductor openstack-nova-console \ openstack-nova-novncproxy openstack-nova-scheduler
10.Nova计算节点部署
[root@linux-node2 ~]# yum install -y openstack-nova-compute sysfsutils
11.在控制节点安装Neutron网络服务
代码如下:
[root@linux-node1 ~]# yum install -y openstack-neutron openstack-neutron-ml2 openstack-neutron-linuxbridge ebtables
12.Neutron在计算节点部署
代码如下:
[root@linux-node2 ~]# yum install -y openstack-neutron openstack-neutron-linuxbridge ebtables
以上就是本文的全部内容,希望对大家的学习有所帮助,也希望大家多多支持安科网。
相关推荐
Moolightshadow 2020-07-16
fyggzb 2020-07-05
gokeibi 2020-06-12
zziyuann 2020-06-12
fyggzb 2020-06-12
hhphhp 2020-06-12
fyggzb 2020-06-10
JeremyLiu 2020-06-10
JeremyLiu 2020-06-10
jmppok 2020-06-07
jmppok 2020-06-05
hhphhp 2020-06-01
zziyuann 2020-05-17
gokeibi 2020-05-07
gokeibi 2020-04-26
gokeibi 2020-04-19
gokeibi 2020-04-19