yum install openstack-dashboard -y
Edit the /etc/openstack-dashboard/local_settings filedjango
vim /etc/openstack-dashboard/local_settings
OPENSTACK_HOST = "controller"
ALLOWED_HOSTS = ['horizon.example.com', 'localhost', 'controller', '192.168.137.36']
SESSION_ENGINE = 'django.contrib.sessions.backends.cache'vim
CACHES = {
'default': {
'BACKEND': 'django.core.cache.backends.memcached.MemcachedCache',
'LOCATION': 'controller:11211',
}
}session
OPENSTACK_KEYSTONE_MULTIDOMAIN_SUPPORT = Trueide
OPENSTACK_KEYSTONE_URL = "http://%s:5000/v3" % OPENSTACK_HOST
OPENSTACK_API_VERSIONS = {memcached
"identity": 3, "image": 2, "volume": 2,
}rest
OPENSTACK_KEYSTONE_DEFAULT_DOMAIN = 'Default'
OPENSTACK_KEYSTONE_DEFAULT_ROLE = "user"code
OPENSTACK_NEUTRON_NETWORK = {
'enable_router': True,
'enable_quotas': True,
'enable_ipv6': True,
'enable_distributed_router': False,
'enable_ha_router': False,
'enable_fip_topology_check': True,
}router
TIME_ZONE = "Asia/Shanghai"blog
vim /etc/httpd/conf.d/openstack-dashboard.conf
WSGIApplicationGroup %{GLOBAL}ip
systemctl restart httpd.service memcached.service
systemctl status httpd.service memcached.service
http://192.168.137.36/dashboard
admin password