Hacker Public Radio

Your ideas, projects, opinions - podcasted.

New episodes Monday through Friday.


HPR4449: How to install Odoo 18 on a virtual machine

Hosted by Jeroen Baten on 2025-08-21 01:00:00
Download or Listen

This show has been flagged as Clean by the host.

Create a vm with Debian 12 and at least 4 Gb of RAM and say 20-30 Gb disc space.

installation

============

sudo apt install -y gpg postgresql

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

Odoo CE latest nightly build

https://nightly.odoo.com/18.0/nightly/deb/odoo_18.0.latest_all.deb

sudo apt-get update && sudo apt-get install -y odoo

Install wkhtmltopdf

wget -O wkhtmltox_0.12.6.1-3.bookworm_amd64.deb https://github.com/wkhtmltopdf/packaging/releases/download/0.12.6.1-3/wkhtmltox_0.12.6.1-3.bookworm_amd64.deb

dpkg -i wkhtmltox_0.12.6.1-3.bookworm_amd64.deb

apt install -f -y

apt install -y python3-xlwt python3-num2words python3-phonenumbers

systemctl status odoo

First use

=========

http://:8069/

Will relocate to /web/database/selector

Master Password to protect this form

Database Name.

Email: your email

Password: your desired password

Phone Number: optional

Language: your desired language

Country: select your country

Demo Data: select to get demo data.

Click "Create database"

Wait.

Login.

You see /odoo/apps.

Upper left square-icon shows 'Apps' and 'Settings'.

Let's install a simple app: contacts

Search in the search bar for "contacts" and when displayed, click the 'Activate' button of the "contacts" app.

When done, the same menu now contains: Discuss, To-do, contacts, Project, Email Marketing, Surveys, Employees

and the earlier mentioned Apps and Settings.

Go back to 'Apps' and Activate the "Sales" app. This will also install the "Invoicing" app.

Time to start playing around.

Some tech stuff, interesting locations

===============

/etc/odoo/odoo.conf

Here you can add additional addons later: /var/lib/odoo/.local/share/Odoo/addons/18.0/

Here are all files uploaded to Odoo: find /var/lib/odoo/.local/share/Odoo/filestore/

This is where user sessions are administrated: find /var/lib/odoo/.local/share/Odoo/sessions/

And these are the main locations where the Odoo program can be found.

ls -al /usr/lib/python3/dist-packages/odoo/

ls -al /usr/lib/python3/dist-packages/odoo/addons/

ls -al /usr/lib/python3/dist-packages/odoo/addons/ | wc

Provide feedback on this episode.

HPR Comments


Archer72 says: Oodo in a vm

RE: hpr4449::2025-08-21 How to install Odoo 18 on a virtual machine by Jeroen Batenfrom the series Business Applications.
00:27:01 Listen in ogg, opus, or mp3 format.
Hello Jeroen,

Another great show in this series.
I have been working for a bit on using virt-manager for virtual machines, and this is the perfect project to try out.

Looking forward to the next show.

- Archer72

Mastodon Comments



More Information...


Copyright Information

Unless otherwise stated, our shows are released under a Creative Commons Attribution-ShareAlike 3.0 Unported (CC BY-SA 3.0) license.

The HPR Website Design is released to the Public Domain.