Whether you are a developer, startup, or enterprise, this guide will help you install Odoo on Ubuntu server step-by-step with proper configuration and best practices.
📌 What is Odoo?
Odoo is an open-source ERP software that helps businesses manage CRM, sales, inventory, accounting, HR, and more—all in one platform. It is widely used across industries due to its flexibility, scalability, and modular structure.
⚙️ Prerequisites Before Installing Odoo
Before starting the installation, ensure you have:
- Ubuntu 22.04 / 20.04 server
- Minimum 2GB RAM (4GB recommended)
- Root or sudo access
- Python 3 installed
- PostgreSQL database
🛠️ Step 1: Update Your Ubuntu System
Run the following commands to update your server:
sudo apt update && sudo apt upgrade -y
🧩 Step 2: Install Required Dependencies
Install essential packages required for Odoo:
sudo apt install git python3-pip build-essential wget python3-dev python3-venv \
python3-wheel libxslt-dev libzip-dev libldap2-dev libsasl2-dev python3-setuptools \
node-less libjpeg-dev zlib1g-dev -y
🐘 Step 3: Install PostgreSQL Database
Odoo uses PostgreSQL as its database:
sudo apt install postgresql -y
Create a PostgreSQL user:
sudo -u postgres createuser -s odoo
👤 Step 4: Create Odoo System User
sudo useradd -m -d /opt/odoo -U -r -s /bin/bash odoo
📥 Step 5: Download Odoo Source Code
Switch to Odoo user:
sudo su - odoo
Clone Odoo repository:
git clone https://www.github.com/odoo/odoo --depth 1 --branch 17.0 /opt/odoo/odoo
🧪 Step 6: Create Python Virtual Environment
cd /opt/odoo
python3 -m venv venv
source venv/bin/activate
Install Python requirements:
pip3 install -r odoo/requirements.txt
⚙️ Step 7: Configure Odoo
Create config file:
sudo nano /etc/odoo.conf
Add:
[options]
admin_passwd = admin
db_user = odoo
addons_path = /opt/odoo/odoo/addons
🚀 Step 8: Start Odoo Server
/opt/odoo/venv/bin/python3 /opt/odoo/odoo/odoo-bin -c /etc/odoo.conf
Now open in browser:
http://your-server-ip:8069
🌐 Step 9: Setup NGINX & SSL (Recommended)
Install NGINX:
sudo apt install nginx -y
Configure reverse proxy and enable SSL (Let’s Encrypt recommended) for secure access.
🔒 Step 10: Enable Odoo as a Service
Create service file:
sudo nano /etc/systemd/system/odoo.service
Add configuration and enable:
sudo systemctl daemon-reexec
sudo systemctl enable odoo
sudo systemctl start odoo
🎯 Common Issues & Fixes
- Port 8069 not opening → Check firewall
- Module errors → Reinstall dependencies
- Slow performance → Optimize PostgreSQL & RAM
🚀 Why Professional Odoo Installation Matters
While manual installation is possible, businesses often face:
- Configuration errors
- Security issues
- Performance problems
That’s why many companies choose expert Odoo installation services for a smooth and secure setup.
💼 Get Expert Odoo Installation Support
If you want a fast, secure, and optimized Odoo setup on Ubuntu, our team can help with:
- Complete installation & configuration
- NGINX & SSL setup
- Performance optimization
- Odoo deployment and support
👉 https://abinfocom.com/shop/odoo-installation-on-ubuntu-563
💡 Final Thoughts
Installing Odoo on Ubuntu gives you a powerful and scalable ERP system. By following the above steps, you can successfully deploy Odoo for your business or development environment.
For production-level deployment, always ensure proper security, backup, and optimization.