江湖浪人 发表于 2017-6-27 07:53:20

OpenStack:安装Horizon

  1. 安装:
# apt-get install memcached libapache2-mod-wsgi openstack-dashboard
!Note for Ubuntu users
# apt-get remove --purge openstack-dashboard-ubuntu-theme
  2. 配置配置/etc/openstack-dashboard/local_settings.py,
(1)匹配/etc/memcached.conf
CACHES = {
'default': {
'BACKEND' : 'django.core.cache.backends.memcached.MemcachedCache',
'LOCATION' : 'controller:11211'
}
}
(2)
ALLOWED_HOSTS = ['localhost', 'my-desktop']
(3)
OPENSTACK_HOST = "controller"
  3. 重启服务
# service apache2 restart
# service memcached restart
  4. 访问URL
http://controller/horizon
页: [1]
查看完整版本: OpenStack:安装Horizon