一、部署Dashboard

1.安装软件

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

2.修改配置文件

  1. [root@controller ~]# vim /etc/openstack-dashboard/local_settings
  2. OPENSTACK_HOST = "controller"
  3. OPENSTACK_KEYSTONE_URL = "http://%s:5000/v3" % OPENSTACK_HOST
  4. ALLOWED_HOSTS = ['*']
  5. SESSION_ENGINE = 'django.contrib.sessions.backends.cache'
  6. CACHES = {
  7. 'default': {
  8. 'BACKEND': 'django.core.cache.backends.memcached.MemcachedCache',
  9. 'LOCATION': 'controller:11211',
  10. }
  11. }