Difference between revisions of "OpenStack HOWTO"

From Funtoo Linux
Jump to: navigation, search
(Installation)
Line 21: Line 21:
 
<console>
 
<console>
 
# ##i##emerge keystone
 
# ##i##emerge keystone
# ##i##cd /etc/keystone
 
# ##i##cp keystone.conf.sample keystone.conf
 
 
</console>
 
</console>
 +
 +
A working sample configuration file will be installed automatically at <tt>/etc/keystone/keystone.conf</tt>.
  
 
Note that <tt>admin_token</tt> is set to <tt>ADMIN</tt> by default. This is the master password for Keystone. You may want to change this to something harder to guess. We can disable <tt>admin_token</tt> later for enhanced security.
 
Note that <tt>admin_token</tt> is set to <tt>ADMIN</tt> by default. This is the master password for Keystone. You may want to change this to something harder to guess. We can disable <tt>admin_token</tt> later for enhanced security.
Line 30: Line 30:
 
# ##i## rc-update add keystone default
 
# ##i## rc-update add keystone default
 
# ##i## rc
 
# ##i## rc
 +
</console>
 +
 +
By default, Keystone is configured to store its data in a SQLite database located at <tt>/etc/keystone/keystone.db</tt>. Let's initialize this database:
 +
 +
<console>
 +
# ##i## keystone-manage db_sync
 +
#
 
</console>
 
</console>

Revision as of 06:37, 7 May 2012

Installation

This section contains a work-in-progress list of steps to get OpenStack up and running under Funtoo Linux:

# emerge rabbitmq-server
# rc-update add rabbitmq default
# rc

RabbitMQ is now running. Now let's create an openstack user with password foobar:

# rabbitmqctl add_user openstack foobar
Creating user "openstack" ...
...done.

Now, let's get Keystone up and running. Let's emerge it:

# emerge keystone

A working sample configuration file will be installed automatically at /etc/keystone/keystone.conf.

Note that admin_token is set to ADMIN by default. This is the master password for Keystone. You may want to change this to something harder to guess. We can disable admin_token later for enhanced security.

#  rc-update add keystone default
#  rc

By default, Keystone is configured to store its data in a SQLite database located at /etc/keystone/keystone.db. Let's initialize this database:

#  keystone-manage db_sync
#
Personal tools
Namespaces

Variants
Actions
Categories
Toolbox
Stuff