Odoo Help

0

How to Install odoo deployment with multiple instance

By
YongHax
on 9/27/16, 11:27 AM 1,034 views

Hi, 

i'm a new in odoo & centos 7, can i get instruction how to install odoo v.9 deployment with multiple instance and different database?

Assistance in this regard will be greatly appreciated.

Thanks.

0
Thanh Loyal
On 9/27/16, 10:08 PM

First, you should have a look  at this tutorial:

https://panovski.me/install-odoo-8-on-centos-7/

it was written for Odoo 8 and Postgresql 9.3, but you can do the same to install Odoo 9 and later Postgres (note that you need to change git command to clone source code from branch 9.0).

Then when you are familiar with that, you may find it is easy to "clone" an instance of Odoo to another one.

Just copy and paste source code (command cp -r in linux) and modify the path, e.g:

ExecStart=/home/odoo/odoo/bin/python /opt/odoo/openerp-server --config=/etc/odoo-server.conf

to

ExecStart=/home/odoo/odoo/bin/python /opt/odoo2/openerp-server --config=/etc/odoo-server2.conf

(this case, I use the same Python Virtual Environment in  /home/odoo/odoo/bin/python)

And also change port number in configuration file. Spend some time to consume https://www.odoo.com/documentation/9.0/reference/cmdline.html to under stand xmlrpc port and db filter parameters

This way you can deploy serveral Odoo instance on one server.

If you want to deploy all instances using port 80, you should use nginx as proxy.

0

Take a look in documentation.

And especially the part --db-filter


https://www.odoo.com/documentation/9.0/setup/deploy.html

About This Community

This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.

Register

Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

1 follower(s)

Stats

Asked: 9/27/16, 11:27 AM
Seen: 1034 times
Last updated: 9/27/16, 10:08 PM