1
0
Fork 0
mirror of https://github.com/retspen/webvirtcloud synced 2024-10-31 19:44:16 +00:00
4 Podman Installation
catborise edited this page 2020-06-30 14:19:41 +03:00

First Install podman (on host or guest) then:

Steps:

  1. Install git, python
yum install git python
  1. Clone from repository
git clone https://github.com/retspen/webvirtcloud.git

3 Move to the installation folder

cd webvirtcloud/
  1. Copy the setting.py file
cp webvirtcloud/settings.py.template webvirtcloud/settings.py
  1. Generate random number using Python script:
python3 conf/runit/secret_generator.py
  1. Copy 'generated code' and paste it to webvirtcloud/settings.py as SECRET_KEY = ''
  2. Edit webvirtcloud/settings.py and change WS_PUBLIC_PORT = 6080 -> WS_PUBLIC_PORT = 80
  3. Build the docker container
podman build -t retspen/webvirtcloud:1 .
  1. Create a pod to export access port
 podman pod create -p 80:80 --name wvc
  1. Start the container. Use this command only for the first start
podman run -dt --pod wvc retspen/webvirtcloud:1
  1. Run browser enter host url with http.
  2. Login with: Username admin, password admin
  3. Change your admin password
  4. Add new host & define storage pools - define network