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
Email addre

本文详细介绍了如何在CentOS7.5上部署WebVirtMgr虚拟化管理平台,包括安装依赖包、配置pip源、安装webvirtmgr程序及第三方库、创建超级管理员、管理静态文件、配置站点、设置supervisor和实现开机自启。
最低0.47元/天 解锁文章

被折叠的 条评论
为什么被折叠?



