Odoo Installation on Windows and Ubuntu

Odoo is a powerful open-source ERP system used by businesses worldwide for streamlining operations, from accounting and inventory to CRM and HR. As more companies embrace digital transformation, having a well-executed Odoo installation becomes crucial for success. Whether you're a developer setting up a test environment or a business owner preparing for full deployment, this guide will walk you through the Odoo installation process on both Windows and Ubuntu systems, tailored specifically to Australian users.

Why Odoo?

Before we delve into the technical details, it's worth understanding why Odoo has become such a popular platform for enterprise management. Odoo offers:

  • A modular architecture allowing businesses to pick and choose functionalities.
  • User-friendly interface with real-time dashboards.
  • Integrated apps for various departments.
  • Open-source flexibility with an active global community.
  • Options for both Community (free) and Enterprise (premium) versions.

Given these advantages, it's no surprise that the demand for a reliable Odoo installation guide is steadily increasing.


System Requirements for Odoo Installation

Regardless of whether you're using Windows or Ubuntu, the basic requirements for an Odoo installation include:

  • Python 3.8 or higher
  • PostgreSQL 14 or higher
  • Node.js and npm
  • wkhtmltopdf (with patched Qt for PDF rendering)
  • Git (for source installations)

Having a system that meets these prerequisites ensures a smooth Odoo installation experience.


Odoo Installation on Windows

Installing Odoo on Windows is relatively straightforward, particularly for testing or small-scale use.

Step 1: Download Odoo

Visit the official Odoo website and download the latest version of Odoo for Windows. This installer includes all necessary dependencies, simplifying the installation process.

Step 2: Install PostgreSQL

Although the all-in-one installer often includes PostgreSQL, it's recommended to install the latest stable version manually to avoid version conflicts. During installation, set a password you'll remember, as Odoo will need access to this database.

Step 3: Configure Odoo

Once installed, navigate to the Odoo configuration file (odoo.conf). Set parameters like db_host, db_port, db_user, and db_password. You can also specify add-on paths for custom modules.

Step 4: Run Odoo

After saving your configuration, start the Odoo service from the Windows Services menu or use the command prompt:

cd C:\Program Files (x86)\Odoo <version>
odoo-bin

Now, open a browser and go to http://localhost:8069 to access your Odoo interface.


Odoo Installation on Ubuntu

Ubuntu is often the preferred environment for Odoo installation, especially for production use, due to better compatibility with Linux-based servers.

Step 1: Update Your System

sudo apt update && sudo apt upgrade -y


Step 2: Install Dependencies

sudo apt install git python3-pip build-essential wget python3-dev python3-venv libxslt-dev libzip-dev libldap2-dev libsasl2-dev python3-setuptools node-less libjpeg-dev libpq-dev -y


Step 3: Install and Configure PostgreSQL

sudo apt install postgresql -y
sudo -u postgres createuser --superuser odoo
sudo -u postgres createdb odoo


Step 4: Install wkhtmltopdf

For PDF reports to work correctly, install the proper version:

wget https://github.com/wkhtmltopdf/wkhtmltopdf/releases/download/0.12.6/wkhtmltox_0.12.6-1.focal_amd64.deb
sudo apt install ./wkhtmltox_0.12.6-1.focal_amd64.deb


Step 5: Install Odoo From GitHub

cd /opt/
sudo git clone https://www.github.com/odoo/odoo --depth 1 --branch 17.0 --single-branch odoo
cd odoo
python3 -m venv venv
source venv/bin/activate
pip install -r requirements.txt


Step 6: Configure Odoo

Create a configuration file:

sudo nano /etc/odoo.conf

Add the following content:

[options]
; This is the password that allows database operations:
admin_passwd = admin
addons_path = /opt/odoo/addons
logfile = /var/log/odoo/odoo.log
db_host = False
db_port = False
db_user = odoo
db_password = False


Step 7: Create a Service File

sudo nano /etc/systemd/system/odoo.service

Paste the following:

[Unit]
Description=Odoo
Requires=postgresql.service
After=network.target postgresql.service

[Service]
Type=simple
SyslogIdentifier=odoo
PermissionsStartOnly=true
User=odoo
Group=odoo
ExecStart=/opt/odoo/venv/bin/python3 /opt/odoo/odoo-bin -c /etc/odoo.conf
StandardOutput=journal+console

[Install]
WantedBy=multi-user.target

Reload and enable the service:

sudo systemctl daemon-reexec
sudo systemctl enable --now odoo

Access Odoo via your browser at http://your-server-ip:8069


Common Odoo Installation Issues

Even with a smooth setup, users can face some common issues:

  • Port Conflicts: Ensure no other service is using port 8069.
  • Database Access Errors: Double-check PostgreSQL credentials.
  • Missing Dependencies: Revisit the list of required Python and system packages.
  • wkhtmltopdf Problems: Ensure the version is compatible with your OS.

Troubleshooting these effectively will ensure your Odoo installation stays stable and efficient.


Final Notes: Choosing the Right Odoo Partner in Australia

While Odoo is open-source and encourages DIY setups, many businesses prefer to work with certified partners to save time and avoid mistakes.

If you’re based in Australia, one reliable option is Moonsun.au. As an experienced Odoo partner in Australia, Moonsun.au offers:

  • Professional Odoo installation and hosting.
  • Custom module development.
  • Onboarding and training for your team.
  • Ongoing support and maintenance.

Their expertise ensures your Odoo system is set up for long-term success, whether you’re in Sydney, Melbourne, Brisbane, or anywhere else in the country.


Conclusion

A proper Odoo installation is the first step toward an efficient, integrated business system. Whether you choose to install Odoo on Windows for quick testing or set it up on Ubuntu for production, following the right process makes all the difference.

And if you’re seeking help with your Odoo journey in Australia, consider Moonsun.au as your go-to Odoo partner. They bring the local knowledge and technical expertise that can turn a good system into a great one.


Odoo Installation on Windows and Ubuntu
SEO Team April 20, 2025
Share this post
Tags
Archive
Odoo 19 Community vs Enterprise