filmov
tv
How to install Odoo 17 for Production in Ubuntu 22 04
Показать описание
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
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
python3.11 -m venv odoo-venv
source odoo-venv/bin/activate
vii.) Install Odoo and configure odoo files
pip3 install wheel setuptools pip --upgrade
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
viii.) Create odoo config file
[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
ix.) Create odoo service
[Unit]
Description=odoo
[Service]
Type=simple
SyslogIdentifier=odoo
PermissionsStartOnly=true
User=odoo
Group=odoo
StandardOutput=journal+console
[Install]
x.) Enable odoo service
systemctl daemon-reload
systemctl enable odoo
sudo systemctl enable odoo
sudo systemctl status odoo
xi.) Open Odoo
We welcome your comments and suggestions for future videos. Thanks!
Contact us on:
Please buy us a cup of coffee:
Steps on How to Install Odoo 7 Community on Ubuntu 22.04 for Production
i.) Purchase a Cloud VPS on Ubuntu 22.04
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
python3.11 -m venv odoo-venv
source odoo-venv/bin/activate
vii.) Install Odoo and configure odoo files
pip3 install wheel setuptools pip --upgrade
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
viii.) Create odoo config file
[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
ix.) Create odoo service
[Unit]
Description=odoo
[Service]
Type=simple
SyslogIdentifier=odoo
PermissionsStartOnly=true
User=odoo
Group=odoo
StandardOutput=journal+console
[Install]
x.) Enable odoo service
systemctl daemon-reload
systemctl enable odoo
sudo systemctl enable odoo
sudo systemctl status odoo
xi.) Open Odoo
We welcome your comments and suggestions for future videos. Thanks!
Contact us on:
Please buy us a cup of coffee:
Комментарии