Installation of OpenERP
Here I am giving all steps of my installation
Installation of Dependencies:
Install the following dependencies:
Using cmd
$ sudo apt-get install postgresql (installed)
$ sudo apt-get install python-xml (installed)
$ sudo apt-get install python-lxml
$ sudo apt-get install python-libxml2 (installed)
$ sudo apt-get install python-libxslt1
$ sudo apt-get install python-psycopg2
$ sudo apt-get install python-imaging (installed)
$ sudo apt-get install python-pyparsing (not present in repository on 12 Oct,2009)
above not worked and I run the command
$ sudo easy_install python-pyparsing (it worked)
or u may also use (not verified by me)
$ sudo easy_install http://cheeseshop.python.org/packages/source
/p/pyparsing/pyparsing-1.5.0.tar.gz
$ sudo apt-get install python-reportlab
$ sudo apt-get install python-matplotlib
$ sudo apt-get install python-pyopenssl
$ sudo apt-get install python-pychart
$ sudo apt-get install python-pydot
$ sudo apt-get install python-tz (installed)
$ sudo apt-get install graphviz (installed)
$ sudo apt-get install ghostscript (installed)
$ sudo apt-get install python-gtk2 (installed)
$ sudo apt-get install python-glade2 (installed)
$ sudo apt-get install python-hippocanvas
$ sudo apt-get install python-egenix-mxdatetime (not present in repository on 12 Oct,2009)
download package from the following url and install:
http://packages.ubuntu.com/intrepid/i386/python-egenix-mxdatetime/download
or using synaptic package manager
Installation of TurboGear
It requires following dependencies from cmd or SPM
$ sudo apt-get install gcc (already newest vrsn)
$ sudo apt-get libc6-dev
$ sudo apt-get build-essential
$ sudo apt-get python-dev (already newest vrsn)
$ sudo apt-get python-setuptools (already newest vrsn)
$ sudo apt-get python-profiler
download package from the following url and install:
http://packages.ubuntu.com/hardy/all/python-profiler/download
Now install TurboGear. Following methods exist:
$ sudo easy_install TurboGears==1.0.7
Before you start OpenERP server, create a role in PostgreSQL without any password with the same name as the Linux user who is going to run the openerp-server:
$ sudo su postgres -c "createuser -d -S -R openerp"
OpenERP-Server:
For downloading openerp-server run the command:
$ wget http://www.openerp.com/download/stable/source/openerp-server-5.0.6.tar.gz
NOTE: version of the server must be considered, otherwise page not found message received.
$ tar -xzf openerp-server-5.0.6.tar.gz
$ cd openerp-server-5.0.6
$ sudo python setup.py install
It will take some time and terminal shows progress logs.
To start openerp server run the command:
$ openerp-server
OpenERP-Client:
For downloading openerp-client run the command:
$ wget http://www.openerp.com/download/stable/source/openerp-client-5.0.6.tar.gz
NOTE: version of the server must be considered, otherwise page not found message received.
$ tar -xzf openerp-client-5.0.6.tar.gz
$ cd openerp-server-5.0.6
$ sudo python setup.py install
It will take some time and terminal shows progress logs.
To start openerp server run the command:
$ openerp-client
openerp@openerp-server:~/Desktop/openerp-trunk/client/openerp-client-5.0.6$ openerp-client
WARNING:common.options:Config file /home/openerp/.openerprc does not exist !
(openerp-client.py:26949): libglade-WARNING **: Error loading image: Failed to open file '/usr/share/openerp-client/pixmaps/openerp_logo.png': No such file or directory
(openerp-client.py:26949): libglade-WARNING **: could not convert string to type `GdkPixbuf' for property `pixbuf'
OpenERP-Web:
Run the following command:
$ sudo easy_install -U openerp-web
To run the web server run the command:
$ openerp-web
NOTE: Installation seteps can also be found on
http://theindexer.wordpress.com/2009/03/11/installing-openerp-aka-tinyerp-stack-on-ubuntu-intrepid-810/