0% found this document useful (0 votes)
101 views13 pages

Install Odoo 11 On Ubuntu 16.04 - GetOpenERP

This document provides a 14 step guide to install Odoo 11 on Ubuntu 16.04. It begins by updating apt packages and installing Python dependencies for Odoo. It then installs PostgreSQL for the database, downloads Odoo 11 from GitHub, configures the Odoo file, installs wkhtmltopdf for rendering PDFs, and finally starts the Odoo server process. It concludes by accessing the Odoo web interface and providing fixes for potential issues.

Uploaded by

Rusdi Adam
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
101 views13 pages

Install Odoo 11 On Ubuntu 16.04 - GetOpenERP

This document provides a 14 step guide to install Odoo 11 on Ubuntu 16.04. It begins by updating apt packages and installing Python dependencies for Odoo. It then installs PostgreSQL for the database, downloads Odoo 11 from GitHub, configures the Odoo file, installs wkhtmltopdf for rendering PDFs, and finally starts the Odoo server process. It concludes by accessing the Odoo web interface and providing fixes for potential issues.

Uploaded by

Rusdi Adam
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 13

5/15/2019 Install Odoo 11 on Ubuntu 16.

04 | GetOpenERP

INSTALL ODOO 11 ON UBUNTU


16.04

https://www.getopenerp.com/install-odoo-11-on-ubuntu-16-04/ 1/16
5/15/2019 Install Odoo 11 on Ubuntu 16.04 | GetOpenERP

https://www.getopenerp.com/install-odoo-11-on-ubuntu-16-04/ 2/16
5/15/2019 Install Odoo 11 on Ubuntu 16.04 | GetOpenERP

Hello Everyone. Below you will nd the easiest installation guide of


odoo 11.  Hurry up ! Install Odoo 11 on your Ubuntu 16.04. EXPLORE
AMAZING NEW FEATURES OF “Odoo 11″. To know What’s New in
Odoo 11 Click Here

STEP 1

Update apt source list

sudo apt-get update

https://www.getopenerp.com/install-odoo-11-on-ubuntu-16-04/ 3/16
5/15/2019 Install Odoo 11 on Ubuntu 16.04 | GetOpenERP

STEP 2

Install Updates

sudo apt-get -y upgrade

The -y ag will con rm that we are agreeing for all items to be


installed.

STEP 3

Install Python Dependencies for Odoo 11

sudo apt-get install python3-pip

INSTALL DEPENDENCIES USING PIP3

pip3 install Babel decorator docutils ebaysdk


feedparser gevent greenlet html2text Jinja2 lxml
Mako MarkupSafe mock num2words ofxparse passlib
Pillow psutil psycogreen psycopg2 pydot pyparsing
PyPDF2 pyserial python-dateutil python-openid pytz
pyusb PyYAML qrcode reportlab requests six suds-
jurko vatnumber vobject Werkzeug XlsxWriter xlwt
xlrd

STEP 4

Odoo Web Dependencies

sudo apt-get install -y npm

https://www.getopenerp.com/install-odoo-11-on-ubuntu-16-04/ 4/16
5/15/2019 Install Odoo 11 on Ubuntu 16.04 | GetOpenERP

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

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

sudo apt-get install node-less

STEP 5

Install PostgreSQL 9.6+

sudo apt-get install python-software-properties

sudo vim /etc/apt/sources.list.d/pgdg.list

add a line for the repository

deb http://apt.postgresql.org/pub/repos/apt/
xenial-pgdg main

https://www.getopenerp.com/install-odoo-11-on-ubuntu-16-04/ 5/16
5/15/2019 Install Odoo 11 on Ubuntu 16.04 | GetOpenERP

wget --quiet -O -
https://www.postgresql.org/media/keys/ACCC4CF8.asc
| sudo apt-key add -

sudo apt-get update

sudo apt-get install postgresql-9.6

STEP 6

Create Database user for Odoo

sudo su postgres

cd

createuser -s odoo

createuser -s ubuntu_user_name

https://www.getopenerp.com/install-odoo-11-on-ubuntu-16-04/ 6/16
5/15/2019 Install Odoo 11 on Ubuntu 16.04 | GetOpenERP

exit

STEP 7

Create Odoo user and group

sudo adduser --system --home=/opt/odoo --group


odoo

STEP 8

Install Gdata

cd /opt/odoo

sudo wget
https://pypi.python.org/packages/a8/70/bd554151443
fe9e89d9a934a7891aaffc63b9cb5c7d608972919a002c03c/
gdata-2.0.18.tar.gz

sudo tar zxvf gdata-2.0.18.tar.gz

https://www.getopenerp.com/install-odoo-11-on-ubuntu-16-04/ 7/16
5/15/2019 Install Odoo 11 on Ubuntu 16.04 | GetOpenERP

sudo chown -R odoo: gdata-2.0.18

sudo -s

cd gdata-2.0.18/

python setup.py install

exit

STEP 9

Odoo 11 Download from GitHub Get lastest Odoo 11 from


github repository. Download the Zip le from URL :
“https://github.com/odoo/odoo/tree/11.0″ . Transfer the same
le to /opt/odoo directory on server through ftp. Otherwise
follow the below steps

cd /opt/odoo

https://www.getopenerp.com/install-odoo-11-on-ubuntu-16-04/ 8/16
5/15/2019 Install Odoo 11 on Ubuntu 16.04 | GetOpenERP

sudo apt-get install git

sudo su - odoo -s /bin/bash

git clone https://www.github.com/odoo/odoo --depth


1 --branch 11.0 --single-branch

exit

STEP 10

Create Odoo Log File

sudo mkdir /var/log/odoo

sudo chown -R odoo:root /var/log/odoo

STEP 11

Edit Odoo con guration le

https://www.getopenerp.com/install-odoo-11-on-ubuntu-16-04/ 9/16
5/15/2019 Install Odoo 11 on Ubuntu 16.04 | GetOpenERP

sudo vim /etc/odoo.conf

#Copy and paste below content in config file ,


write correct addons paths

[options]

; This is the password that allows database


operations:

; admin_passwd = admin

db_host = False

db_port = False

db_user = odoo

db_password = False

logfile = /var/log/odoo/odoo-server.log

addons_path =
/opt/odoo/addons,/opt/odoo/odoo/addons

Save and Exit the le. Now run the below command on
terminal to grant ownership.

sudo chown odoo: /etc/odoo.conf

https://www.getopenerp.com/install-odoo-11-on-ubuntu-16-04/ 10/16
5/15/2019 Install Odoo 11 on Ubuntu 16.04 | GetOpenERP

STEP 12

WKHTMLTOPDF ( Supported Version 0.12.1 ) for Odoo

sudo apt-get -f install

sudo wget
https://github.com/wkhtmltopdf/wkhtmltopdf/release
s/download/0.12.1/wkhtmltox-0.12.1_linux-trusty-
amd64.deb

sudo dpkg -i wkhtmltox-0.12.1_linux-trusty-


amd64.deb

sudo cp /usr/local/bin/wkhtmltoimage
/usr/bin/wkhtmltoimage

sudo cp /usr/local/bin/wkhtmltopdf
/usr/bin/wkhtmltopdf

STEP 13

Now Start Odoo Server

https://www.getopenerp.com/install-odoo-11-on-ubuntu-16-04/ 11/16
5/15/2019 Install Odoo 11 on Ubuntu 16.04 | GetOpenERP

cd /opt/odoo/odoo

./odoo-bin

STEP 14

Go to web browser to access Odoo 11

http://localhost:8069

Your Feedback will be Appreciated. Thanks

FIXES

ISSUE 1 : E: Could not get lock /var/lib/dpkg/lock - open (11:


Resource temporarily unavailable) SOLUTION

sudo rm /var/lib/apt/lists/lock

sudo rm /var/cache/apt/archives/lock

https://www.getopenerp.com/install-odoo-11-on-ubuntu-16-04/ 12/16
5/15/2019 Install Odoo 11 on Ubuntu 16.04 | GetOpenERP

sudo rm /var/lib/dpkg/lock

https://www.getopenerp.com/install-odoo-11-on-ubuntu-16-04/ 13/16

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy