zoukankan      html  css  js  c++  java
  • 第十五章 horizon组件安装

    1、在控制节点上安装horizon组件

    apt -y install openstack-dashboard
    cp /etc/openstack-dashboard/local_settings.py /etc/openstack-dashboard/local_settings.py.bak  # 备份官方
    # 配置文件
    vi /etc/openstack-dashboard/local_settings.py
    # 修改如下
    # line 40 uncomment and add own hostname
    ALLOWED_HOSTS = ['controller1', 'localhost' ]
    
    # line 66: uncomment and change like follows
    OPENSTACK_API_VERSIONS = {
    #    "data-processing": 1.1,
        "identity": 3,
        "image": 2,
        "volume": 3,
        "compute": 2,
    }
    
    # line 77: uncomment and change
    OPENSTACK_KEYSTONE_MULTIDOMAIN_SUPPORT = True
    
    # line 99: uncomment
    OPENSTACK_KEYSTONE_DEFAULT_DOMAIN = 'Default'
    
    # line 170: change to your own Memcache server
    CACHES = {
        'default': {
            'BACKEND': 'django.core.cache.backends.memcached.MemcachedCache',
            'LOCATION': '192.168.222.29:11211',
        },
    }
    
    # line203: change to your own Host
    OPENSTACK_HOST = "192.168.222.29"
    OPENSTACK_KEYSTONE_URL = "http://%s:5000/v3" % OPENSTACK_HOST
    OPENSTACK_KEYSTONE_DEFAULT_ROLE = "member"
    
    systemctl restart apache2 memcached

    2、登入web页面

    http://192.168.222.29/horizon/
    # default,admin,adminpassword to login
  • 相关阅读:
    Ubuntu的防火墙UFW
    使用Xshell连接Ubuntu
    Markdown 11种基本语法
    Git Push 避免用户名和密码方法
    "git rm" 和 "rm" 的区别
    无限级分类实现思路
    1. Git 克隆代码
    Git 笔记
    git 远程分支创建与推送
    ci 笔记
  • 原文地址:https://www.cnblogs.com/shihongkuan/p/11401176.html
Copyright © 2011-2022 走看看