1. 简介
1.1. 官方文档:
单机:https://docs.openstack.org/keystone/pike/install/keystone-install-rdo.html
集群:https://docs.openstack.org/ha-guide/controller-ha-identity.html
2. 安装:
安装软件
yum install openstack-keystone httpd mod_wsgi
3. 配置:
3.1. 数据库配置:
连接数据库
mysql -u root -p
创建数据库
CREATE DATABASE keystone;
建立openstack账户,文档中写着为每个库都建立独立的账户,我为了省事就都使用openstack账户了
GRANT ALL PRIVILEGES ON keystone.* TO ‘openstack‘@‘localhost‘ IDENTIFIED BY ‘openstack‘; GRANT ALL PRIVILEGES ON keystone.* TO ‘openstack‘@‘%‘ IDENTIFIED BY ‘openstack‘;