Skip to content

easy-cloud-Knet/KWS_Control

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

64 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

KWS Control

KWS Control

system requirements

  • Go >= 1.21
  • libvirt
  • Docker

run

1. dependencies

Ubuntu/Debian

sudo apt install libvirt-dev pkg-config

CentOS/RHEL

sudo yum install libvirt-devel pkgconfig

I use Arch BTW

sudo pacman -S libvirt qemu dnsmasq openbsd-netcat

3. Go mod download

go mod download

run

method1: build & run

make run

make build

./kws

make clean

method2: docker

docker build -t kws-control .

docker run -p 8081:8081 kws-control

tree

KWS_Control/
|── api/
│   |── server/     # HTTP API server
│   |── workercont/ # worker control
|── config/         # config
|── vm/             # VM management
|── util/           # utils
|── main.go         # main.go
|── Dockerfile      # dockerfile
|── Makefile        # biuld script
|── go.mod          # go module setting

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 5