---
title: "How to install Odoo 20 on a mini PC: a step-by-step guide"
description: Install Odoo 20 Community on an 8 GB mini PC with Ubuntu Server,
  Docker Compose, PostgreSQL and HTTPS to explore an ERP on a local network.
author:
  name: Walter Jerusalinsky
  title: AI strategy and implementation
  url: https://www.linkedin.com/in/walter-jerusalinsky/
date: 2026-12-03
canonical: https://www.idoneos.com/en/app/odoo-20-minipc/
image: resources/opengraph.png
source: app/odoo-20-minipc/index.md
---

# How to install Odoo 20 on a mini PC: a step-by-step guide

<p class="article-byline">By <a href="https://www.linkedin.com/in/walter-jerusalinsky/">Walter Jerusalinsky</a> · AI strategy and implementation</p>

<figure class="editorial-figure">
  <img src="resources/portada.webp" width="1536" height="1024" fetchpriority="high" alt="Illustration of a dedicated mini PC connected to two work computers over a local network.">
  <figcaption>A single Odoo installation allows people to work from different computers. Conceptual illustration by Idoneos depicting an ASUS PN41.</figcaption>
</figure>

Where does an AI agent obtain the information it needs to do its work? Consider a company that receives a request for a quotation by email. To prepare a response, it needs to know who the customer is, which products they are requesting, their prices, stock availability, and perhaps the commercial terms agreed upon previously.

We can entrust an agent with interpreting the request and preparing a proposal. But it needs to find reliable information and deliver the result in a system where the people in the company can review it, approve it and continue the work.

**A business management system and an AI agent perform complementary functions.** The former stores and organizes information and records business operations. The latter can interpret requests, retrieve data, relate information, prepare decisions or perform authorized actions. There is no point in having an agent invent a price or confirm a delivery without consulting the appropriate sources.

At [Idoneos](https://www.idoneos.com/en/), we help professionals and small and medium-sized businesses adopt AI and automation, from identifying an opportunity to integrating it into day-to-day work. This is why we are interested in Odoo, a suite of business management applications that share a common information base: from tracking sales opportunities and managing sales to purchasing, inventory and invoicing, depending on the edition and installed modules.

Having that system makes it easier to integrate agents into actual operations. Returning to our example, an agent can retrieve product and customer information through the available integration interfaces, prepare a draft quotation and request a person's approval before sending it. The company not only gets a response prepared more quickly: it can continue the sales process and keep a record of what was done.

<figure class="editorial-figure chalkboard-figure">
  <img src="resources/odoo-y-agente.svg" width="800" height="800" alt="An agent interprets a request, consults Odoo and prepares a quotation for a person to review and approve.">
  <figcaption>Example of an integration to be developed: Odoo provides the data; the agent prepares the draft; a person decides whether to send it. <a class="diagram-expand" href="resources/odoo-y-agente.svg">Enlarge illustration</a>.</figcaption>
</figure>

So how can we explore these possibilities and applications? One option is to <a href="https://www.odoo.com/r/LYAG" rel="sponsored">start a free trial on the Odoo website</a>; another is to install Odoo on a local computer.

I installed Odoo 20 on an ASUS PN41 mini PC with 8 GB of memory. The purpose of this guide is to reproduce that experience as a local environment for learning and experimentation, accessible from other computers on the network. We will use Ubuntu Server, Docker Compose, PostgreSQL and Nginx. The scripts and configuration files are available in a [GitHub repository](https://github.com/nearServices/odoo-minipc).

## 1. The different ways to use Odoo

It is worth distinguishing the software edition from where and how we run it.

Odoo Community is the open-source edition; Odoo Enterprise includes additional applications and features subject to a commercial license. The available applications and integration options depend on the edition and subscription plan.

In either case, we need somewhere to run Odoo and store its information. These are the main alternatives:

<div class="overflow-auto" role="region" aria-label="Odoo hosting options" tabindex="0">

| Option | What we get | What we need to manage |
| --- | --- | --- |
| **Odoo Online** | A SaaS service hosted by Odoo and accessed through a browser. | Configure the company and its applications. Odoo manages hosting and infrastructure; installing custom code modules is restricted. |
| **Odoo.sh** | Odoo's cloud platform for projects involving custom development or modules. | Applications, code and project configuration; the platform manages much of the infrastructure and provides testing environments. |
| **Self-managed cloud server (VPS)** | A self-managed installation on rented infrastructure. | Operating system, Odoo, database, security, updates and backups. |
| **Self-managed server on the local network** | An installation running on a company-owned computer and accessed over the LAN. | The same management responsibilities, plus the physical computer, its power supply and network. |

</div>

The last two are variants of self-managed hosting, known as *on-premise* in Odoo's terminology. We can run Community and, with the appropriate license, Enterprise. The current commercial options and terms are available in the [official comparison of hosting types](https://www.odoo.com/page/hosting-types).

In this guide we will install **Odoo 20 Community**, not Enterprise.

## 2. Why use a mini PC as a local server?

It is possible to set up Odoo on the computer we use for work. The drawback is that the system would become unavailable every time we turned it off. It would also compete for memory, processing power and disk space with the other applications we use.

A dedicated mini PC offers a simple solution. We install the software once and access it through the browsers on our usual work computers. None of those computers has to become a server or have Odoo installed on it.

A small computer with an SSD and sufficient memory allows us to:

- Learn to use Odoo applications and experiment with different configurations and demonstration data.
- Test modules and integrations available in Community without affecting a production system.
- Share the installation with a small group of people and observe how an entire work process unfolds.
- Keep the database and files on the local computer, without relying on the Internet for Odoo operations that do not require external services.

That last point does not mean the information is automatically protected. Responsibility for backups, access permissions, network security and availability of the computer becomes ours. If we later test an agent that uses an external AI service, we will need to consider what information leaves the network and under what authorization.

## 3. Hardware, software and network

Our reference machine is an **ASUS PN41 with 8 GB of RAM**. The processor, memory and storage configurations of this model are described in the [ASUS datasheet](https://www.asus.com/Websites/global/products/8bqegy8gqyzklcxk/pdf/PN41_datasheet_compressed.pdf). We do not need a dedicated graphics card to run Odoo and PostgreSQL; if we also intend to run a local AI model, that is a separate workload that we must size independently.

<div class="overflow-auto" role="region" aria-label="Recommended resources for the pilot" tabindex="0">

| Resource | Recommendation for this pilot |
| --- | --- |
| Processor | x86-64, as in the PN41. Preferably multiple cores. |
| Memory | 8 GB for a small environment; 16 GB provides more room to grow. |
| Storage | SSD; 128 GB as an indicative starting capacity, preferably 256 GB or more depending on attachments and backups. |
| Connectivity | Ethernet, with an IP address reserved on the router. |
| Operating system | 64-bit Ubuntu Server 24.04 LTS, without a graphical desktop. |
| Software | Docker Engine, Docker Compose plugin, Odoo 20 Community, PostgreSQL 16, Nginx and Avahi. |

</div>

Ubuntu 24.04 LTS is the choice for the reproducible version of this guide. The original installation did not record the exact Ubuntu release or the specific characteristics of the processor and SSD.

### How many users can an 8 GB mini PC support?

Not every user consumes the same resources. A person looking up a customer for a few minutes generates a very different load from a process that imports thousands of products, calculates reports or generates hundreds of documents.

For this pilot, I suggest starting with **one to three users active at the same time**, using a few modules and test data. If response times remain satisfactory and we observe sufficient memory and processing capacity, we can try four or five concurrent users before deciding whether to upgrade the computer.

These figures are not the results of a load test. They are a starting hypothesis. The actual limit will also depend on the processor's performance, the modules, the size of the database, reports and scheduled tasks. The total number of accounts created is not the same as the number of users working simultaneously.

## 4. Prepare Ubuntu Server

Download [Ubuntu Server 24.04 LTS](https://ubuntu.com/download/server), create USB installation media and install the system on the mini PC. The installer allows us to enable OpenSSH so that the server can be managed from another computer. Check which disk to use beforehand: installing the system may erase its contents.

Once Ubuntu has started, update the packages:

```bash
sudo apt update
sudo apt upgrade
sudo apt install -y git
```

Check the computer's name and address:

```bash
hostnamectl
ip -br address
free -h
df -h /
```

On the router, reserve an IPv4 address for the mini PC using DHCP. For example, `192.168.1.25`, if it belongs to our subnet. The reservation prevents a restart from changing the IP address browsers use to connect to the server.

Set the hostname to `odoo`, provided it is not already used by another device:

```bash
sudo hostnamectl set-hostname odoo
```

With Avahi, a computer on the same network that supports mDNS can resolve the name `odoo.local`. If name resolution does not work, we can use the IP address directly. The address in this guide is an example; use the actual address for the installation.

## 5. Install Docker Engine and Docker Compose

Docker allows us to run applications in containers with their runtime environment and dependencies. Instead of manually installing Python, Odoo libraries, PostgreSQL and Nginx on Ubuntu, we will use the images for those three services.

Docker Compose defines them in a single file, allowing us to start, stop and recreate system components in a coordinated way. Data is stored in volumes independent of the containers.

Download the files from the [companion repository](https://github.com/nearServices/odoo-minipc):

```bash
git clone https://github.com/nearServices/odoo-minipc.git
cd odoo-minipc
./install-dependencies.sh
```

The script installs the necessary packages, configures the official Docker repository for Ubuntu 24.04 and installs Docker Engine with the Compose plugin. It also installs Avahi and enables the corresponding services to start through systemd.

To check that Docker is working:

```bash
sudo docker --version
sudo docker compose version
sudo docker run --rm hello-world
```

We use `sudo` to operate Docker. Adding a user to the `docker` group also allows them to work without `sudo`, but in practice grants privileges equivalent to those of a system administrator. This guide does not grant those privileges by default. Equivalent manual installation commands can be found in the [official Docker documentation for Ubuntu](https://docs.docker.com/engine/install/ubuntu/).

## 6. Understand what we are installing

The browser connects to Nginx over HTTPS. Nginx receives the request and forwards it to Odoo. Odoo interprets the requested operation, retrieves or modifies information in PostgreSQL and produces the result. The response returns to the browser through Nginx.

<figure class="editorial-figure chalkboard-figure">
  <img src="resources/arquitectura-local.svg" width="800" height="800" alt="Local server architecture: browsers access Nginx over HTTPS, Odoo uses internal port 8069, PostgreSQL uses port 5432 and the filestore is persistent.">
  <figcaption>The mini PC hosts all three services. Nginx is the entry point from the LAN; Odoo, PostgreSQL and the volumes remain internal. <a class="diagram-expand" href="resources/arquitectura-local.svg">Enlarge illustration</a>.</figcaption>
</figure>

The three containers communicate over an internal network created by Docker Compose. The only ports published on the mini PC's IP address are 80 (redirecting to HTTPS) and 443 (HTTPS). Neither PostgreSQL nor Odoo's internal port is published directly on the work network.

The `compose.yaml` file defines the services:

- **db:** PostgreSQL 16, which stores Odoo records in a persistent volume and creates an application role separate from the PostgreSQL administrator.
- **web:** the [official Odoo 20 image](https://hub.docker.com/_/odoo), with a volume for files and attachments.
- **proxy:** Nginx, which presents the HTTPS certificate and forwards requests to Odoo.

There is no need to install PostgreSQL on Ubuntu; it will run in its own container.

## 7. Configure and start Odoo

In the directory we downloaded, run:

```bash
./setup.sh
```

The script asks for the mini PC's stable IPv4 address and local name (by default, `odoo.local`). It then performs the following operations:

1. Generates passwords for PostgreSQL, the Odoo role and Odoo database administration.
2. Creates `.env` for the environment configuration and `config/odoo.conf` for Odoo.
3. Generates a private certificate authority (CA) and a server certificate valid for the selected name and IP address.
4. Checks the Compose definition and starts the containers.

The version prepared for publication retains the architecture of the original installation but incorporates improvements in credential generation, permissions and the local certificate. Permanent files in the repository do not contain secrets. Those generated for each installation are excluded from Git and kept locally. The script refuses to overwrite an existing installation.

For a learning environment, we will initially keep `workers = 0`, the threaded server mode, and a single thread for scheduled tasks. This is a simple configuration, not a definitive performance optimization. The configuration also enables `proxy_mode` because Odoo receives requests through Nginx. That mode should not be enabled in an installation where clients can reach the Odoo server directly, bypassing the proxy.

Check the result:

```bash
sudo docker compose ps
sudo docker compose logs --tail=100 db web proxy
```

The first time, the images for the three services are downloaded, so the process may take several minutes. PostgreSQL is initialized before Odoo starts. If a service fails to become available, its logs will help us understand what happened.

## 8. Access Odoo over HTTPS from the local network

In the browser of another computer, try this address:

```text
https://odoo.local/
```

Or, if the reserved address is the one in our example:

```text
https://192.168.1.25/
```

Since we are doing this on a local network without a public domain, we have created our own certificate authority. Operating systems and browsers do not yet trust it. For the connection to be validated correctly, we need to install its public certificate on the devices from which we will use Odoo.

On the mini PC, obtain the certificate fingerprint:

```bash
openssl x509 -in certs/ca.crt -noout -fingerprint -sha256
```

Transfer only the `certs/ca.crt` file through a trusted channel, for example an SSH connection whose identity has already been verified. Compare the fingerprint with the one obtained on the mini PC and follow the operating system's or browser's procedure for importing a trusted local CA.

Do not distribute `ca.key` or `odoo.key`: those are the private keys. Keep them protected. A trusted CA allows other certificates signed by that CA to be validated, which is why safeguarding its key matters.

Once installed, the browser should recognize the certificate and show a secure connection. If it warns of an incorrect name, expiration date or unknown authority, correct the cause rather than disabling verification. The generated server certificate is valid for one year and must be renewed.

If there is no connection, first check that the computers are on the same network, the reserved IP address is correct and the containers are running.

## 9. Create the first database and start exploring

On the first visit, Odoo displays the database management interface. We will create a database with a recognizable name, for example `odoo_piloto`.

The master password field corresponds to the `admin_passwd` value in `config/odoo.conf` on the mini PC. An authorized user can consult it there privately. It must not be shared with ordinary Odoo users.

It is worth distinguishing three types of credentials:

- Odoo's master password authorizes database administration operations.
- PostgreSQL credentials allow services to access the database. The application user is different from the PostgreSQL administrator.
- The credentials of the first Odoo administrator allow access to the application and management of its permissions and configuration.

In the form, choose the email and password of the first administrator, the language and the appropriate country. If the purpose is learning, we can request demonstration data. It should not be mixed with real operations.

We can start with CRM, Sales and a small selection of Community applications. For example, register a fictional customer, create a sales opportunity and prepare a quotation. From a second computer, another user with the appropriate permissions can continue the task and experience the benefits of working with the same information.

## 10. Automatic startup and systemd service

Ubuntu uses systemd to manage the computer's services. The installation enables `docker.service`, `containerd.service` and `avahi-daemon.service`. Docker, in turn, restarts containers whose Compose file includes the policy `restart: unless-stopped`.

In this architecture, we do not need a separate `odoo.service`: Odoo runs inside a container, and Docker is the system service responsible for starting it.

```bash
systemctl is-enabled docker.service
systemctl status docker.service
systemctl status avahi-daemon.service
sudo docker compose ps
```

We can restart the mini PC at an agreed time and, once it is available again, check access from another device. If the containers were stopped manually, we will need to start them again using Compose.

```bash
sudo docker compose stop
sudo docker compose up -d
```

Both operations preserve the databases and files. Do not use `docker compose down -v` if we want to keep them: that option removes the associated volumes.

## 11. What to observe before adding more users

To understand what 8 GB of memory allows us to do, we need to observe the machine while it works. We can start with a lookup, a quotation and a report performed from several computers, paying attention to response times and resources used.

```bash
free -h
df -h /
sudo docker stats --no-stream
sudo docker compose logs --tail=100 web
```

- Memory: observe available memory in Ubuntu, container usage and whether disk swapping increases.
- Processor: observe whether it remains saturated during typical operations.
- Disk: monitor the space required by PostgreSQL, attachments and backups.
- User operations: check whether the tasks people actually need to perform are completed within reasonable times and without errors.

If imports or complex reports affect other people's work, we can schedule them during periods of low activity, review the configuration or increase the available resources. If we need to move to intensive use, evaluate a more powerful server or one of the cloud alternatives.

### From a test installation to a working installation

It is easy to confuse having an accessible application with having a system ready to support a company's operations. Before entrusting it with real data, some essential decisions need to be made:

- Define users and permissions, including which operations integrations and agents may perform.
- Establish how and how often backups will be made. We must preserve both the database and the filestore, which contains attachments. Odoo's database manager can export a ZIP backup; we should test restoring it in another environment and keep encrypted backups outside the mini PC.
- Store credentials and configuration securely, and plan for certificate renewal and tested updates.
- Keep the instance within a trusted network. Do not forward its ports from the Internet; Docker publishes ports in a way that may make ordinary UFW rules insufficient. If remote access is needed, evaluate a VPN and a professionally configured solution.
- Ensure continuity of electrical power and the ability to restore service if the SSD or mini PC fails. A single computer does not provide high availability.

Docker images make components easier to install and update, but do not perform migrations between major Odoo versions on their own. Before updating, consult the [Odoo 20 documentation](https://www.odoo.com/documentation/20.0/) and make a verifiable backup.

## 12. An opportunity to build

The experience of installing Odoo on a mini PC is valuable because of what it enables us to do next. We can explore business processes, understand how operations are related and discover where it makes sense to introduce automation or an AI agent.

We do not need to decide from the outset how to transform the entire business. We can choose a process, run a test with a small team, evaluate the results and decide what to develop next.

At Idoneos, we can accompany this process: from choosing the Odoo option that best suits the needs of the business and implementing it, to designing and integrating agents with work processes.

If there is interest in exploring an Odoo implementation or integrating it with artificial intelligence, we can begin with a conversation about the work to be improved, the systems available and an initial experiment that makes it possible to assess the usefulness of the solution.

[**Contact Idoneos**](https://www.idoneos.com/en/contact/)

## Resources and equipment for exploring this installation

- [Scripts and configuration files on GitHub](https://github.com/nearServices/odoo-minipc).
- [Official Odoo 20 documentation](https://www.odoo.com/documentation/20.0/).

<div class="overflow-auto" role="region" aria-label="Affiliate links by platform" tabindex="0">

| Platform | Equipment and services |
| --- | --- |
| Mercado Libre | <a href="https://meli.la/2YveSeU" rel="sponsored" aria-label="ASUS PN41 with 8 GB on Mercado Libre, affiliate link">ASUS PN41 with 8 GB</a> · <a href="https://meli.la/18kEGdh" rel="sponsored" aria-label="Other mini PCs on Mercado Libre, affiliate link">Other mini PCs</a> |
| Amazon | <a href="https://link.amazon/B09zt2GGu" rel="sponsored" aria-label="ASUS PN41 on Amazon, affiliate link">ASUS PN41</a> · <a href="https://link.amazon/B041sn2Fx" rel="sponsored" aria-label="Other mini PCs on Amazon, affiliate link">Other mini PCs</a> |
| Odoo | <a href="https://www.odoo.com/r/LYAG" rel="sponsored">Odoo homepage</a> · <a href="https://www.odoo.com/r/c7fr" rel="sponsored">Odoo CRM</a> |

</div>

<p><small><em><strong>Affiliate links:</strong> Idoneos may receive a commission on purchases or subscriptions made through the affiliate links in this article.<br>As an Amazon Associate I earn from qualifying purchases.</em></small></p>
