Odoo Help

Welcome!

This community 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.

0

How to Install odoo deployment with multiple instance

By
YongHax
on 9/27/16, 11:27 AM 300 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

Jérémy Kersten (jke)

--Jérémy Kersten (jke)--
2993
| 3 2 5
Jodoigne, Belgium
--Jérémy Kersten (jke)--

Jérémy is a member of the core R&D team since september 2013. He developed several projects for OpenERP version 8 including the eCommerce, the Google Calendar synchronization and the new product variants/configurator. Now, he manages Odoo website and themes for saas.

Jérémy Kersten (jke)
On 9/27/16, 3:36 PM

Take a look in documentation.

And especially the part --db-filter


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

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

1 follower(s)

Stats

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