Table des matières

Odoo: Installation v17 sur Debian 12

Install

apt install gnupg2 postgresql
#pg_ctlcluster 13 main start
dpkg-reconfigure locales
dpkg-reconfigure tzdata
wget -O - https://nightly.odoo.com/odoo.key | apt-key add -
echo "deb http://nightly.odoo.com/18.0/nightly/deb/ ./" >> /etc/apt/sources.list
apt-get update && apt-get install odoo 
# apt-get install ttf-mscorefonts-installer
service odoo start

Installation wkhtmltopdf

wget wget https://github.com/wkhtmltopdf/packaging/releases/download/0.12.6.1-3/wkhtmltox_0.12.6.1-3.bookworm_amd64.deb
dpkg -i wkhtmltox_0.12.6.1-3.jammy_amd64.deb

Reverse Proxy

apt-get install apache2 a2enmod proxy proxy_http service apache2 restart a2dissite 000-default.conf nano /etc/apache2/sites-available/odoo.conf

<VirtualHost *:80>

  ServerName test.makeitsimple.be
  ServerAdmin info@makeitsimple.be
  ProxyPass / http://127.0.0.1:8069/
  ProxyPassReverse / http://127.0.0.1:8069/
  ProxyRequests Off

</VirtualHost>

a2ensite odoo.conf

</code>

Wkhtmltopdf doit peut-être être téléchargé en .deb et installé manuellement