您好,登錄后才能下訂單哦!
這篇文章給大家分享的是有關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進行舉報,并提供相關證據,一經查實,將立刻刪除涉嫌侵權內容。