Install Odoo - Open Source Business Application Suite - on Linux @i12bretro
Install Odoo - Open Source Business Application Suite - on Linux  @i12bretro
Uploaded June 2024 | Updated November 2026, 1 day ago
#Odoo #Python #Linux

Full steps can be found at i12bretro.github.io/tutorials/0924.html

--------------------------------------------------------------------
What is Odoo?
--------------------------------------------------------------------
Odoo is a suite of web based open source business apps. The main Odoo Apps include an Open Source CRM, Website Builder, eCommerce, Warehouse Management, Project Management, Billing & Accounting, Point of Sale, Human Resources, Marketing, Manufacturing. Odoo Apps can be used as stand-alone applications, but they also integrate seamlessly so you get a full-featured Open Source ERP when you install several Apps. -  github.com/odoo/odoo
 
--------------------------------------------------------------------
Installation
--------------------------------------------------------------------
   01. Log into the Linux device
   02. Run the following commands in terminal
         # update software repositories
         sudo apt update
         # install available software updates
         sudo apt upgrade
         # install prerequisites
         sudo apt install wget git apt-transport-https -y
         # install postgresql
         sudo apt install postgresql postgresql-client -y
         # enable the postgresql service and start it
         sudo systemctl enable postgresql --now
         # connect to postgresql
         sudo -u postgres psql postgres
         # create odoo database user
         create user odoo_rw with password '0dooDB_rw$';
         # create odoo database
         create database odoo with encoding='UTF8' template='template0' owner='odoo_rw';
         # close postgresql connection
         exit
         # install python
         sudo apt install python3-full python3-pip libldap2-dev libpq-dev libsasl2-dev -y
         # create odoo user
         sudo useradd -M odoo
         # create /opt/odoo directory
         sudo mkdir /opt/odoo -p
         # set owner of /opt/odoo
         sudo chown odoo /opt/odoo -R && sudo chgrp odoo /opt/odoo -R && sudo usermod -d /opt/odoo odoo
         # switch to odoo user
         sudo su - odoo
         # clone odoo from github
         git clone github.com/odoo/odoo.git .
         # prepare the working directory
         python3 -m venv odoo-venv
         . odoo-venv/bin/activate
         # install wheel
         pip3 install wheel
         # install odoo
         pip install -r requirements.txt
         # create a config file
         touch ./odoo.conf
         # write database config to config file
         echo "[options]\ndb_user = odoo_rw\ndb_password = 0dooDB_rw$\ndb_name = odoo\ndb_host = localhost" ≫ ./odoo.conf
         # run odoo
         ./odoo-bin --config ./odoo.conf -i base
   03. Open a web browser and navigate to http://DNSorIP:8069
   04. Login with the username admin and password admin
   05. Click the user icon at the top right corner of the screen ≫ Preferences
   06. Update the Email and Email Signature ≫ Click Save
   07. Click the Account Security tab ≫ Click the Change Password button
   08. Enter admin as the current password ≫ Click Confirm Password
   09. Enter and confirm a new password ≫ Click Change Password
   10. Login using the updated email address and password
   11. Welcome to Odoo
 
--------------------------------------------------------------------
Running Odoo as a Service
--------------------------------------------------------------------
   01. Back in the Terminal, press CTRL+C to kill the running Odoo process
   02. Continue with the following commands in terminal
         # exit the odoo user shell
         exit
         # create odoo service file
         sudo nano /etc/systemd/system/odoo.service
   03. Paste the following into odoo.service
         [Unit]
         Description=Odoo
         Requires=postgresql.service
         After=network.target postgresql.service
         [Service]
         User=odoo
         Group=odoo
         ExecStart=/opt/odoo/odoo-venv/bin/python3 /opt/odoo/odoo-bin -c /opt/odoo/odoo.conf
         [Install]
         WantedBy=multi-user.target
   04. Press CTRL+O, Enter, CTRL+X to write the changes
   05. Continue with the following commands
         # reload systemd services
         sudo systemctl daemon-reload
         # start odoo service on boot and now
         sudo systemctl enable odoo --now
   06. Back in the web browser, refresh the Odoo tab
   07. If prompted, log back in using the updated email address and password
 
Source:  odoo.com/documentation/17.0/administration/on_premise/source.html
 


### Connect with me and others ###
★ Discord: discord.com/invite/EzenvmSHW8
★ Reddit: reddit.com/r/i12bretro
★ Twitter: twitter.com/i12bretro
Install Odoo - Open Source Business Application Suite - on LinuxMonitor Websites, Servers and Other Network Service Uptime with PHP Server MonitorRunning Shinobi CCTV in DockerRunning Homepage Application Dashboard on WindowsRunning an Amazon Linux (AL2) VM in ProxmoxInstall Group Office Collaboration Suite on LinuxRunning a Debian 12 Bookworm VM in Proxmox VERunning Homer Application Dashboard in DockerSetup GoAccess Web Log Analyzer on LinuxRunning Passbolt in Docker on Ubuntu ServerHow Far Has the Raspberry Pi Come - Pi 1 Model B vs Pi 5Installing Ajenti Web Administration Panel
i12bretro |

Install Odoo - Open Source Business Application Suite - on Linux

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER