CentOS7.1 Liberty云平台之环境准备
Posted mfmdaoyou
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了CentOS7.1 Liberty云平台之环境准备相关的知识,希望对你有一定的参考价值。
一、各节点配置Openstack源库
yum install centos-release-openstack-liberty -y升级YUM源库
yum upgrade安装Openstackclient
yum install python-openstackclient -y
二、安装及配置mariadb数据库
controller:
yum install mariadb mariadb-server mysql-python -y创建文件/etc/my.cnf.d/mariadb_openstack.cnf
配置例如以下:
[[email protected] ~]# cat /etc/my.cnf.d/mariadb_openstack.cnf [mysqld] bind-address = 10.0.0.11 default-storage-engine = innodb innodb_file_per_table collation-server = utf8_general_ci init-connect = 'SET NAMES utf8' character-set-server = utf8启动mariadb服务,并设置开机自启
systemctl start mariadb.service systemctl enable mariadb.service初始化数据库
mysql_secure_installation
三、安装及配置RabbitMQ
controller:
yum install rabbitmq-server -y启动rabbitmq服务,并设置开机自启
systemctl start rabbitmq-server.service systemctl enable rabbitmq-server.service加入openstack用户
rabbitmqctl add_user openstack RABBIT_PASS设置openstack用户权限
rabbitmqctl set_permissions openstack ".*" ".*" ".*"
以上是关于CentOS7.1 Liberty云平台之环境准备的主要内容,如果未能解决你的问题,请参考以下文章
私有云搭建 OpenStack(centos7.3, centos-release-openstack-liberty) (上篇)
Openstack liberty源码分析 之 云主机的启动过程3
openstack(liberty):部署实验平台(一,基础网络环境搭建)