标签:
节点 | 系统 | IP | 服务 |
控制节点 | Centos6.3 | 192.168.2.118 | mysql |
一、配置控制节点
1.配置identity服务
【安装mysql服务】
[root@www ~]#yum -y install mysql mysql-server //安装mysql数据库
[root@www ~]# /etc/init.d/mysqld start
Starting mysqld: [ OK ]
[root@www ~]#chkconfig mysqld on
【导入三方安装源】
[root@www ~]# wget http://mirrors.zju.edu.cn/epel//6/x86_64/epel-release-6-8.noarch.rpm //根据自己内核版本来下载安装epel源
[root@www ~]# rpm -Uvh epel-release-6-8.noarch.rpm //安装
[root@www ~]# rpm -Uvh http://pkgs.repoforge.org/rpmforge-release/rpmforge-release-0.5.3-1.el6.rf.x86_64.rpm
[root@www ~]# yum -y install http://repos.fedorapeople.org/repos/openstack/openstack-havana/rdo-release-havana-7.noarch.rpm
【安装openstack相关工具包】
[root@www ~]# yum -y install openstack-utils openstack-keystone python-keystoneclient
[root@www ~]# /usr/bin/openstack-db --drop --service keystone //创建一个
grep: /etc/keystone/keystone.conf: No such file or directory
keystone default DB is not mysql. Would you like to reset to mysql now? (y/n): y
Please enter the password for the ‘root‘ MySQL user:
Verified connectivity to MySQL.
Dropping ‘keystone‘ database.
Complete!
标签:
原文地址:http://www.cnblogs.com/linux-chenyang/p/4340198.html