zoukankan      html  css  js  c++  java
  • Openstack_O版(otaka)部署_Horizon部署

    控制节点

    1. 安装软件包

    1 yum install openstack-dashboard -y

    2. 修改配置文件

    vim /etc/openstack-dashboard/local_settings

    OPENSTACK_HOST = "controller01"
    
    ALLOWED_HOSTS = ['*', ]
    
    SESSION_ENGINE = 'django.contrib.sessions.backends.cache'
    
    CACHES = {
    
        'default': {
    
            'BACKEND': 'django.core.cache.backends.memcached.MemcachedCache',
    
            'LOCATION': '127.0.0.1:11211',
    
        }
    
    }
    
    #注意:必须是v3而不是v3.0
    
    OPENSTACK_KEYSTONE_URL = "http://%s:5000/v3" % OPENSTACK_HOST
    
    OPENSTACK_KEYSTONE_MULTIDOMAIN_SUPPORT = True
    
    OPENSTACK_API_VERSIONS = {
    
        "identity": 3,
    
        "image": 2,
    
        "volume": 2,
    }
    
    OPENSTACK_KEYSTONE_DEFAULT_DOMAIN = "default"
    
    OPENSTACK_KEYSTONE_DEFAULT_ROLE = "user"
    
    TIME_ZONE = "Asia/Shanghai"

    vim /etc/httpd/conf.d/openstack-dashboard.conf

    WSGISocketPrefix run/wsgi
    
    WSGIApplicationGroup %{GLOBAL}

    3. 启动服务

    1 systemctl enable httpd.service memcached.service
    2 systemctl restart httpd.service memcached.service

    4.验证

    http://192.168.198.128/dashboard
  • 相关阅读:
    vue-cli3 set vue.config.js
    oracle 基本查询语句及实例
    输出流啊输入流
    java线程
    sql基础
    抽象类和接口
    重载和重写的区别
    简单的java面向对象计算器
    运算符的优先级
    隐式类型转换规则
  • 原文地址:https://www.cnblogs.com/cq146637/p/8408935.html
Copyright © 2011-2022 走看看