openstack-M版--页面安装

2/13/2017来源:经验技巧人气:1820

[Dashboard-horizon] 其实将 neutron 安装完毕以后 openstack 项目最基本的已经能够运行起来了,但是为了操作更加方便直观,我们再安装 WebUI ,就是 horizon 。 [root@controller~]# yum install -y openstack-dashboard [root@controller~]# vim /etc/openstack-dashboard/local_settings ...... OPENSTACK_HOST= "controller" ALLOWED_HOSTS= ['*',] OPENSTACK_KEYSTONE_URL= "http://%s:5000/v3.0" % OPENSTACK_HOST OPENSTACK_API_VERSIONS= { "identity": 3, "volume": 2, "compute": 2, } OPENSTACK_KEYSTONE_MULTIDOMAIN_SUPPORT= True OPENSTACK_KEYSTONE_DEFAULT_DOMAIN= "default" OPENSTACK_KEYSTONE_DEFAULT_ROLE= "user" TIME_ZONE= "Asia/Shanghai"# 时区 session_ENGINE= 'django.contrib.sessions.backends.cache' CACHES= { 'default': { 'BACKEND':'django.core.cache.backends.memcached.MemcachedCache', 'LOCATION': 'controller:11211', } } 重启 httpd 和 memcached 服务。 [root@controller~]# systemctl restart httpd memcached http://192.168.2.11/dashboard http://controller/dashboard