openstack horizon开发环境配置
mkdir open_src cd open_src
1.选择一个目录下载Horizon代码
git clone https://github.com/openstack/horizon.git git clone git://github.com/openstack/horizon.git git clone git://git.openstack.org/openstack/horizon
2.创建一个Virtualenv.venv并安装依赖包(tools/install_venv.py这个脚本可以创建一个虚拟的环境,并且安装所有需要的包)
cd horizon python tools/install_venv.py
3.激活virtualenv环境
source .venv/bin/activate
4.起一个自己的端口(我起的端口号是3333)
python manage.py runserver 0.0.0.0:3333
最后通过3333这个端口就可以访问dashboard了
问题:
you must set settings.ALLOWED_HOSETS if DEBUG is Fasle
解决方法:修改
local_setting.py ALLOWED_HOSTS = ['*', ]
参考链接:
HorizonQuickStarthttp://docs.openstack.org/developer/horizon/quickstart.html
[url]http://fosshelp.blogspot.sg/2013/03/how-to-setup-openstack-horizon.html[/url]
相关推荐
gokeibi 2020-04-26
Moolightshadow 2020-07-16
fyggzb 2020-07-05
gokeibi 2020-06-12
zziyuann 2020-06-12
fyggzb 2020-06-12
hhphhp 2020-06-12
fyggzb 2020-06-10
JeremyLiu 2020-06-10
JeremyLiu 2020-06-10
jmppok 2020-06-07
jmppok 2020-06-05
hhphhp 2020-06-01
zziyuann 2020-05-17
gokeibi 2020-05-07
gokeibi 2020-04-19
gokeibi 2020-04-19