Kvman = Kvm Man = Kernel-based Virtual Machine Manager
Version: v1.0.0-Dev
-
CentOS 7.8 x86_64
-
Python 2.7.xx
yum update -y
yum install -y centos-release-qemu-ev
yum install -y qemu-kvm-ev qemu-kvm-common-ev qemu-img-ev qemu-kvm-tools-ev libvirt libvirt-python virt-install
-
Python:2.7.x
-
Torweb:1.0
-
Tornado:5.0
-
Jinja2:2.9
-
Redis-Py:2.10
-
Libvirt: 2.0
-
Supervisor: 3.0
-
Pillow 6.2.2
-
numpy 1.16.6
pip install tornado==5.1.1 supervisor==3.3.5 numpy==1.16.6 Pillow=6.2.2 simplejson Jinja2 redis
-
Copy config/settings-sample.py to config/settings.py
-
Change configurations for redis in settings.py, such as
host
port
password
python run.py [--port=8081]
Visit http://IP:8081
python vendor/console.py --token-plugin console.Token 6080
[program:kvman]
command=/usr/bin/python2.7 run.py --port=8080 2>&1 >> /tmp/kvman.log
autorestart=true
autostart=true
directory=/var/www/kvman
redirect_stderr=true
stdout_logfile=/tmp/kvman.log
[program:kvman_console]
command=/usr/bin/python2.7 vendor/console.py --token-plugin console.Token 6080
autorestart=true
autostart=true
directory=/var/www/kvman
redirect_stderr=true
stdout_logfile=/tmp/kvman_console.log
ssh-keygen
ssh-copy-id kvm_server_hostname
Test:
virsh -c qemu ssh://Username@KvmServerAddress:SSH_Port/system
redis-cli -h redis_host -p redis_port save
This project is under the GPLv3 License. See the LICENSE file for the full license text.