[root@controller ~]# yum install openstack-dashboard
/etc/openstack-dashboard/local_settings。
[root@controller ~]# vim /etc/openstack-dashboard/local_settings
[root@controller ~]# egrep '^(OPENSTACK_HOST|ALLOWED_HOSTS)' /etc/openstack-dashboard/local_settings ALLOWED_HOSTS = ['.cyut.edu.tw', 'localhost'] ALLOWED_HOSTS = ['163.17.27.219', '163.17.10.', 'localhost', '163.17.10.112'] OPENSTACK_HOST = "controller"
[root@controller ~]# egrep -A6 '^SESSION_ENGINE' /etc/openstack-dashboard/local_settings
SESSION_ENGINE = 'django.contrib.sessions.backends.cache'
CACHES = {
'default': {
'BACKEND': 'django.core.cache.backends.memcached.MemcachedCache',
'LOCATION': 'controller:11211',
},
}
[root@controller ~]# egrep '^OPENSTACK_KEYSTONE_' /etc/openstack-dashboard/local_settings
OPENSTACK_KEYSTONE_MULTIDOMAIN_SUPPORT = True
OPENSTACK_KEYSTONE_DEFAULT_DOMAIN = 'Default'
OPENSTACK_KEYSTONE_URL = "http://%s:5000/v3" % OPENSTACK_HOST
OPENSTACK_KEYSTONE_DEFAULT_ROLE = "user"
OPENSTACK_KEYSTONE_BACKEND = {
[root@controller ~]# egrep -A4 '^OPENSTACK_API_VERSIONS' /etc/openstack-dashboard/local_settings
OPENSTACK_API_VERSIONS = {
"identity": 3,
"image": 2,
"volume": 2,
}
[root@controller ~]# egrep -A8 '^OPENSTACK_NEUTRON_NETWORK' /etc/openstack-dashboard/local_settings
OPENSTACK_NEUTRON_NETWORK = {
'enable_router': False,
'enable_quotas': False,
'enable_distributed_router': False,
'enable_ha_router': False,
'enable_lb': False,
'enable_firewall': False,
'enable_vpn': False,
'enable_fip_topology_check': False,
[root@controller ~]# egrep '^TIME_ZONE' /etc/openstack-dashboard/local_settings TIME_ZONE = "Asia/Taipei"
[root@controller ~]# systemctl restart httpd.service memcached.service