1.
$ sudo apt-get install -y git bzr $ sudo easy_install virtualenv2.通过BZR安装 $ bzr init-repo . $ bzr branch lp:openstack-dashboard $ cd openstack-dashboard $ bzr revert -r 46 $ sudo sh run_tests.sh
3.
vi openstack-dashboard/local/local_settings.py以下内容 根据自己 NOVARC的内容更改
...
NOVA_DEFAULT_ENDPOINT = 'http://172.16.39.111:8773/services/Cloud' NOVA_DEFAULT_REGION = 'nova' NOVA_ACCESS_KEY = '22781cf0-b8b6-44e8-86c8-baf8d3827662:mycloud' NOVA_SECRET_KEY = '2dc4007f-3425-417b-a598-33a190d2f995' NOVA_ADMIN_USER = 'vpsee' NOVA_PROJECT = 'mycloud' ... 4.这句在TOOL下执行 source .dashboard-venv/bin/activate5.
sudo tools/with_venv.sh dashboard/manage.py syncdb 6.IP地址换成自己的 sudo tools/with_venv.sh dashboard/manage.py runserver 172.16.39.111:8000如果第四步出现错误:请删除LOCAL目录下的dashboard_openstack.sqlite3文件,在执行第四步