Installation of OpenERP 7.0 in Ubuntu

Installation of OpenERP 7.0 in Ubuntu

Operating System : Ubuntu 12.04 LTS
Installation Directory : /opt/openerp/
OpenERP testing Server’s IP : 172.16.1.1

Prerequisite Requirements:

  • Python2.7
  • Python Modules
  • PostgreSQL 9.1

OpenERP Version : Open ERP 7.0 (All In One)

Download URL : http://nightly.openerp.com/7.0/nightly/src/openerp-7.0-latest.tar.gz

Installation Steps:

Step 1: Install all the python modules .

sudo apt-get install python-docutils
sudo apt-get install python-gdata
sudo apt-get install python-mako
sudo apt-get install python-dateutil
sudo apt-get install python-feedparser
sudo apt-get install python-lxml
sudo apt-get install python-tz
sudo apt-get install python-vatnumber
sudo apt-get install python-webdav
sudo apt-get install python-xlwt
sudo apt-get install python-werkzeug
sudo apt-get install python-yaml
sudo apt-get install python-zsi
sudo apt-get install python-unittest2
sudo apt-get install python-mock
sudo apt-get install python-libxslt1
sudo apt-get install python-ldap
sudo apt-get install python-reportlab
sudo apt-get install python-pybabel
sudo apt-get install python-pychart
sudo apt-get install python-openid
sudo apt-get install python-simplejson
sudo apt-get install python-psycopg2
sudo apt-get install python-vobject

Step 2: Download the Open-ERP 7.0 package

wget http://nightly.openerp.com/7.0/nightly/src/openerp-7.0-latest.tar.gz

Step 3: : Install PostgreSQL Server and configure it

sudo apt-get install postgresql
Edit the file for network access to postgreSQL server
vi /etc/postgresql/9.1/main/postgresql.conf
 Edit the line as given below
listen_addresses = '*'
 Edit the file pg_hba.conf
vi /etc/postgresql/9.1/main/pg_hba.conf
host all all 0.0.0.0/0 md5
Reset the postgres user password .
su -l postgres
psql
ALTER USER postgres WITH PASSWORD 'openerp';
q
exit
Restart the postgreSQL Server
/etc/init.d/postgresql restart
Check the login with passwd openerp
psql -U postgres -h localhost
for exiting from postgresql type
q

Step 4: login with super user

sudo su -

Step 5:
After installing postgresql, login with user postgres.Create the DB and exit.

su -l postgres
createuser –createdb –username postgres –no-createrole –no-superuser –pwprompt openerp
exit

Step 6:Extract the openerp-7.0-latest.tar.gz to /opt/

tar -xvzf openerp-7.0-latest.tar.gz -C /opt

Step 7: Rename the extracted directory as openerp and create a user called openerp

cd /opt/
mv openerp-7.0-20130206-000101 openerp
adduser --system --home=/home/openerp --group  openerp
chown -R openerp:openerp *

Step 8: Give bash login to openerp user

usermod -s /bin/bash openerp

Step 9: Copy the openerp-server.conf file to /etc

cp -p /opt/openerp/install/openerp-server.conf /etc/openerp-server.conf

Step 10: Edit the /etc/openerp-server.conf file and edit the following line

db_user = openerp

Step 11: Start the postgreSQL in server

/etc/init.d/postgresql start

Step 12: Start the OpenERP Server

nohup /opt/openerp/openerp-server &

 

Step 18:
Check the url now :http://172.16.1.1:8069 note: openERP uses the port no. 8069

1 thought on “Installation of OpenERP 7.0 in Ubuntu”

Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.