Odoo 19 is a modern, open-source ERP platform that integrates business applications such as Accounting, Sales, CRM, Inventory, HR, Manufacturing, and Website into a single, unified system. It is designed to be flexible, scalable, and suitable for both small businesses and large enterprises.
This installation guide provides step-by-step instructions for deploying Odoo 19 on a Linux server environment. The guide covers system preparation, dependency installation, database configuration, Odoo setup, and service management to ensure a stable and reliable installation. By following these instructions, system administrators can deploy Odoo 19 in a secure and maintainable manner, suitable for development, testing, or production use.
This document assumes basic familiarity with Linux command-line operations and server administration concepts.
Prerequisites
Before you start, make sure you have:
1. System Requirements
OS: Ubuntu 22.04 or 24.04 (recommended)
RAM: Minimum 4 GB (8 GB+ for production)
CPU: 2 vCPU+
Python: 3.10+
PostgreSQL: 14+
Access: root or sudo user
2. Update System
sudo apt update && sudo apt upgrade -y
sudo reboot
3. Create Odoo System User
On your VPS:
sudo adduser --system --home=/opt/odoo --group odoo
4. Install Dependencies
sudo apt install -y \
git wget curl unzip \
python3 python3-pip python3-venv python3-dev \
build-essential \
libxslt-dev libzip-dev libldap2-dev libsasl2-dev \
libjpeg-dev libpq-dev libffi-dev \
nodejs npm \
postgresql postgresql-contrib \
wkhtmltopdf
⚠️ If
wkhtmltopdfversion causes issues, install Odoo-recommended patched version later.
5. Configure PostgreSQL
Install required database and create database with strong password
sudo -u postgres createuser -s odoo
sudo -u postgres psql
ALTER USER odoo WITH PASSWORD 'StrongPassword';
\q
6. Download Odoo 19 Source Code
sudo su - odoo
git clone https://www.github.com/odoo/odoo --depth 1 --branch 19.0 /opt/odoo/odoo
exit
7. Create Python Virtual Environment
sudo su - odoo
python3 -m venv /opt/odoo/venv
source /opt/odoo/venv/bin/activate
pip install --upgrade pip wheel
pip install -r /opt/odoo/odoo/requirements.txt
deactivate
exit
8. Install Node.js Tools
sudo npm install -g rtlcss
9. Create Odoo Configuration File
sudo nano /etc/odoo19.conf
[options]
admin_passwd = SuperAdminPassword
db_host = False
db_port = False
db_user = odoo
db_password = False
addons_path = /opt/odoo/odoo/addons
data_dir = /opt/odoo/data
logfile = /var/log/odoo/odoo19.log
xmlrpc_port = 8069
longpolling_port = 8072
sudo mkdir -p /opt/odoo/data /var/log/odoo
sudo chown -R odoo:odoo /opt/odoo /var/log/odoo
sudo chmod 640 /etc/odoo19.conf
10. Create Systemd Service
sudo nano /etc/systemd/system/odoo19.service
[Unit]
Description=Odoo 19
After=network.target postgresql.service
[Service]
Type=simple
User=odoo
Group=odoo
ExecStart=/opt/odoo/venv/bin/python3 /opt/odoo/odoo/odoo-bin -c /etc/odoo19.conf
StandardOutput=journal+console
[Install]
WantedBy=multi-user.target
Start and add service in startup
sudo systemctl daemon-reexec
sudo systemctl daemon-reload
sudo systemctl enable odoo19
sudo systemctl start odoo19
11. Verify Installation
sudo systemctl status odoo19
Open in browser:
http://SERVER_IP:8069
Conclusion
By completing the steps outlined in this guide, Odoo 19 is now successfully installed and running on your server. The system is prepared to host business applications and can be accessed through a web browser for database creation and module configuration.
For production environments, it is strongly recommended to apply additional best practices such as enabling HTTPS with a reverse proxy (NGINX), configuring worker processes, setting up regular database backups, and implementing proper access control and monitoring. Odoo’s modular architecture allows further customization through custom addons, third-party integrations, and automation tools such as n8n.
With a properly installed and maintained Odoo 19 environment, organizations can build a reliable and scalable ERP platform tailored to their operational needs.
Install Odoo Enterprise
For installing and license contact us.

