Skip to Content

Installing Odoo 19 on Ubuntu 24.04

The short version of a production install. The full guide with explanations is here.

sudo apt update && sudo apt upgrade -y
sudo useradd -m -d /opt/odoo19 -U -r -s /bin/bash odoo19
sudo apt install -y git build-essential python3-dev python3-venv libxml2-dev libxslt1-dev \
  libldap2-dev libsasl2-dev libpq-dev libjpeg-dev zlib1g-dev postgresql
sudo -u postgres createuser -s odoo19
# wkhtmltopdf 0.12.6.1 (patched qt)
wget https://github.com/wkhtmltopdf/packaging/releases/download/0.12.6.1-2/wkhtmltox_0.12.6.1-2.jammy_amd64.deb
sudo apt install -y ./wkhtmltox_0.12.6.1-2.jammy_amd64.deb
sudo su - odoo19
git clone https://github.com/odoo/odoo --depth 1 --branch 19.0 odoo19
python3 -m venv odoo19-venv && source odoo19-venv/bin/activate
pip install wheel && pip install -r odoo19/requirements.txt

Then create /etc/odoo19.conf and a systemd service (next lesson) and start it with sudo systemctl enable --now odoo19.

Never run Odoo as root, and never expose the database manager with a weak master password.
Questions about this lesson? Ask in our Odoo Help Forum or book a free call with a CloudPk consultant.
Rating
0 0

There are no comments for now.

to be the first to leave a comment.