Centos7手动安装OpenStack Mitaka版本--基本环境安装
Posted
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Centos7手动安装OpenStack Mitaka版本--基本环境安装相关的知识,希望对你有一定的参考价值。
Centos7手动安装OpenStack Mitaka版本--第一节:基本环境配置
一台控制节点
controller_ip=10.1.1.160
controller_ip2=192.168.13.147
一台计算节点
compute_ip=10.1.1.162
compute_ip2=192.168.13.144
hosts文件配置
[[email protected] ~]# cat /etc/hosts
127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4
10.1.1.162 compute
10.1.1.160 controller
下面在controller上安装,
设置Openstack Mitaka版本安装源
[[email protected] ~]# yum install centos-release-openstack-mitaka -y
[[email protected] ~]# yum install https://rdoproject.org/repos/rdo-release.rpm -y
[[email protected] ~]# yum update -y
[[email protected] ~]# yum install python-openstackclient -y
[[email protected] ~]# yum install openstack-selinux -y
安装Mariadb数据库
[[email protected] ~]# yum install mariadb mariadb-server python2-Pymysql -y
[[email protected] ~]# systemctl start mariadb.service
[[email protected] ~]# systemctl enable mariadb.service
[[email protected] ~]# mysql_secure_installation #初始化数据库
安装RabbitMQ服务
[[email protected] ~]# yum install rabbitmq-server -y
[[email protected] ~]# systemctl enable rabbitmq-server.service
[[email protected] ~]# systemctl start rabbitmq-server.service
[[email protected] ~]# rabbitmqctl add_user openstack openpass #创建openstack用户,密码openpass
[[email protected] ~]# rabbitmqctl set_permissions openstack ".*" ".*" ".*"
安装memache
[[email protected] ~]# yum install memcached python-memcached -y
[[email protected] ~]# systemctl enable memcached.service
[[email protected] ~]# systemctl start memcached.service
[[email protected] openstack]# ps aux | grep rabbitmq
[[email protected] openstack]# ps aux | grep memcached
本文出自 “技术成就梦想” 博客,请务必保留此出处http://andyliu.blog.51cto.com/518879/1844679
以上是关于Centos7手动安装OpenStack Mitaka版本--基本环境安装的主要内容,如果未能解决你的问题,请参考以下文章
Centos7.3 Openstack-liberty安装部署记录