OpenStackMuranoDashboard如何安装
这篇文章给大家分享的是有关OpenStack Murano Dashboard如何安装的内容。小编觉得挺实用的,因此分享给大家做个参考,一起跟随小编过来看看吧。
创新互联-专业网站定制、快速模板网站建设、高性价比洪洞网站开发、企业建站全套包干低至880元,成熟完善的模板库,直接使用。一站式洪洞网站制作公司更省心,省钱,快速模板网站建设找我们,业务覆盖洪洞地区。费用合理售后完善,10余年实体公司更值得信赖。
##前提
murano
服务已经安装好openstack dashboard
已经安装系统: ubuntu14.04
##安装
下载Dashboard
$ cd ~/murano $ git clone git://git.openstack.org/openstack/murano-dashboard
切换到
stable/kilo
分支cd murano-dashboard git checkout -t origin/stable/kilo
安装依赖
pip install -r requirements.txt
安装Murano Dashboard到系统中
python setup.py install
在Openstack Dashboard中启用Murano Dashboard
复制模板:
cp muranodashboard/local/_50_murano.py /usr/share/openstack-dashboard/openstack_dashboard/local/enabled/
注释掉
ADD_JS_FILES
那几行:# vim /usr/share/openstack-dashboard/openstack_dashboard/local/enabled/_50_murano.py from muranodashboard import exceptions # The name of the dashboard to be added to HORIZON['dashboards']. Required. DASHBOARD = 'murano' # If set to True, this dashboard will not be added to the settings. DISABLED = False ADD_INSTALLED_APPS = [ 'muranodashboard', ] ADD_EXCEPTIONS = { 'recoverable': exceptions.RECOVERABLE, 'not_found': exceptions.NOT_FOUND, 'unauthorized': exceptions.UNAUTHORIZED, } #ADD_JS_FILES = [ # 'muranodashboard/js/murano.service.js' #]
链接static目录
ps: 修改
/opt/murano/murano-dashboard/muranodashboard/static/muranodashboard/
为自己的路径ln -s /opt/murano/murano-dashboard/muranodashboard/static/muranodashboard/ /usr/share/openstack-dashboard/openstack_dashboard/static/muranodashboard
在
local_setttings.py
添加下面内容# vim /etc/openstack-dashboard/local_settings.py MURANO_API_URL = 'http://localhost:8082'
重启OpenStack Dashboard
感谢各位的阅读!关于“OpenStack Murano Dashboard如何安装”这篇文章就分享到这里了,希望以上内容可以对大家有一定的帮助,让大家可以学到更多知识,如果觉得文章不错,可以把它分享出去让更多的人看到吧!
网站标题:OpenStackMuranoDashboard如何安装
当前网址:http://myzitong.com/article/jojpci.html