You are on page 1of 3

Installation procedure of TinyERP Version 4.2.

2 on RHEL5 
01. Install Rhel5 Full 
02.Edit file "pg_hba.conf"
­> cd /var/lib/pgsql/data
­> add/activate following lines in "pg_hba.conf"
­> local all all trust
­> host all all 127.0.0.1 255.255.255.255 trust 
03. Start Postgresql (with first start postgresql­database­structure will be created)
­> service postgresql restart

04.Change user
­> su postgres

05..$ createuser ­U postgres ­­createdb ­­adduser ­P terp
CREATE USER
06. $ createdb ­U postgres ­O terp ­­encoding=UNICODE terp 
CREATE DATABASE
07. The linux­OS­user "postgres" was created with the installation of postgresql 
08. Create directory
­> mkdir /usr/tinyerp (or as you prefer) 

09. Download to /usr/tinyerp
­> ReportLab_2_0.tgz                                      http://www.reportlab.org/downloads.html
­> psycopg­1.1.21.tar.gz                                    http://initd.org/tracker/psycopg/wiki/PsycopgOne
./configure­­with­postgres­includes=/usr/include/pgsql­­with­mxdatetime­
includes=/usr/local/lib/python2.5/site­packages/mx/DateTime/mxDateTime
­> pyparsing­1.4.2.tar.gz                                    http://sourceforge.net/projects/pyparsing/
­>for SuSE10.3 RC1: Python Time Zone Library PyTZ 
http://sourceforge.net/project/showfiles.php?group_id=79122&package_id=80455&release_id=46
9616
­> tinyerp­client­4.2.2.tar.gz
­> tinyerp­server­4.2.2.tar.gz 

10. Install pyparsing
­> cd /usr/tinyerp
­> tar xvfz pyparsing­1.4.2.tar.gz
­> cd pyparsing­1.4.2
­> python setup.py install 

11. Install reportlab
­> cd /usr/tinyerp
­> tar xvfz ReportLab_2_0.tgz
­> cd /ReportLab­2_0/reportlab
­> python setup.py install 

12. Install psycopg
­> cd /usr/tinyerp
­> tar xvfz psycopg­1.1.21.tar.gz
­> cd psycopg­1.1.21
­> ./configure ­­with­postgres­includes=/usr/include/pgsql \
­­with­postgres­libraries=/usr/lib/postgresql \
­­with­mxdatetime­includes=/usr/lib/python2.4/site­packages/mx/DateTime/mxDateTime 
­> make
­> make install 

                             OR

python­psycopg­1.1.21­2.el5.rf.i386.rpm

13. Install TinyERP 4.2.2 ­ or whatever version number is current
­> Downloads to /usr/tinyerp
­> tinyerp­client­4.2.2tar.gz
­> tinyerp­server­4.2.2.tar.gz
­> tar xvfz tinyerp­client­4.2.2.tar.gz
­> tar xvfz tinyerp­server­4.2.2.tar.gz 

14. Start TinyERP Server 4.2.2
­> cd /usr/down/tinyerp­server­4.2.2/bin
­> python tinyerp­server.py ­d terp ­r terp ­w tinyerp
(­w tinyerp when entered as password in step 08, otherwise the password you entered) 

15. Start TinyERP Client 4.2.2
­> open new console (normal user)
­> cd /usr/down/tinyerp­client­4.2.2/bin
­> python tinyerp­client.py 
16. The user for testing
­> login : demo
­> pass : demo 

  OR

login : admin

passwd : admin

17. Install (WEB­Interface) 
­> install TurboGears
­> install matplotlib

You might also like