0% found this document useful (0 votes)
135 views

Install Odoo

The document provides commands to install and configure Odoo 15 on a Linux system. It installs PostgreSQL, Node.js, wkhtmltopdf and other dependencies before cloning the Odoo source code from GitHub and creating a virtual environment. The commands also create a custom folder for any custom modules.

Uploaded by

Ayed Hadhami
Copyright
© © All Rights Reserved
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
135 views

Install Odoo

The document provides commands to install and configure Odoo 15 on a Linux system. It installs PostgreSQL, Node.js, wkhtmltopdf and other dependencies before cloning the Odoo source code from GitHub and creating a virtual environment. The commands also create a custom folder for any custom modules.

Uploaded by

Ayed Hadhami
Copyright
© © All Rights Reserved
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 2

createuser --createdb --username postgres --no-createrole --no-superuser --pwprompt

odoo15

sudo passwd tom

sudo chmod -R 777 /opt

touch ~/Templates/"Untitled Document"


----------------------------------------------------------

sudo apt update

sudo apt-get upgrade

sudo apt install git python3-pip build-essential wget python3-dev python3-venv


python3-wheel libxslt-dev libzip-dev libldap2-dev libsasl2-dev python3-setuptools
node-less -y

sudo apt-get install -y npm

sudo ln -s /usr/bin/nodejs /usr/bin/node

sudo npm install -g less less-plugin-clean-css

sudo apt-get install node-less

sudo npm install -g rtlcss

sudo apt install curl

curl -sL https://deb.nodesource.com/setup_10.x | sudo -E bash -

sudo apt install nodejs

sudo apt install postgresql

wget https://github.com/wkhtmltopdf/wkhtmltopdf/releases/download/0.12.5/
wkhtmltox_0.12.5-1.bionic_amd64.deb

sudo apt install ./wkhtmltox_0.12.5-1.bionic_amd64.deb -y


mkdir /opt/odoo15

git clone https://www.github.com/odoo/odoo --depth 1 --branch 15.0 /opt/odoo15/odoo

cd /opt/odoo15

python3 -m venv odoo-venv

source odoo-venv/bin/activate

pip3 install wheel

pip3 install -r odoo/requirements.txt

deactivate

mkdir /opt/odoo14/odoo/custom

exit

You might also like