diff --git a/Podman-Installation.md b/Podman-Installation.md new file mode 100644 index 0000000..a3a99ca --- /dev/null +++ b/Podman-Installation.md @@ -0,0 +1,28 @@ +# *First Install podman* (on host or guest): + + +***Steps:*** +1. Install git, python +
sudo apt install git python
+or
+yum install git python
+2. Clone from repository
+git clone https://github.com/retspen/webvirtcloud.git
+3 Move to the installation folder
+cd webvirtcloud/
+4. Copy the setting.py file
+cp webvirtcloud/settings.py.template webvirtcloud/settings.py
+5. Generate random number using Python script:
+python3 conf/runit/secret_generator.py
+6. Copy 'generated code' and paste it to webvirtcloud/settings.py as SECRET_KEY = ''
+7. Edit webvirtcloud/settings.py and change WS_PUBLIC_PORT = 6080 -> WS_PUBLIC_PORT = 80
+8. Build the docker container
+podman build -t retspen/webvirtcloud:1 .
+9. Create a pod to export access port
+ podman pod create -p 80:80 --name wvc
+10. Start the container. Use this command only for the first start
+podman run -dt --pod wvc retspen/webvirtcloud:1
+11. Run browser enter host url with http.
+12. Login with: Username admin, password admin
+13. Change your admin password
+14. Add new host & define storage pools - define network
\ No newline at end of file