README update

main
root 2024-03-01 16:58:56 +01:00
parent 617a6481e9
commit 8f39dc4768
1 changed files with 22 additions and 5 deletions

View File

@ -1,7 +1,6 @@
# Hype²
Now compatible with Windows Install, just take care to lauch the driver before scanning disks.
Now compatible with Windows Install, just take care to launch the driver before scanning disks.
```mermaid
@ -20,7 +19,7 @@ Server[Server] <----> LXC((LXC))
```sh
apt-get update -y -qq
apt-get install git lxc lxcfs lxc-templates qemu qemu-utils qemu-kvm virtinst bridge-utils virt-manager libvirt-daemon libvirt-daemon-system virt-viewer libvirt-clients libosinfo-bin websockify sqlite3 novnc
apt-get install python3 python3-flask python3-flask-login python3-flask-sqlalchemy python3-requests python3-lxc python3-libvirt python3-psutil python3-werkzeug python3-websockify python3-novnc
apt-get install python3 python3-flask python3-flask-login python3-flask-sqlalchemy python3-requests python3-lxc python3-libvirt python3-psutil python3-werkzeug python3-websockify python3-novnc python3-flask-socketio
```
Clone the repository :
@ -47,6 +46,23 @@ virsh net-define bridged.xml
virsh net-start bridged
virsh net-autostart bridged
```
On your host, create the bridge interface "bro", according to your network with :
- @@@ The physical interface
- XXX.XXX.XXX.XXX your fixed IP (recommended)
- YYY.YYY.YYY.YYY your netmask
- ZZZ.ZZZ.ZZZ.ZZZ your gateway
```sh
auto br0
iface br0 inet static
bridge_ports @@@@
bridge_fd 0
bridge_maxwait 0
address XXX.XXX.XXX.XXX
netmask YYY.YYY.YYY.YYY
gateway ZZZ.ZZZ.ZZZ.ZZZ
```
## Database for users
@ -58,6 +74,7 @@ Once connected, you will be able to create/manage users directly on software.
```sh
cp db.db.admin_example db.db
```
For security reason, you should remove **db.db.admin_example**
If you want to create this database by yourself, you can :
@ -168,7 +185,7 @@ ProxyPassReverse / https://<your_ip>:5007/
## Run and use
```sh
python3 app
python3 app.py
and go to https://www.example.com (or https://<server_ip>:5007 without RP) with your credentials (mail and normal password or admin)
@ -203,7 +220,7 @@ You can also change some configuration in the file *configuration.py* such as fl
## Others
You can upload Virtual Machine ISO directly from the interface.
You can upload ISO directly from the interface.
If you desire to use another way such as scp or else, you can place the iso in the *<hype_path>/storage/iso/* folder