Odoo is a suite of business applications that includes CRM, accounting, e-commerce, inventory management, and more. This guide explains how to install Odoo 17 on an Ubuntu system.
Before proceeding with the installation, ensure you have the following:
Odoo requires PostgreSQL as its database backend. Follow these steps to install PostgreSQL:
sudo apt update
sudo apt install postgresql
Verify the PostgreSQL service status:
sudo systemctl status postgresql
sudo systemctl is-enabled postgresql
Odoo uses Wkhtmltopdf to generate PDF reports. Install it as follows:
Download the appropriate version:
wget https://github.com/wkhtmltopdf/packaging/releases/download/0.12.6.1-2/wkhtmltox_0.12.6.1-2.jammy_amd64.deb
Install the package:
sudo dpkg -i wkhtmltox_0.12.6.1-2.jammy_amd64.deb
sudo apt install -f
Test the installation:
which wkhtmltopdf
which wkhtmltoimage
Output should include paths to binary files of the installed packages such as /usr/local/bin/wkhtmltoimage
To install Odoo, follow these steps:
Add the Odoo repository:
wget -q -O - https://nightly.odoo.com/odoo.key | sudo gpg --dearmor -o /usr/share/keyrings/odoo-archive-keyring.gpg
echo 'deb [signed-by=/usr/share/keyrings/odoo-archive-keyring.gpg] https://nightly.odoo.com/17.0/nightly/deb/ ./' | sudo tee /etc/apt/sources.list.d/odoo.list
Update the package list and install Odoo and its dependencies:
sudo apt-get update
sudo apt install git wget python3 python3-pip postgresql build-essential wkhtmltopdf python3-dev python3-venv python3-wheel libxslt-dev libpq-dev libzip-dev libldap2-dev libsasl2-dev python3-setuptools node-less libjpeg-dev gdebi
sudo apt-get install odoo
Start and enable the Odoo service:
sudo systemctl start odoo
sudo systemctl is-enabled odoo
Verify if Odoo is listening using:
sudo netstat -tpln
Open a web browser and navigate to one of the following addresses:
http://SERVER-IP-Address:8069
OR
http://Server-hostname:8069
Wait for the interface to load, then create a database for Odoo. Enter a database name, administrator email address, and password. Select the language and country. Optionally, load sample data. Then click Create Database.
After creating the database, the page will redirect to the administrator’s dashboard, showing the available Odoo apps. You can install or upgrade apps by clicking on the respective buttons. To log out, click on Admin dropdown => Log out.
If you have a firewall enabled, allow traffic on port 8069:
sudo ufw allow 8069
sudo ufw reload
Odoo logs can be found at:
/var/log/odoo/odoo.log
You can monitor the logs using:
tail -f /var/log/odoo/odoo.log
If it is required to configure with certificate and domain name, please add the following node’s IP with port(http://172.21.x.x:8069) in the backend section of existing Load balancer configuration.
Odoo Test node: http://172.21.1.206:8069 Odoo Admin node: http://172.21.2.92:8069
Host: 172.21.2.92
doo webserver: 172.21.1.206:8069
Odoo Admin logins:
Username: venkat.kowru@sayukth.com
Password: 1!Devops@dmin
odoo database master password: 7hdh-g5uj-ftk9
Database New password: 1!Devops@dmin
Database name: odoodb
Phone number: 9494404057
Multi user Creds:
Username: shayamkumar.jada@sayukth.com
Password: shyamkumar
In Odoo, the number of users you can create depends on the edition and license:
Odoo Community Edition:
You can create unlimited users without any restrictions. However, advanced access control and some enterprise features are limited.
Navigate to Apps > settings > Manage Users > New-user
While Creating the user, we select the access type in Adminstration block.
If the user created with Settings previlages, then the user will be created with Adminstrative access.
If the user created with No privilages(living blank), then the user will be created with limited prvilages, as he can only view the assigned appls and compnaies.
If the user creaed with Access Rights , the user will have only privilages to configure users na companies.
The Companies module in Odoo allows businesses to manage multiple companies within a single Odoo instance. This feature is essential for organizations that operate multiple legal entities, subsidiaries, or branches.
Modules | Admin-User | Non-Admin-user |
---|---|---|
Data 1 | Data 2 | |
Row 2 | Data 3 | Data 4 |