mirror of
https://github.com/retspen/webvirtcloud
synced 2024-11-23 23:04: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:
- Install git, python
yum install git python
- Clone from repository
git clone https://github.com/retspen/webvirtcloud.git
3 Move to the installation folder
cd webvirtcloud/
- Copy the setting.py file
cp webvirtcloud/settings.py.template webvirtcloud/settings.py
- Generate random number using Python script:
python3 conf/runit/secret_generator.py
- Copy 'generated code' and paste it to webvirtcloud/settings.py as SECRET_KEY = ''
- Edit webvirtcloud/settings.py and change WS_PUBLIC_PORT = 6080 -> WS_PUBLIC_PORT = 80
- Build the docker container
podman build -t retspen/webvirtcloud:1 .
- Create a pod to export access port
podman pod create -p 80:80 --name wvc
- Start the container. Use this command only for the first start
podman run -dt --pod wvc retspen/webvirtcloud:1
- Run browser enter host url with http.
- Login with: Username admin, password admin
- Change your admin password
- Add new host & define storage pools - define network