How To Install Odoo 14 ERP on Rocky Linux 8

How To Install Odoo 14 ERP on Rocky Linux 8

in This Tutorial you will Learn " How To Install Odoo 14 ERP on Rocky Linux 8"

Odoo is a group of business management software tools that include features for billing, accounting, eCommerce, CRM, warehouse, project management, and inventory management. It is designed for small and medium businesses and is available in the cloud or on-premise. It is user-friendly, scalable, customizable, flexible, and helps you manage businesses and organizations with a CMS.
Server - Os:  Rocky Linux 8.5  64Bit      |    IP -        |     Hostname -
cat /etc/system-release ; sestatus ; hostname ; hostname -I ; dnf groupinstall "Development Tools" -y

dnf install epel-release -y
dnf install python3 python3-devel git gcc git redhat-rpm-config libxslt-devel bzip2-devel openldap-devel libjpeg-devel freetype-devel -y

dnf install
dnf install @postgresql:12
postgresql-setup initdb
systemctl enable --now postgresql
su - postgres -c "createuser -s odoo14"
useradd -m -U -r -d /opt/odoo14 -s /bin/bash odoo14

su - odoo14
git clone --depth 1 --branch 14.0 /opt/odoo14/odoo
cd /opt/odoo14
python3 -m venv odooenv
source odooenv/bin/activate
pip3 install -r odoo/requirements.txt

mkdir /opt/odoo14/odoo-custom-addons
nano /etc/odoo14.conf
admin_passwd = secure-password
db_host = False
db_port = False
db_user = odoo14
db_password = False
addons_path = /opt/odoo14/odoo/addons, /opt/odoo14/odoo-custom-addons

nano /etc/systemd/system/odoo.service
Requires=postgresql.service postgresql.service

ExecStart=/opt/odoo14/odooenv/bin/python3 /opt/odoo14/odoo/odoo-bin -c /etc/odoo14.conf

systemctl daemon-reload ; systemctl enable --now odoo ; systemctl status odoo

Share on Pinterest
Share on LinkedIn
Share on WhatsApp
Share on Telegram