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 +<pre><code>sudo apt install git python +or +yum install git python</code></pre> +2. Clone from repository +<pre><code>git clone https://github.com/retspen/webvirtcloud.git</code></pre> +3 Move to the installation folder +<pre><code>cd webvirtcloud/</code></pre> +4. Copy the setting.py file +<pre><code>cp webvirtcloud/settings.py.template webvirtcloud/settings.py</code></pre> +5. Generate random number using Python script: +<pre><code>python3 conf/runit/secret_generator.py</code></pre> +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 +<pre><code>podman build -t retspen/webvirtcloud:1 .</code></pre> +9. Create a pod to export access port +<pre><code> podman pod create -p 80:80 --name wvc</code></pre> +10. Start the container. Use this command only for the first start +<pre><code>podman run -dt --pod wvc retspen/webvirtcloud:1</code></pre> +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