mirror of
https://github.com/retspen/webvirtcloud
synced 2024-11-22 06:14:16 +00:00
Created Podman Installation (markdown)
parent
d4b0d26ecd
commit
7b1a2bf61d
1 changed files with 28 additions and 0 deletions
28
Podman-Installation.md
Normal file
28
Podman-Installation.md
Normal file
|
@ -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
|
Loading…
Reference in a new issue