• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
sharadchhetri

sharadchhetri

Tutorials On Linux, Unix & Open Source

  • Home
  • Linux Commands
  • Resources
    • Learn Linux
  • My WordPress plugins

Installation of OpenERP 7.0 in Ubuntu

March 16, 2013 by Sharad Chhetri 1 Comment

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

Share this:

  • Twitter
  • Facebook
  • More
  • Print
  • Email
  • LinkedIn
  • Reddit
  • Tumblr
  • Pinterest
  • Pocket
  • Telegram
  • WhatsApp
  • Mastodon

Related posts:

  1. master admin password openerp 7.x
  2. check_openerp nagios plugin for openerp service check
  3. Prevent starting service after package installation on Ubuntu / Debian
  4. Add swap file in linux without reboot after OS installation
  5. Quick installation of Google Chrome in Linux Mint 15 Olivia
  6. Easy and quick installation of VirtualBox 4.2.10 in Linux Mint Olivia
  7. Set GRUB password after installation of CentOS/Red Hat
  8. How to find installation date and time of rpm package
  9. How to test rpm package before installation
  10. Create bootable usb key for CentOS 7 installation

Filed Under: Linux, openerp Tagged With: openerp

Reader Interactions

Comments

  1. Atul says

    June 26, 2013 at 5:37 am

    It’s been a good tutorial to install OpenERP.

    Reply

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

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

Primary Sidebar

Our Social Media Presence

  • Facebook
  • GitHub
  • Twitter

Linux Command

What is Linux Internal And External Command

Linux Basic Commands With Examples For Every Beginner

tr command to convert lines to space , tab and vertical tab

smbpasswd command not found on CentOS 7 and RHEL 7

Solution : semanage command not found

Unix / Linux : How to print duplicate lines from file

More Posts from this Category

You Might Like These Articles!

simplecodesyntax wordpress plugin

SimpleCodeSyntax : My Another WordPress Plugin

Install Nginx

How To Install Nginx On Ubuntu 22.04 LTS

Install Latest Git package in Ubuntu Operating System

How To Always Install Latest Git Package In Ubuntu Operating System

Bash script for installing VirtualBox on Ubuntu 22.04 LTS Desktop

Install VirtualBox On Ubuntu 22.04 LTS Desktop (Bash Script)

libfuse

dlopen(): error loading libfuse.so.2 – Got Error On Ubuntu

Failed to open/create the internal network

VirtualBox Error: Failed to open/create the internal network

Always Useful Tips And Tricks

Install libjpegtran by using yum command in CentOS 6.x

How to use grep command to get fixed pattern or exact keyword

shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory

Change the default port number of ssh server

How to put slider shortcode only in home page in WordPress

Allow wget and yum in iptable

Error: Could not stat() command file ‘/var/lib/nagios3/rw/nagios.cmd’!

Explore 90+ Article On "Linux Tips And Tricks"

Copyright © 2023 ·
The material in this site cannot be republished either online or offline, without our permission.
Proudly Blogging From Bharat.

  • Contact
  • About Me
  • My WordPress plugins
  • Privacy Policy