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源安装
1
|
rpm -ivh http: //mirrors .aliyun.com /epel/epel-release-latest-7 .noarch.rpm |
2.安装Openstack仓库
1
|
yum install -y centos-release-openstack-mitaka |
3.安装Openstack客户端
1
|
yum install -y python-openstackclient |
4.安装openstack SELinux管理包
1
|
yum install -y openstack-selinux |
5.在控制节点192.168.56.11安装Mysql
复制代码 代码如下:
[root@linux-node1 ~]# yum install -y mariadb mariadb-server python2-PyMySQL
6.在控制节点安装消息队列RabbitMQ
1
|
[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
1
|
[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计算节点部署
1
|
[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
以上就是本文的全部内容,希望对大家的学习有所帮助,也希望大家多多支持服务器之家。
原文链接:http://lx.wxqrcode.com/index.php/post/123.html