Загрузка...

PostgreSQL Odoo Installation! (Ubuntu)

This postgresql odoo installation tutorial video will walk you through how exactly you should go about installing postgresql odoo on your Ubuntu 20.04 machines.

In this postgresql odoo tutorial we will install postgresql odoo 15 in a Python environment.

First off, make sure to use a proper postgresql odoo user - we will use "odoo15": sudo su odoo15.

Once you're done, create a new enviroment. This postgresql odoo tutorial will tell you that to do that, you need to run the following:
cd /opt/odoo15
python3 -m venv odoo-venv
source odoo-venv/bin/activate

After that, make sure that all of the relevant Python modules are in place by running pip3 install wheel and pip3 install -r odoo/requirements.txt - watch this odoo postgresql configuration video to learn more.

Now switch to a sudo user, then create a config file. After that, you will need to create a systemd unit file.

[options]
; This is the password that allows database operations:
admin_passwd = password
db_host = False
db_port = False
db_user = odoo15
db_password = False
addons_path = /opt/odoo15/odoo/addons,[custom addons here...]

Now you need to create a system file that holds all of the information about the service like so:
sudo nano /etc/systemd/system/odoo15.service

It should look something like this:

[Unit]
Description=Odoo15
Requires=postgresql.service
After=network.target postgresql.service

[Service]
Type=simple
SyslogIdentifier=odoo15
PermissionsStartOnly=true
User=odoo15
Group=odoo15
ExecStart=/opt/odoo15/odoo-venv/bin/python3 /opt/odoo15/odoo/odoo-bin -c /etc/odoo15.conf
StandardOutput=journal+console

[Install]
WantedBy=multi-user.target

Finally, restart your services:
sudo systemctl daemon-reload

Then start the Odoo service and enable it to start on boot by running:
sudo systemctl enable --now odoo15

Finally, you may want to verify that the service is up and running:
sudo systemctl status odoo15

Everything in this tutorial should work on postgresql odoo 16 too. Enjoy this postgres odoo tutorial!

We usually use covers from tenerife, but this ocean view wasn't made in the tenerife island - tell us in the comments below, have you heard about the tenerife wildfires today? Do you want us to make a video cover regarding the tenerife fires 2023 and mention what's happening in the description? The tenerife wildfires are wild, so tell us below if you want us to make a tenerife fires 2023 update video.

Music:
Barbados by Scandinavianz https://soundcloud.com/scandinavianz
Creative Commons — Attribution 3.0 Unported — CC BY 3.0
Free Download / Stream: https://bit.ly/3qh87P3
Music promoted by Audio Library: https://www.youtube.com/watch?v=2vUA4pbe49o

#shorts #postgresql #database #web #developer #sql #reels #webdevelopment

Видео PostgreSQL Odoo Installation! (Ubuntu) канала Database Dive
Страницу в закладки Мои закладки
Все заметки Новая заметка Страницу в заметки

На информационно-развлекательном портале SALDA.WS применяются cookie-файлы. Нажимая кнопку Принять, вы подтверждаете свое согласие на их использование.

Об использовании CookiesПринять