install bitnami odoo on AWS


Install pdf

sudo apt-get install libjpeg8 libpng12-0 xfonts-base xfonts-scalable
sudo dpkg -i wkhtmltox-0.12.1_linux-trusty-amd64.deb

Then copy the binaries to a your /usr/bin directory:
sudo cp /usr/local/bin/wkhtmltopdf /usr/bin/
sudo cp /usr/local/bin/wkhtmltoimage /usr/bin/

remove banner

sudo /opt/bitnami/apps/odoo/bnconfig --disable_banner 1
As final step, restart Apache server:
sudo /opt/bitnami/ restart apache

If you experiment issues with resolution, it could be related to xfonts-75dpi or xfonts-100dpi packages. You can uninstall them executing:

sudo dpkg --remove --force-depends xfonts-75dpi
sudo dpkg --remove --force-depends xfonts-100dpi


sudo dpkg -r wkhtmltox
sudo wget
sudo dpkg -i wkhtmltox-0.12.1_linux-trusty-amd64.deb

Leave a Reply

Your email address will not be published. Required fields are marked *