Thursday, January 17, 2013

installing many openerps on same machine(openerp mass hosting)

install the the openerp on ubuntu server using following commands.
we can also build from the source but its more easy to have using deb (binary) package.and install webmin (its a project on source forge) too for more convenience .


copy the openerp file

sudo su
cp -a /etc/init.d/openerp /etc/init.d/openerp-new

now in file openerp-new do the following 3 changes


NAME=openerp-server-new
DESC=openerp-server-new
CONFIG=/etc/openerp/openerp-server-new.conf

then copy the openerp-server.conf file to openerp-server_new.conf


cp -a /etc/openerp/openerp-server.conf /etc/openerp-server-new


add the 1 line in that file
xmlrpc_port = 8080 # port no on which openerp listen

db-user=openerp-new

Using webmin or by command line create a user call openerp-new 
 or
sudo su - postgres
createuser --createdb --username postgres --no-createrole --no-superuser --pwprompt openerp-new
 
 
/etc/init.d/openerp-new restart and we are ready to go

http://ip-address:8080
http://ip-address:8069

No comments:

Post a Comment