OpenStack 学习笔记:OpenStack Dashboard服务搭建配置
Posted
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了OpenStack 学习笔记:OpenStack Dashboard服务搭建配置相关的知识,希望对你有一定的参考价值。
——Dashboard服务搭建配置
1.)安装dashboard
[[email protected] ~]# yum -y install openstack-dashboard
2.)配置dashboard
[[email protected] ~]# cp /etc/openstack-dashboard/local_settings /etc/openstack-dashboard/local_settings.bak [[email protected] ~]# 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" [[email protected] ~]# systemctl restart httpd.service memcached.service [[email protected] ~]# 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服务搭建配置的主要内容,如果未能解决你的问题,请参考以下文章
OpenStack开发学习笔记03————创建一个openstack
OpenStack 学习笔记:OpenStack neutron服务搭建