OpenStack 学习笔记(七):OpenStack Dashboard服务搭建配置

By | 2017年2月16日
目录
[隐藏]

——Dashboard服务搭建配置

1.)安装dashboard

1
[root@openstack ~]# yum -y install openstack-dashboard

2.)配置dashboard

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
[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

 

发表评论

您的电子邮箱地址不会被公开。 必填项已用*标注