1, installation package
# yum install -y openstack-dashboard
2, modify the configuration file
# vim /etc/openstack-dashboard/local_settings
OPENSTACK_HOST = "10.158.117.101"
= Allowed_hosts [ '*' ,] # Note that the wording!
# The following caches statement uncommented, plus another comment
SESSION_ENGINE = 'django.contrib.sessions.backends.cache'
CACHES = {
'default':{
'BACKEND': 'django.core.cache.backends.memcached.
MemcachedCache',
'LOCATION': '127.0.0.1:11211',
}
Enable the Identity API version 3:
OPENSTACK_KEYSTONE_URL = "http://%s:5000/v3" % OPENSTACK_HOST
OPENSTACK_KEYSTONE_MULTIDOMAIN_SUPPORT = True
OPENSTACK_API_VERSIONS = {
"identity": 3,
"image": 2,
"volume": 2,
}
OPENSTACK_KEYSTONE_DEFAULT_DOMAIN = "Default"
OPENSTACK_KEYSTONE_DEFAULT_ROLE = "user"
configure the time zone:
TIME_ZONE = "Asia/Shanghai"
3, Listen port 80 is configured by 8080
# vim /etc/httpd/conf/httpd.conf
4, and memcached service httpd restart
# setsebool -P httpd_can_network_connect on
# chown -R apache:apache /usr/share/openstack-dashboard/static
# systemctl restart httpd.service memcached.service
5. Verify