Skip to content

Instantly share code, notes, and snippets.

@LinauxTerminology
Last active June 23, 2021 16:33
Show Gist options
  • Save LinauxTerminology/1ecb727cc480ecb641ea12ce99dcccb0 to your computer and use it in GitHub Desktop.
Save LinauxTerminology/1ecb727cc480ecb641ea12ce99dcccb0 to your computer and use it in GitHub Desktop.
I Will Do Installation Odoo14 On Ubuntu 20.04 LTS.
If you need Odoo Setup contact with me:
Email: [email protected]
Skype: https://join.skype.com/
Telegram:https://t.me/LinauxTerminology
WhatsApp: +8801408694088
Imo: +8801408694088
1.- We create the odoo_install.sh file:
nano odooinstall.sh
2.- We add the following content:
#! / bin / bash
# We create the user and system group 'odoo':
sudo adduser --system --quiet --shell = / bin / bash --home = / opt / odoo --gecos ' odoo ' --group odoo
# Create a directory where the odoo configuration and log file will be stored:
sudo mkdir / etc / odoo && sudo mkdir / var / log / odoo /
# We install Postgres and base system libraries:
sudo apt update && sudo apt install postgresql postgresql-server-dev-12 build-essential python3-pil python3-lxml python3-ldap3 python3-dev python3-pip python3-setuptools nodejs git libldap2-dev libsasl2-dev libxml2-dev libxslt1-dev libjpeg-dev npm -y
# Download odoo version 14 from git:
sudo git clone --depth 1 --branch 14.0 https://github.com/odoo/odoo / opt / odoo / odoo
# sudo git clone --depth 1 --branch master https://github.com/odoo/odoo / opt / odoo / odoo
# We give permission to the directory that contains the OdooERP files and install the python3 dependencies:
sudo chown odoo: odoo / opt / odoo / -R && sudo chown odoo: odoo / var / log / odoo / -R && cd / opt / odoo / odoo && sudo pip3 install -r requirements.txt
3.- We give permission to the file:
sudo chmod u + x odooinstall.sh
4.- We execute :
sudo sh odooinstall.sh
5.- http: // localhost: 8069
@LinauxTerminology
Copy link
Author

Screenshot from 2021-06-23 00-38-12
Screenshot from 2021-06-23 00-46-09
Screenshot from 2021-06-23 21-28-15

@UbuntuEvangelist
Copy link

good

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment