+91-9643547392, +91-120-4559082sales@openstow.com

Installation of Odoo v8 on Ubuntu from Github

Odoo, formerly OpenERP has been founded in 2005. Odoo thrives in a unique and fully open ecosystem combining the resources of its open source community, partners’ network and vendor. OpenERP is moving into new territories, beyond ERP. So, OpenERP renamed the product and company into “Odoo”. Odoo is a suite of business apps, not only an ERP. 200.000 users are using one application only. To break this “one big block” image of traditional ERPs, they wanted a name that they can compose to create names for every standalone application.
To install Odoo 8 to Ubuntu (Linux) from Github Repository . You are 15 steps away from exploring Next Big Revolution : ODOO 8. Open the terminal and execute below commands step-by-step to achieve excellence.
Reference : http://getopenerp.com/install-odoo-v8-ubuntu-github/

Step 1

Update apt source listsudo apt-get update

Step 2

Install Updatessudo apt-get upgrade

Step 3

Install Python Dependencies for OpenERP / Odoosudo apt-get install python-dateutil python-docutils python-feedparser python-jinja2 python-ldap python-libxslt1 python-lxml python-mako python-mock python-openid python-psycopg2 python-psutil python-pybabel python-pychart python-pydot python-pyparsing python-reportlab python-simplejson python-tz python-unittest2 python-vatnumber python-vobject python-webdav python-werkzeug python-xlwt python-yaml python-zsi poppler-utils python-pip

Step 4

Install supporting packages for OpenERP v8sudo apt-get install gcc python-dev mc bzr python-setuptools python-babel python-feedparser python-reportlab-accel python-zsi python-openssl python-egenix-mxdatetime python-jinja2 python-unittest2 python-mock python-docutils lptools make python-psutil python-paramiko poppler-utils python-pdftools antiword postgresql

Step 5

Install Postgresql and GITsudo apt-get install python-software-properties
sudo add-apt-repository ppa:pitti/postgresql
sudo apt-get update
sudo apt-get install postgresql-9.2 git-core

Step 6

Create Database user for OpenERP Odoosudo su postgres
password: XXXXXXXXXX
postgres@openerp-desktop:/$ createuser openerp
Shall the new role be a superuser? (y/n) y

Step 7

Create Odoo user and groupsudo adduser –system –home=/opt/openerp –group openerp

Step 8

Download & Install Gdatacd /opt/openerp
sudo wget http://gdata-python-client.googlecode.com/files/gdata-2.0.17.tar.gz
sudo tar zxvf gdata-2.0.17.tar.gz
sudo chown -R openerp: gdata-2.0.17
sudo -s
cd gdata-2.0.17/
python setup.py install
cd ..

Step 9

Get lastest Odoo 8 from github repositorysudo git clone https://github.com/odoo/odoo.git
sudo chown -R openerp: odoo

Step 10

Create folder for custom and test addonssudo mkdir custom-addons test-addons
sudo chown -R openerp: custom-addons
sudo chown -R openerp: test-addons

Step 11

Create Odoo Log filesudo mkdir /var/log/openerp
sudo chown -R openerp:root /var/log/openerp

Step 12

Edit OpenERP (Odoo v8) configuration Filesudo cp /opt/openerp/odoo/setup/debian/openerp-server.conf /etc/openerp-server.conf
sudo chown openerp: /etc/openerp-server.conf
sudo gedit /etc/openerp-server.conf
#Copy and paste below content in config file , write correct addons paths
[options] ; This is the password that allows database operations:
admin_passwd = PASSWORD
db_host = False
db_port = False
db_user = odoo
db_password = False
addons_path = /opt/odoo/v8/addons,/opt/odoo/v8/web/addons
;Log settings
logfile = /var/log/openerp/openerp-server.log
log_level = error

Step 13

SetUp OpenERP service filesudo cp /opt/openerp/odoo/openerp-server /etc/init.d/openerp-server
sudo chmod 755 /etc/init.d/openerp-server
sudo chown root: /etc/init.d/openerp-server
sudo update-rc.d openerp-server defaults
sudo service openerp-server start

Step 14

Now Start OpenERP (Odoo) Servercd /opt/openerp/odoo

Step 15

Go to Web Browser to access Odoo 8http://localhost:8069
Following are the other extra commands to be used while installing and using OpenERP when unusual error occurred such as:

Error 1. “Address already in use “: Then check the port through

ps aux | grep openerp

locate openerp

kill -9 portno.

Error 2. “Module or dependency not found”: then install that through

sudo apt-get install name_dependency

Error 3. “ImportError No module named ‘requests'” : then follow below commands

pip install requests

python setup.py install

Now you can start exploring new OpenERP i.e Odoo 8. Have Fun. “Open Source is for Open Minds.” If you need any Help or Support regarding OpenERP / Odoo. Feel free to connect on below mentioned details.

Leave a Comment

Contact Us

We're not around right now. But you can send us an email and we'll get back to you, ASAP.