Professional Documents
Culture Documents
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 postgresqldatabasestructure 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 linuxOSuser "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
> psycopg1.1.21.tar.gz http://initd.org/tracker/psycopg/wiki/PsycopgOne
./configurewithpostgresincludes=/usr/include/pgsqlwithmxdatetime
includes=/usr/local/lib/python2.5/sitepackages/mx/DateTime/mxDateTime
> pyparsing1.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
> tinyerpclient4.2.2.tar.gz
> tinyerpserver4.2.2.tar.gz
10. Install pyparsing
> cd /usr/tinyerp
> tar xvfz pyparsing1.4.2.tar.gz
> cd pyparsing1.4.2
> python setup.py install
11. Install reportlab
> cd /usr/tinyerp
> tar xvfz ReportLab_2_0.tgz
> cd /ReportLab2_0/reportlab
> python setup.py install
12. Install psycopg
> cd /usr/tinyerp
> tar xvfz psycopg1.1.21.tar.gz
> cd psycopg1.1.21
> ./configure withpostgresincludes=/usr/include/pgsql \
withpostgreslibraries=/usr/lib/postgresql \
withmxdatetimeincludes=/usr/lib/python2.4/sitepackages/mx/DateTime/mxDateTime
> make
> make install
OR
pythonpsycopg1.1.212.el5.rf.i386.rpm
13. Install TinyERP 4.2.2 or whatever version number is current
> Downloads to /usr/tinyerp
> tinyerpclient4.2.2tar.gz
> tinyerpserver4.2.2.tar.gz
> tar xvfz tinyerpclient4.2.2.tar.gz
> tar xvfz tinyerpserver4.2.2.tar.gz
14. Start TinyERP Server 4.2.2
> cd /usr/down/tinyerpserver4.2.2/bin
> python tinyerpserver.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/tinyerpclient4.2.2/bin
> python tinyerpclient.py
16. The user for testing
> login : demo
> pass : demo
OR
login : admin
passwd : admin
17. Install (WEBInterface)
> install TurboGears
> install matplotlib