dashboard的手工搭建

controller:

yum install memcached python-memcached mod_wsgi openstack-dashboard


vim /etc/openstack-dashboard/local_setting 

CACHES = {

'default': {

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

'LOCATION' : '127.0.0.1:11211'

}

}


TIME_ZONE = "UTC"


ALLOWED_HOSTS = ['localhost', 'my-desktop']


OPENSTACK_HOST = "controller"


(设置selunux策略允许访问 httpserver

tsebool -P httpd_can_network_connect on)


重启服务,并且加入到开机启动

service httpd start

service memcached start

chkconfig httpd on

chkconfig memcached on


访问:http://controller/dashboard


访问的页面打不开,

解决方案:把原先的CACHES部分删除掉,而不是注释掉。


你可能感兴趣的:(dashboard)