How to Install Odoo 14 on Ubuntu 20.04 LTS

sudo apt-get install openssh-server fail2ban
sudo adduser --system --home=/opt/odoo --group odoo
sudo apt-get install -y python3-pip
sudo apt-get install python-dev python3-dev libxml2-dev libxslt1-dev zlib1g-dev libsasl2-dev libldap2-dev build-essential libssl-dev libffi-dev libmysqlclient-dev libjpeg-dev libpq-dev libjpeg8-dev liblcms2-dev libblas-dev libatlas-base-dev
sudo apt-get install -y npmsudo ln -s /usr/bin/nodejs /usr/bin/nodesudo npm install -g less less-plugin-clean-css

sudo apt-get install -y node-less
sudo apt-get install postgresql
sudo su - postgres
createuser --createdb --username postgres --no-createrole --no-superuser --pwprompt odoo14
sudo apt-get install git
sudo su - odoo -s /bin/bash
git clone https://www.github.com/odoo/odoo --depth 1 --branch 14.0 --single-branch .
sudo pip3 install -r /opt/odoo/requirements.txt
sudo wget https://github.com/wkhtmltopdf/wkhtmltopdf/releases/download/0.12.5/wkhtmltox_0.12.5-1.bionic_amd64.debsudo dpkg -i wkhtmltox_0.12.5-1.bionic_amd64.deb sudo apt install -f
sudo cp /opt/odoo/debian/odoo.conf /etc/odoo.conf
sudo nano /etc/odoo.conf
; This is the password that allows database operations: admin_passwd = admin db_host = False db_port = False db_user = odoo14 db_password = False addons_path = /opt/odoo/addons 

logfile = /var/log/odoo/odoo.log
sudo chown odoo: /etc/odoo.conf
sudo chmod 640 /etc/odoo.conf
sudo mkdir /var/log/odoo
sudo chown odoo:root /var/log/odoo
sudo nano /etc/systemd/system/odoo.service
sudo chmod 755 /etc/systemd/system/odoo.service
sudo chown root: /etc/systemd/system/odoo.service
sudo systemctl start odoo.service
sudo systemctl status odoo.service
"http://<your_domain_or_IP_address>:8069"
sudo tail -f /var/log/odoo/odoo.log
sudo systemctl enable odoo.service

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Cybrosys Technologies

Cybrosys Technologies

52 Followers

We are Odoo Gold Partners standing par excellence in Odoo implementation, customization and allied services.