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

假设转载。请保留作者信息。

博客地址: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 thebug 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

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

centos7 安装配置openstack-dashboard (官网openstack-juno版)的更多相关文章

  1. PHP环境配置-从Apache官网下载windows版apache服务器

    由于个人有强迫倾向,下载软件都喜欢从官网下载,摸索了好久终于摸清楚怎么从Apache官网下载windows安装版的Apache服务器了,现在分享给大家. 进入apache服务器官网http://htt ...

  2. 部署openstack的官网文档解读mysql的配置文件

    部署openstack的官网文档解读mysql的配置文件(使用与ubutu和centos7等系统) author:headsen chen  2017-10-12 16:57:11 个人原创,严禁转载 ...

  3. Centos7安装配置gitlab

    Centos7安装配置gitlab 这篇文字我会介绍在Centos7上安装gitlab,配置gitlab的smtp,并且创建项目demo. sudo yum install openssh-serve ...

  4. Centos7安装配置JDK8

    Centos7安装配置JDK8 一.准备工作 第一步,去甲骨文官网下载Jdk相应的版本,我这里下载的是jdk1.8. 第二步将你从官网上下载下来的jdk使用FTP工具上传到云服务器上的相应目录,我的是 ...

  5. Centos7安装配置jenkins(Tomcat)

    Centos7安装配置jenkins(Tomcat) 一.准备工作 1.1 安装JDK1.8 具体安装过程不在赘述. 1.2 下载jenkins的war包 jenkins官网下载地址:https:// ...

  6. 【转】Syncthing – 数据同步利器---自己的网盘,详细安装配置指南,内网使用,发现服务器配置

    Syncthing – 数据同步利器---自己的网盘,详细安装配置指南,内网使用,发现服务器配置 原贴:https://www.cnblogs.com/jackadam/p/8568833.html ...

  7. CentOS7 安装配置笔记

    CentOS7 安装配置笔记 1.通过镜像安装 CentOS7 ==============================* 使用 UltraISO 9.7 或者 rufus-3.5p 制作ISO的 ...

  8. Centos7安装配置Apache+PHP+Mysql+phpmyadmin

    转载自: Centos7安装配置Apache+PHP+Mysql+phpmyadmin 一.安装Apache yum install httpd 安装成功后,Apache操作命令: systemctl ...

  9. centos7命令行和图形界面的相互切换(附centos7安装配置教程)

    一.最近安装了centos7,发现在命令行和图形界面的相互切换命令上,与centos以往版本有很大不同,先整理如下,加深记忆. 1,centos7默认安装后,跟其他版本一样,启动默认进入图形界面: 2 ...

随机推荐

  1. python获取指定文件夹下的文件路径

    #!/usr/bin/python# -*- coding: UTF-8 -*-# @date: 2018/1/6 23:08# @name: tmp2# @author:vickey-wu impo ...

  2. 02-Mysql中的运算符

    Mysql中运算符 1.算术运算符运算符 作用+   加法-    减法*    乘法/,DIV     除法,返回商%,MOD       除法,返回余数 mysql root@localhost: ...

  3. (16) Cloudflare pki公钥基础设施

    该工具组共有8个工具 1.cfssl 常用的可用指令: sign signs a certificate bundle build a certificate bundle genkey genera ...

  4. HTML、CSS 和 JS框架之Bootstrap

    一.Bootstrap简介: Bootstrap 是最受欢迎的 HTML.CSS 和 JS 框架,用于开发响应式布局.移动设备优先的 WEB 项目. 详细参考内容:Bootstrap_v3 二.Boo ...

  5. Uva 11212 编辑书稿(迭代加深搜索)

    题意: 给定N个数的序列, 希望将它排列成1~N, 可以用剪切.粘贴来完成任务, 每次可以剪切一段连续的自然段, 粘贴时按照顺序粘贴. #include <bits/stdc++.h> # ...

  6. python和搜索

    # -*- coding: UTF-8 -*- import re # 搜索逻辑 def querylogic(list): query = {} if len(list) > 1 or len ...

  7. CD(01背包)

    You have a long drive by car ahead. You have a tape recorder, but unfortunately your best music is o ...

  8. POJ-2689 Prime Distance,区间素数筛法

                                                    Prime Distance 只会埃氏筛法的弱鸡今天读了读挑战程序设计120页,明白了求小区间内素数的方 ...

  9. NYOJ595乱七八糟好坑的水题~~

    乱七八糟 时间限制:1000 ms  |  内存限制:65535 KB 难度:1 描述 一天,PIAOYI查看班级成绩时发现各种乱七八糟的数据,有点晕--但是他现在非常想知道排名情况,你能帮帮他吗?为 ...

  10. PTA 03-树3 Tree Traversals Again (25分)

    题目地址 https://pta.patest.cn/pta/test/16/exam/4/question/667 5-5 Tree Traversals Again   (25分) An inor ...