- Learning OpenStack Networking
- James Denton
- 99字
- 2025-02-24 14:51:46
Installing Keystone
Since the Kilo release of OpenStack, the Keystone project has used the Apache HTTP server with mod_wsgi to serve requests to the Identity API on ports 5000 and 35357.
Run the following command to install the Keystone packages on the controller node:
# apt install keystone apache2 libapache2-mod-wsgi
Update the [database] section in the /etc/keystone/keystone.conf file to configure Keystone to use MySQL as its database. In this installation, the username and password will be keystone. You will need to overwrite the existing connection string with the following value on one line:
[database]
...
connection = mysql+pymysql://keystone:keystone@controller01/keystone