——Dashboard服务搭建配置
1.)安装dashboard
[root@openstack ~]# yum -y install openstack-dashboard
2.)配置dashboard
[root@openstack ~]# cp /etc/openstack-dashboard/local_settings /etc/openstack-dashboard/local_settings.bak [root@openstack ~]# vim /etc/openstack-dashboard/local_settings 30:ALLOWED_HOSTS = [‘*‘,] 55:OPENSTACK_API_VERSIONS = { 56: "identity": 3, 57: "volume": 2, 58: "compute": 2, 59:} 63:OPENSTACK_KEYSTONE_MULTIDOMAIN_SUPPORT = True 71:OPENSTACK_KEYSTONE_DEFAULT_DOMAIN = ‘default‘ 122:SECRET_KEY=‘3f8de3226b919689e377‘ 127:SESSION_ENGINE = ‘django.contrib.sessions.backends.cache‘ 128:CACHES = { 129: ‘default‘: { 130: ‘BACKEND‘: ‘django.core.cache.backends.memcached.MemcachedCache‘, 131: ‘LOCATION‘: ‘192.168.100.120:11211‘, 132: }, 133:} 142:EMAIL_BACKEND = ‘django.core.mail.backends.console.EmailBackend‘ 158:OPENSTACK_HOST = "192.168.100.120" 159:OPENSTACK_KEYSTONE_URL = "http://%s:5000/v3" % OPENSTACK_HOST 160:OPENSTACK_KEYSTONE_DEFAULT_ROLE = "user" 260:OPENSTACK_NEUTRON_NETWORK = { 261: ‘enable_router‘: False, 262: ‘enable_quotas‘: False, 263: ‘enable_ipv6‘: False, 264: ‘enable_distributed_router‘: False, 265: ‘enable_ha_router‘: False, 266: ‘enable_lb‘: False, 267: ‘enable_firewall‘: False, 268: ‘enable_vpn‘: False, 269: ‘enable_fip_topology_check‘: False, 300:} 370:TIME_ZONE = "Asia/Shanghai" [root@openstack ~]# systemctl restart httpd.service memcached.service [root@openstack ~]# systemctl status httpd.service memcached.service
3.)登录校验
登录信息:
地址:192.168.100.120/dashboard
域名:default
用户:admin
密码:admin_passwd
本文出自 “命运.” 博客,请务必保留此出处http://hypocritical.blog.51cto.com/3388028/1789903
OpenStack 学习笔记(七):OpenStack Dashboard服务搭建配置
原文地址:http://hypocritical.blog.51cto.com/3388028/1789903