如何安装OpenStack Manila (二)


2、  安装OpenStack Manila界面
参考官方链接:https://github.com/openstack/manila-ui
这个是以前juno版本的时候官方给出的:https://wiki.openstack.org/wiki/Manila/docs/HOWTO_use_manila_with_horizon
这个界面的安装官方网页就介绍的非常清楚了


步骤一: 下载horizon和manila-ui库
git clone https://github.com/openstack/horizon
git clone https://github.com/openstack/manila-ui
步骤二:安装horizon
cd horizon
python tools/install_venv.py
步骤三:在horizon配置文件中添加manila信息
cp openstack_dashboard/local/local_settings.py.example openstack_dashboard/local/local_settings.py
打开local_settings.py文件添加如下两行信息:
HORIZON_CONFIG = {
    ...
    'js_spec_files': [],
    'customization_module': 'manila_ui.overrides',
}
步骤四:安装manila-ui
tools/with_venv.sh pip install -e ../manila-ui/
步骤五:拷贝manila配置文件到dashboard
cp ../manila-ui/manila_ui/enabled/_90_manila_*.py openstack_dashboard/local/enabled
步骤六:启动界面
./run_tests.sh --runserver 0.0.0.0:8080 
ps:如果8080端口被占用可以尝试使用别的端口
步骤七:访问界面
运行http://本地ip:8080 即可登陆到带manila的OpenStack界面中
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值