A quick guide for Odoo 16 download and installation on Ubuntu server with complete steps helps you to install community edition or enterprise edition. Odoo ERP 16 version has been launched recently with new functions. Since its a is a web-based suite of open-source business management applications. The platform includes various business solutions, such as CRM, warehouse management, accounting, billing, website building, etc.
Odoo Community edition is available for free with limited features, but one can easily switch to the Enterprise edition as needed. The main benefit you get by installing Odoo version 16 is that you can easily understand the functions available and can compare the older version to finalize with your Odoo project. Further by Odoo download and installation guide you can also decide on migration to the latest version.
Odoo 16 comes This tutorial provides steps on installing Odoo 16 on Ubuntu 22.04 in a Python virtual environment.
After meeting all the prerequisites, follow the steps below to install Odoo 16 on Ubuntu in a Python virtual environment.
Installing Odoo 16 in a virtual environment creates an isolated system and allows the testing of different versions on the same machine.
Open the terminal and update the apt repository:
sudo apt update
Wait for the update to finish before proceeding to the next step.
Install Odoo dependencies with the following command:
sudo apt install -y build-essential wget python3-dev python3-venv python3-wheel libfreetype6-dev libxml2-dev libzip-dev libldap2-dev libsasl2-dev python3-setuptools node-less libjpeg-dev zlib1g-dev libpq-dev libxslt1-dev libldap2-dev libtiff5-dev libjpeg8-dev libopenjp2-7-dev liblcms2-dev libwebp-dev libharfbuzz-dev libfribidi-dev libxcb1-dev
Make sure there are no typos to avoid missing packages.
The installation fetches all additional dependencies necessary for Odoo installation.
Running Odoo as a root user poses a security risk. Create a new system user, group, and home directory named Odoo:
sudo useradd -m -d /opt/odoo -U -r -s /bin/bash odoo
The username can be different if it matches the PostgreSQL user and the configuration file information.
Odoo uses PostgreSQL as the database. Install PostgreSQL from the official Ubuntu repositories with:
sudo apt install postgresql
Press Y when prompted to continue. Once the installation finishes, create a Postgres user with the same name from the previous step:
sudo su - postgres -c "createuser -s odoo"
The command creates a user named odoo to manage the database.
The wkhtmltopdf set of open source tools helps render HTML pages into PDFs and images for generating reports in various formats.
To download the installer, run:
sudo wget https://github.com/wkhtmltopdf/wkhtmltopdf/releases/download/0.12.5/wkhtmltox_0.12.5-1.bionic_amd64.deb
The command fetches the Debian package. To install the package, run:
sudo apt install ./wkhtmltox_0.12.5-1.bionic_amd64.deb
Press Y when asked to continue the installation. Wait for the process to complete before continuing.
To install Odoo, follow the steps below:
sudo su - odoo
git clone https://www.github.com/odoo/odoo --depth 1 --branch 16.0 /opt/odoo16/odoo
python3 -m venv odoo-venv
The environment name shows in the terminal before the user.
pip3 install wheel
pip3 install -r odoo/requirements.txt
Wait for the installation to complete.
This directory defines where Odoo searches for modules.
sudo nano /etc/odoo.conf
Paste the following contents into the odoo.conf file:
; Database operations password:
admin_passwd = PASSWORD
db_host = False
db_port = False
db_user = odoo
db_password = False
addons_path = /opt/odoo/odoo/addons,/opt/odoo/odoo-custom-addons
Change the admin_password field to a secure password for the database. The addons_path field contains the paths to Odoo module locations. Save and close the file.
sudo nano /etc/systemd/system/odoo.service
Paste the following contents into the file:
ExecStart=/opt/odoo/odoo-venv/bin/python3 /opt/odoo/odoo/odoo-bin -c /etc/odoo.conf
The service connects to Odoo through the Python virtual environment and uses the configuration file from the previous step. Save the changes and close the file.
sudo systemctl daemon-reload
The Odoo service is now available.
To start and test Odoo, do the following:
sudo systemctl enable --now odoo
sudo systemctl status odoo
The status shows as active (running).
sudo journalctl -u odoo
Use this file to check for any potential errors.
The page shows the Odoo initial setup. Use the admin_password from the /etc/odoo.conf file as the master password.
Odoo works in multithreading mode by default. Change the server to the multiprocessing mode before deployment to better use system resources and ensure stability.
The number of CPUs helps approximate the number of workers:
Therefore, a system with 4 CPUs and 24 concurrent users needs at least six workers, plus an additional cron worker.
The number of workers and RAM distribution determine the total RAM Odoo needs:
If there are around 80% light workers that use 100GB RAM and 20% heavy workers that use 1GB RAM, the calculation is:
Total RAM = 7 * ((100*0.8)+(1024*0.2)) = 1993.6
Odoo requires a total of 2GB RAM. Add the information to the /etc/odoo.conf file:
limit_memory_hard = 2684354560
limit_memory_soft = 2147483648
limit_request = 8192
limit_time_cpu = 600
limit_time_real = 1200
max_cron_threads = 1
workers = 6
To apply the changes, restart the Odoo service:
sudo systemctl restart odoo
The remaining system resources are available for the PostgreSQL database and any other services running on the system.
By default, Odoo listens on port 8069. Changing the default port number is a good security practice.
Add the following lines to the /etc/odoo.conf file to have Odoo listen only on 127.0.0.1 port 1111:
xmlrpc_interface = 127.0.0.1
netrpc_interface = 127.0.0.1
xmlrpc_port = 1111
Restart the Odoo service to apply the changes:
sudo systemctl restart odoo
The changes apply immediately.
After following the steps in this guide, you should have Odoo 16 on installed Ubuntu. The system is in a Python virtual environment, making it easy to test multiple versions before deploying.
Odoo 16 Provides you with various functionalities compare to the older version of Odoo ERP software one of the major reason through which the Odoo 16 official release initiated was “Speed” This latest version is very fast and you don’t need to await for loading screen. In the next blog post we will be covering Odoo functionalites that are newly added in this latest version of the software. Odoo is one of the largest selling ERP software that offers a Paid and Community version to its user. Implementing any ERP software is time consuming and require very powerful planning – Since Odoo is Modular in nature – there are more than 10K + modules you can choose from to implement in your business processes.
Globalteckz – Certified Odoo team and Official Odoo Partners
Globalteckz is one of the leading Odoo Partners and has been working and partnered with Odoo since 2013 and has contributed more than 100+ apps for various industries. Our team ensure best implementation method in order to make each project successful. We have already inititated 2 Projects for Odoo 16 development for a furniture based company in Mumbai and a Plastic Manufacturing Unit based in outskirts of Mumbai with a huge factory. Some of our services for Odoo include Implementation, development, customization, training & Odoo support. Our team experience in delivering excellent projects with extreme level module customizations and integration with 3rd party apps.
We have experience working on older version starting from version 6 till the latest version 16 – Till date we have implemented more than 150+ Odoo projects for our clients across the globe ranging from small to large Odoo implementations handling verticals such as Manufacturing, Trading, e-commerce, medical, and other industry-specific modules development. Last year our team worked on 45+ version 15 Implementations ranging from SME to large projects.
Based on our experience with Odoo development we have crafted a proven 10 steps Process for implementing Odoo ERP at a 100% successful rate.
Odoo implementation methodology
We Follow Agile development method preferable as well as waterfall software development method based on the project criticality to ensure smooth phases are rolled out.
A Note On Various Odoo version
Various versions of Odoo available such as Community, Enterprise Edition which further provides you with options to install odoo on your own premises (own server), Odoo.sh & Online to suit small to mid-sized companies’ needs. Odoo Implementation & Odoo Development helps you to enhance your business processes and productivity of your Organisation.
Odoo 16 offers you with various extra functions compared to the older version of Odoo which released in prior years. Odoo 16 installation helps you with many benefits which we have covered in the following blog post. Odoo ERP is one of the largest selling ERP software that offers a Paid and Community version to its user. Implementing Odoo ERP software is quick to compare to other software available in the market. Odoo being a web-based ERP helps organizations with powerful module capabilities that one could look into ERP software.
Globalteckz is working with odoo ERP software since 2013 and has contributed more than 100+ apps for various industries. At Globalteckz we offer our clients the best ERP implementation and e-commerce solution. Some of our services for Odoo include Implementation, development, customization, training & Odoo support. Our team experience in delivering excellent projects with extreme level module customizations and integration with 3rd party apps.
We have experience working on older version starting from version 6 till the latest version 16 – Till date we have implemented more than 100+ Odoo projects for our clients across the globe ranging from small to large Odoo implementations handling verticals such as Manufacturing, Trading, e-commerce, medical, and other industry-specific modules development.
Based on our experience with Odoo development we have crafted a simple 10 steps Process for implementing Odoo ERP at a 100% successful rate.
We Follow Agile development method preferrable as well as waterfall software development method based on the project criticality to ensure smooth phases are rolled out.
Read more articles related to Odoo ERP Software: