WebVirtCompute is a daemon for deploying and managing virtual machines based on FastAPI and libvirt. This project provides a REST API to manage virtual machines and their resources, making it easy to automate virtual machine management.
- Rocky Linux 8
- Rocky Linux 9
To install WebVirtCompute, you need to download already built binary.
cd /tmp/
wget https://cloud-apps.webvirt.cloud/webvirtcompute-rockylinux8-amd64.tar.gz
tar -xvf webvirtcompute-rockylinux8-amd64.tar.gz
cd webvirtcompute
sudo cp webvirtcompute /usr/local/bin/
sudo cp webvirtcompute.service /etc/systemd/system/
sudo mkdir -p /etc/webvirtcompute
sudo cp webvirtcompute.ini /etc/webvirtcompute/
sudo systemctl daemon-reload
sudo systemctl enable --now webvirtcomputeWebVirtCompute uses a configuration file to set up the daemon. The default configuration file is located at /etc/webvirtcompute/webvirtcompute.ini. You need to change default token variable. You can generate token with openssl rand -hex 32 command.
make -f Makefile.rockylinux8 compile
make -f Makefile.rockylinux8 packageYou can find archive with binary in release directory.
You can download already built binary for rockylinux8 and for rockylinux9.
WebVirtCompute is released under the Apache 2.0 Licence. See the bundled LICENSE file for details.