HomeBlog
Knowledge Base

Tutorial: How to install Odoo 19 on a Hostarts VPS (installation + best practices)

admin · 1 February 2026

Tutorial: How to install Odoo 19 on a Hostarts VPS (installation + best practices)

Introduction

Odoo is a flexible ERP/CRM suite that brings together several business modules (sales, invoicing, inventory, human resources, etc.). An on-premise installation on a Linux server (Ubuntu/Debian) lets you keep control of your data, optimize performance and configure Odoo to fit your business needs.

In this guide, we explain step by step how to install Odoo 19.x on a Hostarts VPS, while following the best practices of the official documentation. (Odoo)

Why choose a Hostarts VPS for Odoo

Installing Odoo requires full administrator access, a local database and the ability to install system services.

A VPS (Virtual Private Server) is therefore the best choice to guarantee:

At Hostarts, servers are 100% hosted in Algeria, with responsive local support and flexible backup options. This makes installing, maintaining and putting Odoo into production particularly stable and reliable.

Step 1: Update the VPS

Connect to your Hostarts VPS via SSH, then run:

sudo apt update && sudo apt upgrade -y

This command updates the system packages before the dependencies are installed.

Step 2: Install PostgreSQL

Odoo requires PostgreSQL as its database system.

Install it on the VPS:

sudo apt install postgresql -y

This step is essential before installing Odoo. (Odoo)

Step 3: Add the official Odoo repository

The official documentation provides a repository for the version 19 Community edition.

Run the following commands to add it:

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/19.0/nightly/deb/ ./" | sudo tee /etc/apt/sources.list.d/odoo.list
sudo apt update

Then install the Odoo package:

sudo apt install odoo -y

The Debian package includes all the dependencies needed to run Odoo 19, including integration with PostgreSQL. (Odoo)

Step 4: Install wkhtmltopdf (optional but recommended)

To generate PDF files (invoices, reports) correctly, Odoo requires a manual installation of wkhtmltopdf 0.12.6.

The documentation specifies that this component is not installed via pip and must be installed separately to ensure that headers and footers display correctly in PDF documents. (Odoo)

Step 5: Configure Odoo on the VPS

The Odoo package automatically creates a system service.

The configuration file is usually located at:

/etc/odoo/odoo.conf

Check or modify the following settings:

[options]
admin_passwd = <mot_de_passe_maitre>
db_host = False
db_port = False
db_user = odoo
db_password =

Step 6: Start and check the service

The Odoo service is normally enabled automatically after installation:

sudo systemctl enable odoo
sudo systemctl start odoo
sudo systemctl status odoo

If you have trouble starting it, we recommend checking the system logs with

journalctl -u odoo

and verifying the network configuration or the database.

Step 7: Access Odoo from a browser

Once the server is up and running, go to the following URL:

http://<IP_VPS>:8069

Replace

<IP_VPS>

with the IP address of your Hostarts VPS.

The Odoo database creation page then appears, letting you define:

Best practices for a production installation

To ensure a stable and secure installation, it is recommended to:

Why a Hostarts VPS is ideal for Odoo

Choosing a Hostarts VPS to host Odoo gives you:

Conclusion

Installing Odoo 19 on a VPS is a high-performance solution for professional use.

By relying on the official packages recommended by Odoo, you can have a robust instance that is kept up to date automatically through the Linux package manager.

With a Hostarts VPS, local performance, quality support and freedom of configuration come together to effectively support ERP projects.