Ubuntu 14.04一步一步安装Openstack Kilo版本-11(Dashboard)

时间:2022-04-03 12:40:37

11.1     安装dashboard

sudo apt-get install openstack-dashboard

去掉ubuntu的主题

sudo apt-get removeopenstack-dashboard-ubuntu-theme

11.2     配置dashboard

sudo vim/etc/openstack-dashboard/local_settings.py

OPENSTACK_HOST = "kilo"

ALLOWED_HOSTS = '*'

CACHES = {

  'default': {

      'BACKEND': 'django.core.cache.backends.memcached.MemcachedCache',

      'LOCATION': '127.0.0.1:11211',

   }

}

OPENSTACK_KEYSTONE_DEFAULT_ROLE ="user"

TIME_ZONE = "CST"

#try:

# from ubuntu_theme import *

#except ImportError:

#  pass

11.3     重启服务

service apache2 restart

11.4     验证