• centos7 安装配置openstack-dashboard (官网openstack-juno版)


    感谢朋友支持本博客。欢迎共同探讨交流。因为能力和时间有限。错误之处在所难免。欢迎指正!


    假设转载。请保留作者信息。
    博客地址:http://blog.csdn.net/qq_21398167

    原博文地址:http://blog.csdn.net/qq_21398167/article/details/47036395

    System requirements

    Before you install theOpenStack dashboard, you must meet the following system require­ments:

     OpenStack Compute installation.Enable the Identity Service for user and project man­agement.

    Note the URLs of the IdentityService and Compute endpoints.

     Identity Service user withsudo privileges. Because Apache does not serve content from a root user, usersmust run the dashboard as an Identity Service user with sudo privileges.[1]


    Python 2.6 or 2.7. The Pythonversion must support Django. The Python version should run on any system,including Mac OS X. Installation prerequisites might differ by plat­form.

    Then, install and configurethe dashboard on a node that can contact the Identity Service.

    Provideusers with the following information so that they can access the dashboardthrough a web browser on their local machine:

    •  The public IP address fromwhich they can access the dashboard

    •  The user name and password withwhich they can access the dashboard

    Your web browser, and that of your users, must support HTML5 andhave cookies and JavaScript enabled.


     Install the packages:

    # yum install openstack-dashboard httpd mod_wsgi memcached python-memcached

     To configure the dashboard

    • Edit the /etc/openstack-dashboard/local_settings file and complete the following actions:

    a.         Configure the dashboard to use OpenStack services on the controller node:

    OPENSTACK_HOST = " controller'

    b.        Allow all hosts to access the dashboard:

    ALLOWED_HOSTS =  ['*']

    c.         Configure the memcached session storage service:

    CACHES = {

    'default': {

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

    MemcachedCache',

    'LOCATION': '127.0.0.1:11211',

    }

    }

    To finalize installation

    1.       On RHEL and CentOS, configureSELinux to permit the web server to connect to Open- Stack services:

    #   setsebool -P httpd_can_network_connect on

    2.       Due to a packaging bug, thedashboard CSS fails to load properly. Run the following command to resolve thisissue:

    #   chown -R apache:apache /usr/share/openstack-dashboard/static

    For more information, see the bug report.

    3.       Start the web server andsession storage service and configure them to start when the system boots:

    #   systemctl enable httpd.service memcached.service

    #   systemctl start httpd.service memcached.service

    Verify operation

    This section describes how to verify operation ofthe dashboard.

    1.        Access the dashboard using aweb browser:http://controller/dashboard .

    2.        Authenticate using admin or demouser credentials.





    ----------------------------------------------------------------------------------------------------------------------------------------------------------------------

    參考:H版本号


    http://blog.csdn.net/qq_21398167/article/details/46385667


    笔者是结合这两个版本号一起搭建的环境并成功!




  • 相关阅读:
    IDEA启动tomcat时提示:...init The APR based Apache Tomcat Native library failed to load. The error reported was ...tcnative-1.dll: Can't load IA 32-bit .dll on a AMD 64-bit platform
    Mysql中(增加、删除字段,修改字段名、字段类型、注释,调整字段顺序等)常用操作
    MySql、Mariadb创建数据库、用户及授权
    三款大前端UI框架
    TubeMQ
    Delphi 修改系统时间格式为:'yyyy-MM-dd HH:mm:ss', 'yyyy''年''M''月 ''d''日'''
    QString与LPCWSTR 带中文的相互转换
    Windows 下搭建 Apache Http Server 文件系统(详细)
    Django day32 跨域问题,创建vue项目,axios的使用
    Django day31 contentType组件,Django的缓存
  • 原文地址:https://www.cnblogs.com/lytwajue/p/6881722.html
Copyright © 2020-2023  润新知