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

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

博客地址: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. 框架—Mybatis入门

    1:Mybatis介绍 MyBatis是一款一流的支持自定义SQL.存储过程和高级映射的一个数据持久层的框架. MyBatis几乎消除了所有的JDBC代码,也基本不需要手工去设置参数和获取检索结果. ...

  2. js 简单制作键盘模拟

    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"><html><head& ...

  3. int (*a)[10]和int *a[10]的区别

    有点晚了,放个链接,睡觉. https://stackoverflow.com/questions/13910749/difference-between-ptr10-and-ptr10

  4. spring踩坑

    org.springframework.web.util.NestedServletException: Request processing failed; nested exception is ...

  5. 19. REFERENTIAL_CONSTRAINTS

    19. REFERENTIAL_CONSTRAINTS REFERENTIAL_CONSTRAINTS表提供有关外键的信息. REFERENTIAL_CONSTRAINTS有以下列: CONSTRAI ...

  6. 01-mysql中的数据类型

    mysql中的列数据类型:数值型.字符串类型.日期/时间类型3种 几种列类型描述使用了下述惯例:· M #表示最大显示宽度.最大有效显示宽度是255.· D #适用于浮点和定点类型,表示小数点后面的位 ...

  7. linux网络原理

    1.ipconfig命令使用 显示所有正在启动的网卡的详细信息或设定系统中网卡的IP地址. 某一块网卡信息 打开或者关闭某一块网卡 2.ifup和ifdown ifup和ifdown分别是加载网卡信息 ...

  8. Linux项目发布流程

    Linux项目发布流程(一) 1.安装pyhton3.7 的依赖包 yum -y groupinstall "Development tools" yum -y install z ...

  9. POJ 1252 Euro Efficiency(最短路 完全背包)

    题意: 给定6个硬币的币值, 问组成1~100这些数最少要几个硬币, 比如给定1 2 5 10 20 50, 组成40 可以是 20 + 20, 也可以是 50 -10, 最少硬币是2个. 分析: 这 ...

  10. @setupmethod -- flask.setupmethod

    源码: def setupmethod(f): """Wraps a method so that it performs a check in debug mode i ...