kvmweb管理工具_KVM web管理工具——WebVirtMgr

系统环境:

[root@kvm-admin ~]# cat /etc/redhat-release

CentOS Linux release7.3.1611(Core)

关闭防火墙、selinux

[root@kvm-admin ~]# systemctl stop firewalld.service

[root@kvm-admin ~]# setenforce 0

一、安装部署WebVirtMgr

需要有repo源,centos7默认没有wget:yum install wget

wget -O /etc/yum.repos.d/epel.repo http://mirrors.aliyun.com/repo/epel-7.repo

1、安装依赖包

[root@localhost ~]# yum -y install git python-pip libvirt-python libxml2-python python-websockify supervisor nginx[root@localhost ~]# yum -y install gcc python-devel

[root@localhost ~]# pip install numpy

Collecting numpy

Downloading https://files.pythonhosted.org/packages/6a/a9/c01a2d5f7b045f508c8cefef3b079fe8c413d05498ca0ae877cffa230564/numpy-1.14.5-cp27-cp27mu-manylinux1_x86_64.whl (12.1MB)

100% |████████████████████████████████| 12.1MB 26kB/s

Installing collected packages: numpy

Successfully installed numpy-1.14.5

You are using pip version 8.1.2, however version 18.0 is available.

You should consider upgrading via the 'pip install --upgrade pip' command.

2、安装python需求并设置Django环境

[root@localhost ~]# cd /server/tools/[root@localhost tools]# git clone git://github.com/retspen/webvirtmgr.git

Cloning into 'webvirtmgr'...

remote: Counting objects:5730, done.

remote: Compressing objects:100% (6/6), done.

remote: Total5730 (delta 1), reused 0 (delta 0), pack-reused 5724Receiving objects:100% (5730/5730), 3.01 MiB | 341.00 KiB/s, done.

Resolving deltas:100% (3686/3686), done.

[root@localhost tools]# cd webvirtmgr/[root@localhost webvirtmgr]# pipinstall -r requirements.txt

Collecting django==1.5.5 (from -r requirements.txt (line 1))

Downloading https://files.pythonhosted.org/packages/38/49/93511c5d3367b6

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值