Professional Documents
Culture Documents
Here we are again with one more new Odoo version and a step by step guide on
how to install it.
As Odoo v10 release is just around the corner, It is a good idea to go through a
small tutorial on how to install Odoo v10 on Ubuntu 16.04 LTS.
Option 1:
Getting the necessary installation files using wget command.
1
Option 2 :
Step 1: Creating an Odoo user
Our next step is to create an odoo user. The odoo user is required to control the
different aspects of the system. You can do it by typing the following code into the
terminal.
sudo adduser --system --quiet --shell=/bin/bash --home=/opt/odoo --gecos 'odoo'
--group odoo
Step 2: Creating a directory for config file and Logs
Config file and log play a major role in maintaining the system. To ensure that
they the config file and records are kept in the right place, we need to create a directory for them. Type the following command to the terminal for the desirable effect.
sudo mkdir /etc/odoo && mkdir /var/log/odoo/
Step 3: Installing necessary packages required for using Odoo
Odoo is a powerful software and has a lot of dependencies. To ensure that all dependencies are met, it is time to download the necessary packages. To make
sure all the necessary packages are downloaded, run the following command in
your terminal.
sudo apt-get update && apt-get upgrade -y && apt-get install postgresql
postgresql-server-dev-9.5 build-essential python-imaging python-lxml python-ldap
python-dev libldap2-dev libsasl2-dev npm nodejs git python-setuptools libxml2-dev
libxslt1-dev libjpeg-dev python-pip gdebi -y
Step 4: Cloning the Odoo Git repository with preference to minimal change
history
Our next step is to get the Odoo files from Git Repository. To do so, enter the following command in the terminal.
git clone --depth=1 --branch=10.0 https://github.com/odoo/odoo.git /opt/odoo/odoo
The step will take some time. Wait until it gets completed.
Step 5: Installing Python packages required for Odoo
Python is the core of Odoo. For proper functioning, it is necessary to get required
python packages. Do so by typing in the following command in the terminal. You
can copy the command if you don't wish to type it in.
sudo chown odoo:odoo /opt/odoo/ -R && sudo chown odoo:odoo /var/log/odoo/ -R
&& cd /opt/odoo/odoo && sudo pip install --upgrade pip && sudo pip install -r
requirements.txt
2