Odoo Help

0

Multiple Odoo instances on single CentOS dedicated server

By
Marty Langen
on 10/31/15, 5:19 PM 783 views

Hi there,

we would like to install multiple instances of Odoo on a clean CentOS server. There are multiple divisions/locations of our company and each requires its own odoo instance.  

Has anyone been able to successfully do this?  If so is there a guide?

Ideally we would like to see the following:

http://xxx.siteone.com --> odoo 1 instance

http://yyy .siteone.com --> odoo 2 instance

http://xxx.siteTwo.com --> odoo 3 instance

etc...

Is this possible?  If it is are there any good guides you are aware of? I've tried searching with no success.


0

Yenthe

--Yenthe--
7242
| 7 7 8
Turnhout, Belgium
--Yenthe--

My Odoo blog: http://www.odoo.yenthevg.com/

My Twitter: https://twitter.com/Yenthe666

Yenthe
On 11/2/15, 2:42 AM

Hi Marty,

Ofcourse this is possible! The basic idea behind this is to install multiple Odoo instances on multiple locations. I've made an installation script that does all of this and which works fully automated. See: https://github.com/Yenthe666/InstallScript/

An example based on your example:
- http://xxx.siteone.com would be named 'xxxsiteone' on this line of the script: https://github.com/Yenthe666/InstallScript/blob/9.0/odoo_install.sh#L19
- http://yyy.siteone.com would be named 'yyysiteone' on this line of the script: https://github.com/Yenthe666/InstallScript/blob/9.0/odoo_install.sh#L19
- http://xxx.siteTwo.com would be named 'sitetwo' on this line of the script: https://github.com/Yenthe666/InstallScript/blob/9.0/odoo_install.sh#L19

This would install and configure three different Odoo code bases. You can even choose which version of Odoo you would like on this line: https://github.com/Yenthe666/InstallScript/blob/9.0/odoo_install.sh#L29 The different Odoo's would be under /yyysiteone/yyysiteone-server, yyysiteone/yyysiteone-server and under /sitetwo/sitetwo-server.
The only thing that is not included in my script is db-filter and forwarding to a correct URL.There are some topics about this on the help forum too though! The main idea is to redirect your internal Odoo to the webhosting with pointers. You could do this with Nginx and your hosting provider for example.

Yenthe

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: 10/31/15, 5:19 PM
Seen: 783 times
Last updated: 11/2/15, 2:45 AM