Wednesday, September 9, 2009

Open ERP A B C on UBUNTU Server

INSTALLING SERVER

Installing Dependencies

sudo apt-get install python python-psycopg2 python-reportlab \
python-egenix-mxdatetime python-xml python-tz python-pychart \
python-pydot python-lxml python-libxslt1 python-vobject

Getting Server

EITHER YOU GET IT FROM LAUNCHPAD -


sudo apt-get install bzr

bzr branch lp:openobject-server

bzr branch lp:openobject-addons

please note from bzr you find the openobject which has addons seprately thus you need to
take the another branch for addons .

OR YOU CAN EASILY GET THE WHOLE OPENERP SERVER WITH ADDONS FROM

wget http://openerp.com/download/stable/source/openerp-server-5.0.3.tar.gzgo to current directory where you have saved it by cd ./../openerp-server-5.0.3.tar.gz

and extract
tar -zxvf openerp-server-5.0.3.tar.Installing dependencies for Webserver

get the webserver as same way you got the openerp server either of the option \

and install

apt-get install python python-dev build-essential
sudo apt-get install python-setuptools

then go to lib/ directory
lib/./populate.sh will install all the required dependencies

Starting servers

openerp server

go to the bin directory of open erp server and launch ./openerp-server.py

else go to the bin directory of openobject server and
lauch ./openerp-server.py --addons-path= ../../addons"


webclint server

simply go to openerp-webclint folder
and launch ./openerp-client.py

make sure you have isntalled all the dependencies


Installation of database


you can install postgresql through
sudo apt-get install postgres


Creation of user

and go to postgres user

sudo su postgres

then you can create a user with the same name as of your account

for example youare loged in enova account
then create user

createuser enova


now you are ready to go live with open erp

thanks and regards
satyamitra




No comments: