您好,登录后才能下订单哦!
这篇文章给大家分享的是有关OpenStack Murano Dashboard如何安装的内容。小编觉得挺实用的,因此分享给大家做个参考,一起跟随小编过来看看吧。
##前提
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如何安装”这篇文章就分享到这里了,希望以上内容可以对大家有一定的帮助,让大家可以学到更多知识,如果觉得文章不错,可以把它分享出去让更多的人看到吧!
免责声明:本站发布的内容(图片、视频和文字)以原创、转载和分享为主,文章观点不代表本网站立场,如果涉及侵权请联系站长邮箱:is@yisu.com进行举报,并提供相关证据,一经查实,将立刻删除涉嫌侵权内容。