How to Install Odoo ERP on Your Dedicated Ubuntu Server

Leave a comment on How to Install Odoo ERP on Your Dedicated Ubuntu Server

What is Odoo ERP?

Odoo ERP (Enterprise Resource Planning) is a feature-rich, open-source business management suite designed to meet the diverse needs of companies across various industries. It provides a wide range of applications to improve efficiency, streamline processes, and manage resources effectively.

Why Choose Odoo ERP?

  • Modular Architecture
    Odoo allows businesses to select and implement only the necessary modules, making it highly customizable and scalable.
  • User-Friendly Interface
    With a modern and intuitive UI, Odoo is accessible to users of all skill levels, reducing the learning curve.
  • Open-Source & Flexible
    As an open-source platform, businesses can modify Odoo to fit their specific needs, while benefiting from a large developer community that continuously enhances it.
  • Seamless Integration
    Odoo integrates with various third-party applications like payment gateways, shipping providers, and social media platforms, creating a unified business ecosystem.
  • Cost-Effective
    The open-source version is free, with paid options available for additional features, hosting, and support.
  • Cloud & On-Premise Deployment
    Businesses can deploy Odoo either on-premise or in the cloud, depending on their infrastructure needs.

How to Install Odoo ERP on Ubuntu

Step 1: Update System Packages

First, update the system to ensure all packages are up to date:

sudo apt update
sudo apt upgrade -y

Step 2: Create an Odoo User

For security, create a dedicated system user for Odoo:

sudo adduser --system --home=/opt/odoo --group odoo

Step 3: Install PostgreSQL & Configure

Odoo requires PostgreSQL as its database system. Install it using:

sudo apt install postgresql -y

After installation, create an Odoo database user:

sudo su - postgres -c "createuser -s odoo"

Step 4: Install Dependencies

Install Python and all required dependencies:

sudo apt-get install build-essential python3-dev wget libxml2-dev libxslt1-dev zlib1g-dev libsasl2-dev libldap2-dev build-essential libssl-dev libffi-dev libmysqlclient-dev libjpeg-dev libpq-dev libjpeg8-dev liblcms2-dev libblas-dev libatlas-base-dev -y

Step 5: Install Wkhtmltopdf

Wkhtmltopdf is required for printing PDF reports in Odoo:

sudo apt install wkhtmltopdf -y

Step 6: Install Odoo

Clone the Odoo source code and install it:

  1. Switch to the odoo user: sudo su - odoo
  2. Clone Odoo’s latest version (17.0): git clone https://www.github.com/odoo/odoo --depth 1 --branch 17.0 --single-branch .
  3. Install required Python packages: sudo pip3 install -r /opt/odoo/requirements.txt

Step 7: Create Configuration File

Create a configuration file for Odoo:

sudo vi /etc/odoo17.conf

Add the following content:

[options]
admin_passwd = admin
db_host = False
db_port = False
db_user = odoo
db_password = False
addons_path = /opt/odoo/addons
logfile = /var/log/odoo/odoo.log

Step 8: Create a Systemd Service

To ensure Odoo runs as a system service, create a service file:

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

Add the following content:

[Unit]
Description=Odoo
Documentation=http://www.odoo.com

[Service]
Type=simple
User=odoo
ExecStart=/opt/odoo/odoo-bin -c /etc/odoo17.conf

[Install]
WantedBy=default.target

Step 9: Start & Enable Odoo Service

Start Odoo and enable it to launch at boot:

sudo systemctl start odoo
sudo systemctl enable odoo

Check if Odoo is running properly:

sudo systemctl status odoo

Step 10: Access Odoo

Once installation is complete, open your browser and navigate to:

http://your_server_ip:8069

You should see the Odoo login page, confirming a successful installation.

Conclusion

Installing Odoo ERP on an Ubuntu server is a straightforward process that unlocks powerful business management tools for companies of all sizes. By following this guide, you can:

✅ Set up Odoo ERP effectively
✅ Customize it to fit your business requirements
✅ Streamline business operations with its modular features

Whether you’re a startup or an established enterprise, Odoo offers a scalable and versatile solution to optimize and unify business processes under a single platform. With its intuitive UI, extensive feature set, and active community support, Odoo remains a top choice for businesses seeking an all-in-one ERP system.

Server Hosting Solutions by RackNerd:

Shared Hosting
cPanel Web Hosting in US, Europe, and Asia datacenters
Logo
Reseller Hosting
Create your new income stream today with a reseller account
Logo
VPS (Virtual Private Server)
Fast and Affordable VPS services - Instantly Deployed
Logo
Dedicated Servers
Bare-metal servers, ideal for the performance-demanding use case.
Logo

Leave a comment

Your email address will not be published. Required fields are marked *