1
0
Fork 0
mirror of https://github.com/retspen/webvirtcloud synced 2024-10-31 19:44:16 +00:00
webvirtcloud/README.md

66 lines
1.5 KiB
Markdown
Raw Normal View History

2015-05-21 12:07:55 +00:00
## WebVirtCloud Beta
## Features
2015-05-27 13:41:08 +00:00
* User can add SSH public key to root in Instance (Tested only Ubuntu)
* User can change root password in Instance (Tested only Ubuntu)
### Warning!!!
2015-06-03 05:18:47 +00:00
How to update <code>gstfsd</code> daemon on hypervisor:
2015-05-27 13:41:08 +00:00
```bash
wget -O - https://clck.ru/9VMRH | sudo tee -a /usr/local/bin/gstfsd
sudo service supervisor restart
```
2015-03-27 14:17:28 +00:00
### Description
2015-05-21 12:07:55 +00:00
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.
2015-03-27 14:17:28 +00:00
### Install WebVirtCloud panel
```bash
2015-06-16 05:49:30 +00:00
sudo apt-get -y install git python-virtualenv python-dev libxml2-dev libvirt-dev zlib1g-dev nginx supervisor
2015-03-27 14:17:28 +00:00
git clone https://github.com/retspen/webvirtcloud
2015-05-08 07:43:43 +00:00
cd webvirtcloud
2015-03-27 14:17:28 +00:00
sudo cp conf/supervisor/webvirtcloud.conf /etc/supervisor/conf.d
sudo cp conf/nginx/webvirtcloud.conf /etc/nginx/conf.d
cd ..
2015-06-16 05:49:30 +00:00
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
2015-03-27 14:17:28 +00:00
```
Restart services for running WebVirtCloud:
```bash
sudo service nginx restart
sudo service supervisor restart
```
2015-03-27 14:23:49 +00:00
2015-03-27 14:24:51 +00:00
### Setup libvirt and KVM on server
2015-03-27 14:23:49 +00:00
```bash
2015-05-19 19:39:47 +00:00
wget -O - https://clck.ru/9V9fH | sudo sh
2015-03-27 14:23:49 +00:00
```
2015-03-27 14:32:33 +00:00
### Default credentials
login: admin
password: admin
2015-05-18 19:00:30 +00:00
### How To Update
```bash
2015-05-27 13:41:08 +00:00
git pull
python manage.py migrate
sudo service supervisor restart
2015-05-18 19:08:14 +00:00
```