1.安装依赖包
yum install -y epel-release
yum clean all && yum makecache
yum install -y git python-pip libvirt-python libxml2-python python-websockify supervisor nginx gcc python-devel
2.配置pip豆瓣源
vim ~/.pip/pip.conf
[global]
timeout = 60
index-url = http://pypi.douban.com/simple
trusted-host = pypi.douban.com
3.下载webvirtmgr程序包
cd /usr/local/src
git clone git://github.com/retspen/webvirtmgr.git
4.使用pip安装第三方库
cd webvirtmgr
pip insall numpy
pip install -r requirements.txt
5.创建超级管理员
python2 manage.py syncdb
You just installed Django’s auth system, which means you don’t have any superusers defined.
Would you like to create one now? (yes/no): yes
Username (leave blank to use ‘root’): admin