How to install Odoo 17 for Production in Ubuntu 22 04

  Рет қаралды 258

SoftIQ Technologies

SoftIQ Technologies

Күн бұрын

How to install Odoo 17 for Production in Ubuntu 22.04
Steps on How to Install Odoo 7 Community on Ubuntu 22.04 for Production
i.) Purchase a Cloud VPS on Ubuntu 22.04
ssh root@xxx.xxx.xxx.xxx
ii.) Update & Upgrade Ubuntu Packages
sudo apt update
sudo apt upgrade
iii.) Install python dependencies and create new user
sudo apt install build-essential wget git python3.11-dev python3.11-venv libfreetype-dev libxml2-dev libzip-dev libsasl2-dev node-less libjpeg-dev zlib1g-dev libpq-dev libxslt1-dev libldap2-dev libtiff5-dev libopenjp2-7-dev libcap-dev
iv.) Create new system user for Odoo
/usr/sbin/adduser --system --shell /bin/bash --gecos 'Odoo' --group --home /opt/odoo odoo
v.) Install Postgresql and create new user for postgresql
sudo apt install postgresql
su - postgres -c "createuser -s odoo"
We need to install wkhtml for converting html data to pdf format
sudo apt install wkhtmltopdf
vi.) Download Odoo Files and create python venv
su - odoo
git clone www.github.com... --depth 1 --branch 17.0 odoo
python3.11 -m venv odoo-venv
source odoo-venv/bin/activate
vii.) Install Odoo and configure odoo files
pip3 install wheel setuptools pip --upgrade
pip3 install -r odoo/requirements.txt
Then we create a new directory for the custom odoo addons and log file:
mkdir /opt/odoo/odoo/custom
Exit from user odoo by typing: exit
mkdir /var/log/odoo
sudo touch /var/log/odoo/odoo.log
viii.) Create odoo config file
nano /etc/odoo.conf
[options]
admin_passwd = admin1234
db_host = False
db_port = False
db_user = odoo
db_password = False
addons_path = /opt/odoo/odoo/addons,/opt/odoo/odoo/custom
logfile=/var/log/odoo/odoo.log
ix.) Create odoo service
nano /etc/systemd/system/odoo.service
[Unit]
Description=odoo
Requires=postgresql.service
After=network.target postgresql.service
[Service]
Type=simple
SyslogIdentifier=odoo
PermissionsStartOnly=true
User=odoo
Group=odoo
ExecStart=/opt/odoo/odoo-venv/bin/python3 /opt/odoo/odoo/odoo-bin -c /etc/odoo.conf
StandardOutput=journal+console
[Install]
WantedBy=multi-user.target
x.) Enable odoo service
systemctl daemon-reload
systemctl enable odoo
sudo systemctl enable odoo
sudo systemctl status odoo
xi.) Open Odoo
publicip:8069
Visit www.softiqtech... for more info and please subscribe to our videos.
We welcome your comments and suggestions for future videos. Thanks!
Contact us on:
Email: info@softiqtechnologies.co.ke
Please buy us a cup of coffee:
Paypal: johnkmaina@gmail.com

Пікірлер: 2
@TheJohnmaina
@TheJohnmaina 12 күн бұрын
Great video...waiting for the next one...
@edwardr4298
@edwardr4298 12 күн бұрын
Good tutorial. Very helpful
FydeOS: ChromiumOS with Android, Linux & no Google!
23:26
ExplainingComputers
Рет қаралды 103 М.
How to install Odoo 17 for Development on Ubuntu 23.10
20:43
SoftIQ Technologies
Рет қаралды 1,5 М.
Good teacher wows kids with practical examples #shorts
00:32
I migliori trucchetti di Fabiosa
Рет қаралды 11 МЛН
规则,在门里生存,出来~死亡
00:33
落魄的王子
Рет қаралды 29 МЛН
Running With Bigger And Bigger Lunchlys
00:18
MrBeast
Рет қаралды 131 МЛН
Setting up a complete company in Microsoft Dynamics NAV 2018
33:44
SoftIQ Technologies
Рет қаралды 2 М.
How to Install Odoo 18 on Ubuntu | Step-by-Step Guide
8:11
Adil Akbar (Programmer)
Рет қаралды 708
Why pay for Adobe? You don't need it!
24:43
Awesome Open Source
Рет қаралды 99 М.
Setting up a production ready VPS is a lot easier than I thought.
29:50
18 Weird and Wonderful ways I use Docker
26:18
NetworkChuck
Рет қаралды 268 М.
Why Are Open Source Alternatives So Bad?
13:06
Eric Murphy
Рет қаралды 648 М.
How to install multiple Odoo instances on a single machine on windows
19:25
Good teacher wows kids with practical examples #shorts
00:32
I migliori trucchetti di Fabiosa
Рет қаралды 11 МЛН