How to install Odoo 14 on ubuntu 20.04
sudo apt-get update
sudo apt -y upgrade
sudo apt install git python3-pip build-essential wget python3-dev libpq-dev python3-venv python3-wheel libxslt-dev libzip-dev libldap2-dev libsasl2-dev python3-setuptools node-less
sudo useradd -m -d /opt/odoov14 -U -r -s /bin/bash odoov14
sudo apt install postgresql
sudo su - postgres -c "createuser -s odoov14"
sudo su postgres
psql
ALTER ROLE odoov14 WITH PASSWORD 'odoov14';
Press ctrl + Z to exist this and then execute exit
command to exist postgres user
sudo su odoov14
git clone https://www.github.com/odoo/odoo --depth 1 --branch 14.0 /opt/odoov14/odoo
cd /opt/odoov14/
pip3 install -r odoo/requirements.txt
nano odoo.conf
Copy and paste the code of the Configuration file and make the required changes as I explained in the video on Odoo Discussions youtube channel.
Exit odoov14
user by executing exit
command
sudo apt-get install supervisor
sudo nano /etc/supervisor/conf.d/odoov14.conf
Add the configuration parameter in the configuration file same like explained in the video on Odoo Discussions youtube channel
sudo supervisorctl update
sudo service supervisor stop
sudo service supervisor start
Now open your browser and visit http://server_ip:8014/web.
sudo supervisorctl restart odoov14