Unterschiede

Hier werden die Unterschiede zwischen zwei Versionen der Seite angezeigt.

Link zu der Vergleichsansicht

Beide Seiten, vorherige Überarbeitung Vorherige Überarbeitung
Nächste Überarbeitung
Vorherige Überarbeitung
Nächste ÜberarbeitungBeide Seiten, nächste Überarbeitung
server_und_serverdienste:installation_odoo13_auf_centos8 [2020/02/02 19:14] – [Source] boospyserver_und_serverdienste:installation_odoo13_auf_centos8 [2020/02/22 20:57] – [Create a Systemd Service file for Odoo 13] boospy
Zeile 1: Zeile 1:
-====== Installation Odoo13 auf CentOS8 with IPV6 and Let's Encrypt ======+====== Installation Odoo13 on CentOS8 with IPV6 and Let's Encrypt ======
 {{:server_und_serverdienste:centos.png?nolink&100|}} {{:server_und_serverdienste:centos.png?nolink&100|}}
 {{:server_und_serverdienste:odoo-logo.png?nolink&150|}} {{:server_und_serverdienste:odoo-logo.png?nolink&150|}}
Zeile 57: Zeile 57:
 wget https://downloads.wkhtmltopdf.org/0.12/0.12.5/wkhtmltox-0.12.5-1.centos7.x86_64.rpm wget https://downloads.wkhtmltopdf.org/0.12/0.12.5/wkhtmltox-0.12.5-1.centos7.x86_64.rpm
 dnf localinstall wkhtmltox-0.12.5-1.centos7.x86_64.rpm dnf localinstall wkhtmltox-0.12.5-1.centos7.x86_64.rpm
 +dnf install compat-openssl10 libpng15
 </code> </code>
  
Zeile 132: Zeile 133:
 User=odoo User=odoo
 Group=odoo Group=odoo
-ExecStart=/opt/odoo/odoo13-venv/bin/python3-c /etc/odoo.conf+ExecStart=/opt/odoo/odoo13-venv/bin/python3 /opt/odoo/odoo13/odoo-bin -c /etc/odoo.conf
 StandardOutput=journal+console StandardOutput=journal+console
 [Install] [Install]
Zeile 313: Zeile 314:
 /usr/local/bin/certbot-auto certonly --agree-tos --email foo@example.com --webroot -w /var/lib/letsencrypt/ -d foo.example.com /usr/local/bin/certbot-auto certonly --agree-tos --email foo@example.com --webroot -w /var/lib/letsencrypt/ -d foo.example.com
 </code> </code>
-After setup is finished, comment in all SSL entries again, and restart Nginx. Now it is easy to create some cronjob weekly to renew the certificate from Let's Encrypt automaticly.+After setup is finished, comment in all SSL entries again, and restart Nginx. ''systemctl restart nginx'' Now it is easy to create some cronjob weekly to renew the certificate from Let's Encrypt automaticly.
 <code> <code>
 crontab -e crontab -e
Zeile 319: Zeile 320:
 <code> <code>
 @weekly root test -x /usr/local/bin/certbot-auto -a \! -d /run/systemd/system && perl -e 'sleep int(rand(3600))' && /usr/local/bin/certbot-auto -q renew --renew-hook "systemctl reload nginx" @weekly root test -x /usr/local/bin/certbot-auto -a \! -d /run/systemd/system && perl -e 'sleep int(rand(3600))' && /usr/local/bin/certbot-auto -q renew --renew-hook "systemctl reload nginx"
 +</code>
 +If you would like to test it you can do it with this simple command:
 +<code>
 +certbot-auto renew --dry-run
 </code> </code>