INSTALLATION OPENERP VERSION 7.0 SOUS UBUNTU 14.04 LTS

16:39


Install OpenERP 7.0 on Ubuntu 14.04 LTS, a step by step guide to install OpenERP from source

 

Update apt source list

sudo apt-get update

install required packages for openerp

sudo apt-get install graphviz ghostscript postgresql-client \
python-dateutil python-feedparser python-matplotlib \
python-ldap python-libxslt1 python-lxml python-mako \
python-openid python-psycopg2 python-pybabel python-pychart \
python-pydot python-pyparsing python-reportlab python-simplejson \
python-tz python-vatnumber python-vobject python-webdav \
python-werkzeug python-xlwt python-yaml python-imaging

install some other packages that we will probably need in future

sudo 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

install gdata client (since ubuntu package is old we download and install from source)

wget http://gdata-python-client.googlecode.com/files/gdata-2.0.17.tar.gz
tar zxvf gdata-2.0.17.tar.gz
cd gdata-2.0.17/
sudo python setup.py install

create a new openerp system user for openerp and other related processes

sudo adduser openerp --home /opt/openerp

Create database user for openerp

createuser --createdb --username postgres –no-createrole --pwprompt openerp

move to the install directory

sudo su openerp
mkdir /opt/openerp/v7
cd /opt/openerp/v7

download the latest revision from launchpad
cd /opt/openerp
tar zxvf openerp-7.0-latest.tar.gz
sudo cp -R openerp-7.0-latest/* /opt/openerp/v7

Copy OpenERP configuration file to /etc
sudo cp /opt/openerp/v7/install/openerp-server.conf /etc/openerp-server.conf

Edit the configuration file
sudo nano /etc/openerp-server.conf

Write your database operation password and remove the semicolon of that line. Also add the addons_path to the end of file, my file looks like below.

[options]
; This is the password that allows database operations:
admin_passwd = PASSWORD
db_host = False
db_port = False
db_user = openerp
db_password = False
addons_path = /opt/openerp/v7/openerp/addons

Change the file permissions and file ownership to the openerp user.

sudo chown openerp: /etc/openerp-server.conf
sudo chmod 640 /etc/openerp-server.conf

Run the server

sudo su openerp
cd /opt/openerp/v7/server/
./openerp-server







You Might Also Like

1 commentaires

  1. You have to fix some error in your command lines, there are some missing and extra character.

    RépondreSupprimer

Popular Posts

Formulaire de contact

Nom

E-mail *

Message *