Key Steps:
- add-apt-repository universe; apt update & upgrade
- create odoo system user
- create postgresql system user
- apt install postgresql
- create user in postgresql, i.e. odoo
- install basic software
- python 3+ with required packages : nodejs, npm, build-essential, etc
- using apt install better, werkzeug=1.0.1, PyPDF2, reportlab
- using apt install python3-werkzeug better as it’ll install dependencies
- using the requirements.txt inside the Odoo distribution for install packages
- after Odoo 13, nano requirements.txt add psycopg2-binary==2.8.6
- pip install -r requirements.txt
- in particular, wkhtmltox via git clone deb and apt have it instal
- create directories for odoo
- installation root e.g. /opt/odoo
- var/log
- git clone odoo branch 14
- touch /etc/odoo.conf
- cd /opt/odoo/odoo-server; ./odoo-bin -c /etc/odoo.conf
- using browser connecting to :8069 as trial
- give password
- create the first database & login
- make start odoo as service
- setup nginx as reverse proxy and hide port 8069 from url
Source:
Install Odoo 14 | Installation of Odoo 14 On Ubuntu
https://techtutorguro.com/how-to-install-odoo-12-on-ubuntu-20-04/