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

posted @ 2016-09-07 13:52  HEZOF  阅读(222)  评论(0编辑  收藏  举报