openstack-o版-horizon安装

horizon是通过web界面管理openstack各个服务,那么我们来搭建horizon服务。

下载安装包

[[email protected] ~]# yum install openstack-dashboard -y

修改配置文件

[[email protected] ~]# cp /etc/openstack-dashboard/local_settings /etc/openstack-dashboard/local_settings.bak

[[email protected] ~]# cat /etc/openstack-dashboard/local_settings.bak | grep -v ^# | uniq > /etc/openstack-dashboard/local_settings

[[email protected] ~]# sed
-i ‘s/OPENSTACK_HOST = "127.0.0.1"/ OPENSTACK_HOST =
"wang02"/g‘ /etc/openstack-dashboard/local_settings

[[email protected] ~]# sed
-i "s/ALLOWED_HOSTS = \[‘horizon.example.com‘,
‘localhost‘\]/ALLOWED_HOSTS = \[\‘*\‘\]/g"
/etc/openstack-dashboard/local_settings

[[email protected] ~]# sed
-i "s/http:\/\/%s:5000\/v2.0/http:\/\/%s:5000\/v3/g"
/etc/openstack-dashboard/local_settings

[[email protected] ~]# sed
-i "s/#OPENSTACK_KEYSTONE_MULTIDOMAIN_SUPPORT =
False/OPENSTACK_KEYSTONE_MULTIDOMAIN_SUPPORT = True/g"
/etc/openstack-dashboard/local_settings

[[email protected] ~]# sed
-i
"s/#OPENSTACK_KEYSTONE_DEFAULT_DOMAIN/OPENSTACK_KEYSTONE_DEFAULT_DOMAIN/g"
/etc/openstack-dashboard/local_settings

[[email protected] ~]# sed
-i "s/OPENSTACK_KEYSTONE_DEFAULT_ROLE =
"_member_"/OPENSTACK_KEYSTONE_DEFAULT_ROLE = "user"/g"
/etc/openstack-dashboard/local_settings

[[email protected] ~]# sed
-i "s/‘enable_router‘: True,/‘enable_router‘: False,/g"
/etc/openstack-dashboard/local_settings

[[email protected] ~]# sed
-i "s/‘enable_ipv6‘: True,/‘enable_ipv6‘: False,/g"
/etc/openstack-dashboard/local_settings

[[email protected] ~]# sed
-i "s/‘enable_ha_router‘: True,/‘enable_ha_router‘: False,/g"
/etc/openstack-dashboard/local_settings

[[email protected] ~]# sed
-i "s/‘enable_lb‘: True,/‘enable_lb‘: False,/g"
/etc/openstack-dashboard/local_settings

[[email protected] ~]# sed
-i "s/‘enable_firewall‘: True,/‘enable_firewall‘: False,/g"
/etc/openstack-dashboard/local_settings

[[email protected] ~]# sed -i
"s/‘enable_vpn‘: True,/‘enable_vpn‘: False,/g"
/etc/openstack-dashboard/local_settings

[[email protected] ~]# sed
-i "s/‘enable_fip_topology_check‘:
True,/‘enable_fip_topology_check‘: False,/g"
/etc/openstack-dashboard/local_settings

[[email protected] ~]# echo
-e "SESSION_ENGINE =
‘django.contrib.sessions.backends.cache‘\nCACHES = {\n ‘default‘: {\n
‘BACKEND‘: ‘django.core.cache.backends.memcached.MemcachedCache‘,\n
‘LOCATION‘: ‘wang01:11211‘,\n }\n}" >>
/etc/openstack-dashboard/local_settings

[[email protected] ~]# echo
-e "OPENSTACK_API_VERSIONS = {\n \"identity\": 3,\n
\"image\": 2,\n \"volume\": 2,\n}" >>
/etc/openstack-dashboard/local_settings

重启服务

[[email protected] ~]# systemctl restart httpd.service memcached.service

验证服务(最好用火狐游览器)

192.16.7.20:/dashboard

用户名:admin

密码    : ADMIN_PASS

时间: 2024-11-05 14:41:21

openstack-o版-horizon安装的相关文章

OpenStack(i版)之Keystone,Glance,Nova,Neutron,Horizon

一.前期准备 1.1.linux-node1端: [[email protected]1 ~]# egrep '(vmx|svm)' /proc/cpuinfo ##有输出就支持虚拟化 [[email protected] ~]# cat /etc/redhat-release CentOS release 6.8 (Final) [[email protected] ~]# uname -r 2.6.32-642.el6.x86_64 [[email protected] ~]# getenf

OpenStack pike版 安装openstack服务(4) 续安装openstack服务(3)    

Compute service overview 计算服务概述 OpenStack用于对主机的计算和管理云计算系统.OpenStack的计算是一个基础设施即服务(IaaS)系统的一个重要组成部分.主要模块是用python实现的. OpenStack计算与OpenStack身份验证交互用来完成认证:OpenStack镜像服务用于磁盘和服务器镜像:用户和管理接口为OpenStack Dashboard.镜像访问受到项目和用户的限制,每个项目的配额是有限的(例如,实例的数量).OpenStack计算可

OpenStack Kilo版加CEPH部署手册

OpenStack Kilo版加CEPH部署手册 作者: yz联系方式: QQ: 949587200日期: 2015-7-13版本: Kilo 转载地址: http://mp.weixin.qq.com/s__biz=MzAxOTAzMDEwMA==&mid=209225237&idx=1&sn=357afdabafc03e8fb75eb4e1fb9d4bf9&scene=5&ptlang=2052&ADUIN=724042315&ADSESSION

openstack I版的搭建三--Nova

安装Nova [[email protected] src]# cd ~ [[email protected] ~]# cd /usr/local/src/nova-2014.1 [[email protected] nova-2014.1]# python setup.py install [[email protected] nova]# pwd /usr/local/src/nova-2014.1/etc/nova [ro[email protected] nova]# ll 总用量 48

CentOS7.2非HA分布式部署Openstack Pike版 (实验)

部署环境 一.组网拓扑 二.设备配置 笔记本:联想L440处理器:i3-4000M 2.40GHz内存:12G虚拟机软件:VMware? Workstation 12 Pro(12.5.2 build-4638234) 三.虚拟机配置 Controller节点:系统:CentOS7.2 64位(最小化安装)处理器:4核内存:4G硬盘:100G网卡:3块 Compute节点:系统:CentOS7.2 64位(最小化安装)处理器:4核内存:4G硬盘:100G网卡:3块 Cinder节点:系统:Cen

【openstack N版】——认证服务keystone

一. 基础环境 1.1环境介绍 linux-node1(控制节点) 1 #系统版本 2 [[email protected] ~]# cat /etc/redhat-release 3 CentOS Linux release 7.2.1511 (Core) 4 #内核版本 5 [[email protected] ~]# uname -r 6 3.10.0-327.36.3.el7.x86_64 7 #主机名 8 [[email protected] ~]# hostname 9 linux-

[Openstack]使用devstack自动化安装

os环境为: ubuntu14.04 安装步骤: 更新系统软件包: sudo apt-get dist-upgrade #出现无法访问到ubuntu官网的错误. 安装git: sudo apt-get install git 下载项目: git clone https://github.com/openstack-dev/devstack.git 切换命令: cd devstack 查看分支: git branch -a #可以切换到不同的版本 切分支: git checkout -b hava

openstack i版搭建教程

第一部分云计算平台Openstack介绍 一.   什么是云计算 云计算(cloud computing)是基于互联网的相关服务的增加.使用和交付模式,通常涉及通过互联网来提供动态易扩展且经常是虚拟化的资源.云是网络.互联网的一种比喻说法.过去在图中往往用云来表示电信网,后来也用来表示互联网和底层基础设施的抽象.因此,云计算甚至可以让你体验每秒10万亿次的运算能力,拥有这么强大的计算能力可以模拟核爆炸.预测气候变化和市场发展趋势.用户通过电脑.笔记本.手机等方式接入数据中心,按自己的需求进行运算

Oracle VM + centos7.1+openstack kilo 多结点安装教程---keystone的安装(2)

声明:最近在进行openstack的kilo版本的安装,发现现有的网络教程非常少,而且多数教程并不能安装成功,故写此教程.openstack的安装较为复杂,本教程并不能保证在不同环境下也能将其安装成功.个人安装教程,也难免出错.同时,安装是在虚拟机环境下,真实安装环境需要进行更改. 转载请声明出处: 作者:张某人ER 原文链接:http://blog.csdn.net/xinxing__8185/article/details/51154549 第二部分 keystone的安装 (2) 配置Ap