Odoo: Installation v17 sur Debian 12

Install 19 on Deb 13

apt install python3-asn1crypto python3-babel python3-cbor2 python3-dateutil python3-docutils python3-geoip2 python3-gevent python3-greenlet python3-libsass python3-lxml-html-clean python3-num2words python3-ofxparse python3-openpyxl python3-openssl python3-passlib python3-polib python3-psutil python3-pypdf python3-qrcode python3-reportlab python3-rjsmin python3-serial python3-stdnum python3-tz python3-usb python3-vobject python3-werkzeug python3-xlrd python3-xlsxwriter python3-zeep fonts-inconsolata fonts-font-awesome fonts-roboto-unhinted gsfonts python3-freezegun python3-magic python3-renderpm python3-ldap python3-xlwt
# Create dummy package structure mkdir -p /tmp/python3-pypdf2-dummy/DEBIAN # Create control file cat > /tmp/python3-pypdf2-dummy/DEBIAN/control << EOF Package: python3-pypdf2 Version: 1.0.0 Section: python Priority: optional Architecture: all Depends: python3-pypdf Maintainer: Local User <user@local> Description: Dummy package to satisfy python3-pypdf2 dependency This is a dummy package that depends on python3-pypdf to satisfy the python3-pypdf2 dependency for Odoo 19. EOF # Build the dummy package dpkg-deb --build /tmp/python3-pypdf2-dummy # Install the dummy package sudo dpkg -i /tmp/python3-pypdf2-dummy.deb

wget https://download.odoo.com/19.0/nightly/deb/odoo_19.0.latest_all.deb dpkg -i odoo_19.0.latest_all.deb

Install Old

apt install gnupg2 postgresql gpg #pg_ctlcluster 13 main start dpkg-reconfigure locales dpkg-reconfigure tzdata wget -O - https://nightly.odoo.com/odoo.key | gpg --dearmor -o /usr/share/keyrings/odoo-archive-keyring.gpg echo 'deb [signed-by=/usr/share/keyrings/odoo-archive-keyring.gpg] https://nightly.odoo.com/19.0/nightly/deb/ ./' | tee /etc/apt/sources.list.d/odoo.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