kvm虚拟化平台学习(一)CentOS7.5下WebVirtMgr部署

本文详细介绍了如何在CentOS7.5上部署WebVirtMgr虚拟化管理平台,包括安装依赖包、配置pip源、安装webvirtmgr程序及第三方库、创建超级管理员、管理静态文件、配置站点、设置supervisor和实现开机自启。
摘要由CSDN通过智能技术生成

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

评论 2
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值