21 Aug 2025 12:00

HPR4449: How to install Odoo 18 on a virtual machine

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.


Отзывы


Podcastly – the best platform for podcasters and podcast lovers. More than 10 millions of audio content that available on Android/iOS/Web/Desktop and Telegram.