mirror of
https://github.com/retspen/webvirtcloud
synced 2024-12-25 23:55:24 +00:00
62 lines
1.4 KiB
Markdown
62 lines
1.4 KiB
Markdown
## 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 <code>gstfsd</code> daemon on hypervisor:
|
|
|
|
```bash
|
|
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
|
|
|
|
```bash
|
|
sudo apt-get -y install git python-pip python-dev python-libvirt python-libxml2 nginx supervisor
|
|
git clone https://github.com/retspen/webvirtcloud
|
|
cd webvirtcloud
|
|
sudo pip install -r conf/requirements.txt
|
|
python manage.py migrate
|
|
sudo cp conf/supervisor/webvirtcloud.conf /etc/supervisor/conf.d
|
|
sudo cp conf/nginx/webvirtcloud.conf /etc/nginx/conf.d
|
|
cd ..
|
|
sudo mv webvirtcloud /var/www/
|
|
sudo chown -R www-data:www-data /var/www/webvirtcloud
|
|
```
|
|
|
|
Restart services for running WebVirtCloud:
|
|
|
|
```bash
|
|
sudo service nginx restart
|
|
sudo service supervisor restart
|
|
```
|
|
|
|
### Setup libvirt and KVM on server
|
|
|
|
```bash
|
|
wget -O - https://clck.ru/9V9fH | sudo sh
|
|
```
|
|
|
|
### Default credentials
|
|
|
|
login: admin
|
|
|
|
password: admin
|
|
|
|
|
|
### How To Update
|
|
```bash
|
|
git pull
|
|
python manage.py migrate
|
|
sudo service supervisor restart
|
|
```
|