콘텐츠로 건너뛰기
메뉴
커뮤니티에 참여하려면 회원 가입을 하시기 바랍니다.
신고된 질문입니다
7 답글
7346 화면

please tell me the procedure of how to create multiple instances of Odoo 11 on windows.

How i can create odoo 11 service on windows.

아바타
취소

Hi,

 Thanks for your reply,

here is my senior for better understanding if you help out me it will be a very grateful.


its our development window based server where we want to run multiple odoo 11 instances and their services.

for example

Code Folder: C:/ Odoo11_1 (odoo 11 code folder)

URL: localhost:8060

Window Service: odoo11_60

Similarly for another instance,

Code Folder: C:/ Odoo11_2 (odoo 11 code folder)

URL: localhost:8061

Window Service: odoo11_61

Regards,

Fawad


From: Piotr Cierkosz <piotr.w.cierkosz@gmail.com>
Sent: Monday, April 23, 2018 5:44:32 PM
To: Fawad Mazhar
Subject: Re: how to create multiple instances of Odoo 11 on windows
 

A new answer on how to create multiple instances of Odoo 11 on windows has been posted. Click here to access the post :

See post

--
Piotr Cierkosz


Sent by Odoo S.A. using Odoo.

베스트 답변

By the way, It need to be tested because I never tested it and i will test it today and come back to you.

You will need to install odoo as source (see the below link) and add two sources folder for odoo and you will modify the config files to change the port and addons, log paths. To run instances for each Odoo from command line as below:

For Odoo11_1:

C:\Odoo11_1 > python odoo-bin

For Odoo11_2:

C:\Odoo11_2 > python odoo-bin

Source installation:

https://www.odoo.com/documentation/11.0/setup/install.html#source-install

아바타
취소

I have tested it and its working:

- Install odoo source installation as below:

https://www.odoo.com/documentation/11.0/setup/install.html#source-install

- I have two odoo folders and I modified the odoo config file to modify the addons and log path and port number

- then I used command to run each odoo as below:

For Odoo11_1

C:\Odoo11_1 > python odoo-bin

For Odoo11_2

C:\Odoo11_2 > python odoo-bin

베스트 답변

I am running multiple servers on one Windows PC. The basic flow is:

- use installation file from https://nightly.odoo.com/11.0/nightly/ (exe)

-specify different port/user for each instance (fe: only one Odoo server will work on 8069)

Alternatively, you could just run Odoo in Docker (https://docs.docker.com/docker-for-windows/) create multiple containers for your Odoo builds.

아바타
취소
작성자

When I install odoo again with different Port assign but it do not create another odoo start /stop service. by Default it create once in 1st installation.

could you tell me please how i can create odoo service manually in windows platform.

will try to come up with a tutorial this week (won't promise but will try). You need multiple instances just for dev/testing or you want to host production servers?

작성자

its our development window based server were we want to run multiple odoo 11 instances and their services.

for example

Code Folder: C:/ Odoo11_1 (odoo 11 code folder)

URL: localhost:8060

Window Service: odoo11_60

Similarly for another instance,

Code Folder: C:/ Odoo11_2 (odoo 11 code folder)

URL: localhost:8061

Window Service: odoo11_61