Monday, September 10, 2012

Installing OpenERP 6.1 on Ubuntu 12.04 LTS x64

Installing OpenERP on Ubuntu 12.04 LTS x64

In this tutorial I am running Ubuntu 12.04 LTS Server on VMware Workstation.

After Fresh Installation do a:
sudo apt-get update && apt-get upgrade && apt-get dist-upgrade

PostgreSQL Server Installation and Configuration:
 sudo apt-get install postgresql
Default superuser for PostgreSQL is "postgres" with no password.
Option I:
sudo su postgres
Create a new superuser for OpenERP:
createuser openerp
Shall the new role be a superuser? (y/n) y
Use table template1 and apply access rights:
psql template1
alter role openerp with password 'postgres'
 Option II:
sudo su postgres
createuser --createdb --username postgres --no-createrole --pwprompt openerp
Enter password for new role:
Enter it again:
Shall the new role be a superuser? (y/n) y

OpenERP Server Installation:
Install Prerequisites:
sudo apt-get install python-dateutil python-feedparser python-gdata 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-zsi
Grab the link of latest .deb package from here:
wget http://nightly.openerp.com/6.1/releases/openerp_6.1-latest-1_all.deb
Execute the package:
sudo dpkg -i openerp_6.1-latest-1_all.deb
Point your web browser to Server IP:
http://xx.xx.xx.xx:8069
 

1 comment: