1
0
Fork 0
mirror of https://github.com/retspen/webvirtcloud synced 2024-11-01 03:54:15 +00:00
No description
Find a file
Anatoliy Guskov 74ccf5e3b7 Merge pull request #30 from NerdsvilleCEO/patch-4
Move default nginx conf out of enabled dir
2015-06-29 09:53:33 +03:00
accounts Added models and telmplate for sshkeys 2015-05-27 14:10:57 +03:00
computes Fix Compute Overview 2015-06-07 15:58:52 +05:00
conf server_name should be optional 2015-06-27 05:56:37 -07:00
console Fixed some bugs 2015-05-13 09:42:20 +03:00
create Fixed #3 2015-05-15 20:54:55 +03:00
dev Update requirements.txt 2015-05-21 18:55:49 +03:00
instances Fixed search bar on users 2015-06-16 11:53:42 +03:00
interfaces Fixed create net alias 2015-04-21 15:58:56 +03:00
logs Fixed #7 2015-05-18 22:00:30 +03:00
networks Fixed create net alias 2015-04-21 15:58:56 +03:00
secrets Fixed pep8 2015-04-06 10:51:50 +03:00
static Added function for public key to gstfsd 2015-05-27 16:23:49 +03:00
storages Fixed access without admins prermission 2015-06-24 09:54:46 +03:00
templates User can change root password in instance 2015-05-20 16:44:30 +03:00
vrtManager Fixed when net dev vnet 2015-06-22 10:13:50 +03:00
webvirtcloud Update settings.py 2015-06-22 10:14:19 +03:00
.gitignore Moved all to virtualenv 2015-06-16 08:49:30 +03:00
.travis.yml Cleaned some places 2015-04-21 17:13:53 +03:00
gunicorn.conf.py Cleaned some places 2015-04-21 17:13:53 +03:00
manage.py Initial commit 2015-02-27 10:53:51 +02:00
README.md Move default nginx conf out of enabled dir 2015-06-28 21:50:50 -07:00
Vagrantfile Moved all to virtualenv 2015-06-16 08:49:30 +03:00

WebVirtCloud Beta

Features

  • User can add SSH public key to root in Instance (Tested only Ubuntu)
  • User can change root password in Instance (Tested only Ubuntu)

Warning!!!

How to update gstfsd daemon on hypervisor:

wget -O - https://clck.ru/9VMRH | sudo tee -a /usr/local/bin/gstfsd
sudo service supervisor restart

Description

WebVirtMgr is a libvirt-based Web interface for managing virtual machines. It can delegate Virtual Machine's to users. A noVNC viewer presents a full graphical console to the guest domain. KVM is currently the only hypervisor supported.

Install WebVirtCloud panel

sudo apt-get -y install git python-virtualenv python-dev libxml2-dev libvirt-dev zlib1g-dev nginx supervisor
git clone https://github.com/retspen/webvirtcloud
cd webvirtcloud
sudo cp conf/supervisor/webvirtcloud.conf /etc/supervisor/conf.d
sudo cp conf/nginx/webvirtcloud.conf /etc/nginx/conf.d
cd ..
sudo mv webvirtcloud /srv
sudo chown -R www-data:www-data /srv/webvirtcloud
cd /srv/webvirtcloud
virtualenv venv
source venv/bin/activate
pip install -r conf/requirements.txt
python manage.py migrate
sudo chown -R www-data:www-data /srv/webvirtcloud
sudo rm /etc/nginx/sites-enabled/default

Restart services for running WebVirtCloud:

sudo service nginx restart
sudo service supervisor restart

Setup libvirt and KVM on server

wget -O - https://clck.ru/9V9fH | sudo sh

Default credentials

login: admin

password: admin

How To Update

git pull
python manage.py migrate
sudo service supervisor restart