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

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

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

版权声明:本文为博主原创文章,未经博主允许不得转载。

时间: 2024-10-10 08:56:33

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

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

Before you install andconfigure Telemetry, you must install MongoDB, create a MongoDB database, andcreate Identity service credentials including endpoints. 1.       Install the MongoDBpackage: #   yum install mongodb-server mongodb 2.       Edit the

Centos7安装配置gitlab

Centos7安装配置gitlab 这篇文字我会介绍在Centos7上安装gitlab,配置gitlab的smtp,并且创建项目demo. sudo yum install openssh-server sudo yum install postfix sudo yum install cronie sudo service postfix start sudo chkconfig postfix on sudo lokkit -s http -s ssh 使用清华大学gitlab的镜像http

Centos7 安装配置OpenLdap服务及OpenLdap管理工具

我们上一篇文章中介绍了,Centos7+Openvpn使用Windows AD(LDAP)验证登录的配置介绍.说到LDAP服务,我们知道不止windows有,linux下也有,比如openldap,sambaLDAP服务,具体就不多介绍了,我们今天主要介绍一下Centos7 安装配置OpenLdap及Ldap管理工具等操作,为后面的Centos7+Openvpn+openldap验证登录做好基础. 我们首先配置一个指定源,我们源地址指向了阿里云的仓库源 cd /etc/yum.repos.d v

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

转载自: Centos7安装配置Apache+PHP+Mysql+phpmyadmin 一.安装Apache yum install httpd 安装成功后,Apache操作命令: systemctl start httpd //启动apache systemctl stop httpd //停止apache systemctl restart httpd //重启apache systemctl enable httpd //设置apache开机启动 异常处理我再阿里云上配置并出现启动Apac

CentOS7安装配置redis-3.0.0

清园 沉没的Atlantis CentOS7安装配置redis-3.0.0 一.安装必要包 yum install gcc 二.linux下安装 #下载 wget http://download.redis.io/releases/redis-3.0.0.tar.gz tar zxvf redis-3.0.0.tar.gz cd redis-3.0.0 #如果不加参数,linux下会报错 make MALLOC=libc  安装好之后,启动文件 #启动redis src/redis-server

CentOS7安装配置DNS服务器

准备工作(假设名称为bigcloud.local) #更改主机名称 #vi /etc/sysconfig/network # Created by anaconda NETWORKING=yes HOSTNAME=bigcloud.local #修改文件/etc/hosts,内容如下: 127.0.0.1   localhost localhost.localdomain localhost4 localhost4.localdomain4 ::1         localhost local

Openstack 实战讲解之-----10-图形界面管理安装配置(Dashboard)

一.Dashboard介绍 Dashboard(horizon)是一个web接口,使得云平台管理员以及用户可以管理不同的Openstack资源以及服务.这个部署示例使用的是 Apache Web 服务器.dashboard仅在核心服务中要求认证服务.你可以将dashboard与其他服务,如镜像服务.计算服务和网络服务等结合使用.你也可以在单击服务环境如对象存储中使用dashboard. Dashboard 特点: 提供一个web界面操作Openstack的系统. 使用Django框架基于Open

在CentOS7中安装MySQL, 基于MySQL官网文档

目录 在CentOS7中安装MySQL, 基于官网文档 前言 开始 准备工作 下载安装 配置 在CentOS7中安装MySQL, 基于官网文档 前言 版本 CentOS7, 安装于windows的VMWare MySQL5.7.13 个人小创举 这次安装经历很多困难, 一开始, 惯性思维+懒惰, 不愿意多费力费脑, 在中文网站找别人咀嚼过的解决方案, 但都被各种来回抄的答案坑惨. 后来没办法硬着头皮看MySQL官网的文档, 一开始还是用浏览器的全页翻译, 也很惨. 反而, 后来换成英文原文越看越

CentOS下安装和配置MySQL-JDK-Tomcat-Nginx(个人官网环境搭建手冊)

今天,又一次弄我的个人云主机的环境.准备运营自己用Java写的个人官网等站点. 服务器环境:阿里云CentOS 6.4位 包含以下脚本在内的绝大部分命令和脚本,都是我亲自运行过,靠谱的. 完整的"运营运维"经验,请參考我的CSDN博客-运营运维 分类:http://blog.csdn.net/FansUnion/article/category/1714547 1.mysql 1.1 安装mysql yum install mysql-server 1.2 启动mysql,服务名字是&