首页 > 其他 > 详细

OpenStack之十: 安装dashboard

时间:2019-08-31 15:28:00      阅读:109      评论:0      收藏:0      [点我收藏+]
官网地址
https://docs.openstack.org/horizon/stein/install/install-rdo.html

#:安装包

[root@cobbler ~]#  yum install openstack-dashboard -y

#:配置

[root@cobbler ~]# vim /etc/openstack-dashboard/local_settings
OPENSTACK_HOST = "192.168.7.101"  #:如果有VIP这里写VIP的地址

ALLOWED_HOSTS = [*,]
SESSION_ENGINE = django.contrib.sessions.backends.cache

CACHES = {
    default: {
         BACKEND: django.core.cache.backends.memcached.MemcachedCache,
         LOCATION: www.magedu.net:11211,
    }    
}   

OPENSTACK_KEYSTONE_MULTIDOMAIN_SUPPORT = True
OPENSTACK_API_VERSIONS = {
    "identity": 3,
    "image": 2,
    "volume": 3,
#    "compute": 2,
}
OPENSTACK_KEYSTONE_DEFAULT_DOMAIN = Default
OPENSTACK_KEYSTONE_DEFAULT_ROLE = "user"
OPENSTACK_NEUTRON_NETWORK = {
    enable_router: False,
    enable_quotas: False,
    enable_ipv6: False,
    enable_distributed_router: False,
    enable_ha_router: False,
    enable_fip_topology_check: False,
TIME_ZONE = "Asia/Shanghai"

[root@cobbler ~]# vim /etc/httpd/conf.d/openstack-dashboard.conf
WSGIApplicationGroup %{GLOBAL}


#:重启服务


[root@cobbler ~]# systemctl restart httpd.service
[root@mysql ~]# systemctl restart memcached

 

OpenStack之十: 安装dashboard

原文:https://www.cnblogs.com/maxuebin/p/11438607.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!