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
server_und_serverdienste:installation_odoo13_auf_centos8 [2020/02/02 19:13] boospyserver_und_serverdienste:installation_odoo13_auf_centos8 [2021/03/04 14:48] (aktuell) lois
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|}}
  
 +Hauseigenes Apt-Repo: [[https://apt.iteas.at]]    [[https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=KE592Y5993ZKW|{{:wiki:btn_donatecc_lg.gif|}}]]
 +\\
 +\\
 In this tutorial, we will learn how to install and configure Odoo 13 with Nginx as a reverse proxy on CentOS 8 server with IPV4 and IPV6.  In this tutorial, we will learn how to install and configure Odoo 13 with Nginx as a reverse proxy on CentOS 8 server with IPV4 and IPV6. 
  
Zeile 57: Zeile 61:
 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 137:
 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 318:
 /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 324:
 <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>
  
Zeile 332: Zeile 341:
 In the above tutorial, you learned how to install and configure Odoo 13 on CentOS 8 server. You also learned how to configure Nginx as a reverse proxy for Odoo 13. You can now customize your Odoo 13 instance as per your business needs. In the above tutorial, you learned how to install and configure Odoo 13 on CentOS 8 server. You also learned how to configure Nginx as a reverse proxy for Odoo 13. You can now customize your Odoo 13 instance as per your business needs.
  
-===== Source =====+===== Update your Odoo over GIT ===== 
 +<code> 
 +su - odoo 
 +</code> 
 +Next, download the latest version of the Odoo 13 from the Git repository using the git command: 
 +<code> 
 +cd /opt/odoo/odoo13 
 +git pull 
 +</code> 
 +Next, create a new virtual environment for Odoo 13 instance with the following command: 
 +<code> 
 +cd /opt/odoo 
 +python3 -m venv odoo13-venv 
 +</code> 
 +Next, activate the virtual environment with the following command: 
 +<code> 
 +source odoo13-venv/bin/activate 
 +</code> 
 +You should get the following output: 
 +<code> 
 +(odoo13-venv) [odoo@centos8 ~]$ 
 +</code> 
 +Next, update all the required Python modules for Odoo 13 with the following command: 
 +<code> 
 +pip3 install -r odoo13/requirements.txt 
 +</code> 
 +Once all the required modules are updated, deactivate the virtual environment and exit from the Odoo user with the following command: 
 +<code> 
 +deactivate 
 +exit 
 +</code> 
 +And last, restart Odoo. 
 + 
 + 
 +===== Some Source ===== 
 +Some Source is from here:
 https://www.howtoforge.com/tutorial/how-to-install-odoo-erp-13-on-centos-8 https://www.howtoforge.com/tutorial/how-to-install-odoo-erp-13-on-centos-8