Covcheck: Unterschied zwischen den Versionen
(Markierung: 2017-Quelltext-Bearbeitung) |
| Zeile 12: | Zeile 12: | ||
===Prerequisites=== | ===Prerequisites=== | ||
| − | * Ubuntu 22.04 mit Internetzugang | + | *Ubuntu 22.04 mit Internetzugang |
| − | * Benutzer mit '''sudo'''-Berechtigungen und Verfügbarkeit eines Benutzers mit der ID 1000 (''cat /etc/passwd | grep 1000'') | + | *Benutzer mit '''sudo'''-Berechtigungen und Verfügbarkeit eines Benutzers mit der ID 1000 (''cat /etc/passwd | grep 1000'') |
| − | * Archiv '''covid-installer.tar.gz''' mit den Dateien, die in [Installationsdateien](#installation-files) aufgelistet sind | + | *Archiv '''covid-installer.tar.gz''' mit den Dateien, die in [Installationsdateien](#installation-files) aufgelistet sind |
===Installationsschritte=== | ===Installationsschritte=== | ||
| − | * Verbinden Sie sich mit '''ssh''' mit dem Ubuntu-Server | + | *Verbinden Sie sich mit '''ssh''' mit dem Ubuntu-Server |
| − | * Kopieren Sie '''covid-installer.tar.gz''' in ein lokales Verzeichnis | + | *Kopieren Sie '''covid-installer.tar.gz''' in ein lokales Verzeichnis |
| − | * Führen Sie den folgenden Befehl aus: | + | *Führen Sie den folgenden Befehl aus: |
<syntaxhighlight> | <syntaxhighlight> | ||
| Zeile 28: | Zeile 28: | ||
</syntaxhighlight> | </syntaxhighlight> | ||
| − | * Modify file '''.env''' and specify the database password ('''POSTGRES_PASSWORD''') and, if necessary, host name ('''ODOO_HOST_NAME''') and timezone ('''TZ'''): | + | *Modify file '''.env''' and specify the database password ('''POSTGRES_PASSWORD''') and, if necessary, host name ('''ODOO_HOST_NAME''') and timezone ('''TZ'''): |
<syntaxhighlight>POSTGRES_PASSWORD=gR7K6GT8MvQHpvLs | <syntaxhighlight>POSTGRES_PASSWORD=gR7K6GT8MvQHpvLs | ||
| Zeile 34: | Zeile 34: | ||
TZ=Europe/Berlin</syntaxhighlight> | TZ=Europe/Berlin</syntaxhighlight> | ||
| − | * If SSL certificates are provided for domain name '''ODOO_HOST_NAME''' put them into directory '''/etc/nginx/certs''', e.g: | + | *If SSL certificates are provided for domain name '''ODOO_HOST_NAME''' put them into directory '''/etc/nginx/certs''', e.g: |
<syntaxhighlight> | <syntaxhighlight> | ||
| Zeile 41: | Zeile 41: | ||
</syntaxhighlight> | </syntaxhighlight> | ||
| − | * If SSL certificates are not available, HTTP connection will be used and you need to modify file **docker-compose** accordingly: | + | *If SSL certificates are not available, HTTP connection will be used and you need to modify file **docker-compose** accordingly: |
| + | |||
◦ Add this section to container **odoo**: | ◦ Add this section to container **odoo**: | ||
| − | + | <syntaxhighlight> | |
ports: | ports: | ||
- 80:8069 </syntaxhighlight> | - 80:8069 </syntaxhighlight> | ||
◦ Comment out or remove port 80 for container **nginx_proxy**: | ◦ Comment out or remove port 80 for container **nginx_proxy**: | ||
| − | + | <syntaxhighlight> | |
ports: | ports: | ||
# - 80:80 | # - 80:80 | ||
- 443:443 </syntaxhighlight> | - 443:443 </syntaxhighlight> | ||
| − | * Run the installer script: | + | *Run the installer script: |
<syntaxhighlight>script=install-covcheck.sh && chmod +x $script && ./$script -i</syntaxhighlight> | <syntaxhighlight>script=install-covcheck.sh && chmod +x $script && ./$script -i</syntaxhighlight> | ||
| − | * The installation is finished successfully if you see this line in the shell: | + | *The installation is finished successfully if you see this line in the shell: |
<syntaxhighlight>### Installation finished successfully</syntaxhighlight> | <syntaxhighlight>### Installation finished successfully</syntaxhighlight> | ||
| Zeile 62: | Zeile 63: | ||
===Installation Files=== | ===Installation Files=== | ||
| − | ;.env : environment variables | + | ;.env :environment variables |
| − | ;boot-covid-install.sh : development script | + | ;boot-covid-install.sh :development script |
| − | ;covcheck.tar.gz : archived covcheck and request_extension ODOO addons | + | ;covcheck.tar.gz :archived covcheck and request_extension ODOO addons |
| − | ;covid-installer.tar.gz : archive of other files from this list | + | ;covid-installer.tar.gz :archive of other files from this list |
| − | ;docker-compose.yml : docker compose file | + | ;docker-compose.yml :docker compose file |
| − | ;install-covid.sh : primary installation script | + | ;install-covid.sh :primary installation script |
| − | ;nginx-vhost : template vhost file for nginx | + | ;nginx-vhost :template vhost file for nginx |
| − | ;odoo.conf : configuration file for ODOO | + | ;odoo.conf :configuration file for ODOO |
| − | ;README.md : this file | + | ;README.md :this file: |
Abgerufen von „https://docs.maxcrc.de/w/index.php?title=Covcheck&oldid=7293“