Community mailing list archives

community@mail.odoo.com

Re: Multiple Companies

by
Joseph Andrade
- 06/15/2015 09:12:52
Hi Mathias,

I think Nginx is quite expensive as a permanent solution especially for a new business like mine. Do you have any alternative to this?

Many thanks.

On Mon, 15 Jun 2015 at 13:54 Joseph Andrade <jandrade42@gmail.com> wrote:
Hi Dominique,

Many thanks for your email.

One question though, this script is creating a new Odoo install? So the only advantage is that the install is fully automated? Can I have multiple Odoo installs on the same server?

I think that what Mathias Neef proposes is the best solution for me since I can have multiple websites for my different businesses, but all under the same Odoo Server.

I just duplicated the DB and it worked well, now I am about to install Nginx and the follow the instructions for the DB Domain config. The best thing for Matthias' solution would be to get a script to do this automatically. :)

Many thanks to all.

On Mon, 15 Jun 2015 at 01:16 Dominique Chabord <dominique.chabord@sisalp.org> wrote:
hello,

here is the documentation you can start with.
https://docs.google.com/document/d/1lKIHZcc3TFOUrjQebQ-sVyQ000mIv9gkxJSbCt0JQjE/edit?usp=sharing

To run this script, you need a fresh install of Ubuntu 14.04 or Debian
7.0 server.
I recommand using it on a virtual machine. If you install it on a
local server, consider openVZ and install proxmox on this server. This
script is tested on openvz containers.
The script is supposed to install everything required on a minimal
initial install.
The result is a true production environment for multi-tenant server.
It may be more complex than many will advice but most of what is done
is required for production with several servers.
Take a look and don't hesitate to ask to the support link indicated.
There may be small problems that should not stop you.
You will need to adapt /etc/apache2/sites-available/000-defaults to
set the root to /var/www if you want to get the graphical management
tool (I 'm lazy and should patch the script for this)


By the way, there is an alternative based on Docker proposed by
Anybox. It is new fashion but still requires more skills than a script
which is supposed to do it for you.

Hope this helps.

2015-06-14 17:58 GMT+02:00 Joseph Andrade <jandrade42@gmail.com>:
> Hi, a script would be great but what would I need to run it?
>
> Many thanks.
>
>
> On Sun, 14 Jun 2015 4:39 PM Dominique Chabord <dominique.chabord@sisalp.org>
> wrote:
>>
>> >> Hi,
>> >>
>> >> I have recently installed Odoo and all the basic functionality for one
>> >> of
>> >> my small businessses.
>> >>
>> >> I want to duplicate this install for 2 other small businesses of mine.
>> >> What should I do, the Multiple Companies could be a solution but the
>> >> problem
>> >> is that this choice gives me only one Website.
>> >>
>> >> How can I duplicate my Odoo install for my other businesses, do I have
>> >> to
>> >> install all of Odoo again? perhaps into another directory?
>>
>> The more separate your companies are the better.
>> Separate :
>> - copies of code
>> - processes
>> - ports
>> - postgresql roles
>> - linux users
>> - urls
>> - certificates
>>
>> I made a script for such a production environment, just ask and I'll
>> search the pointer.
>>
>>
>>
>> >>
>> >> I hope you can share some of your experience.
>> >>
>> >> Many thanks.
>> >>
>> >> _______________________________________________
>> >> Mailing-List: https://www.odoo.com/groups/community-59
>>
>> >> Post to: mailto:community@mail.odoo.com
>> >> Unsubscribe: https://www.odoo.com/groups?unsubscribe
>> >>
>> >>
>> >> _______________________________________________
>> >> Mailing-List: https://www.odoo.com/groups/community-59
>> >> Post to: mailto:community@mail.odoo.com
>> >> Unsubscribe: https://www.odoo.com/groups?unsubscribe
>> >
>> > _______________________________________________
>> > Mailing-List: https://www.odoo.com/groups/community-59
>> > Post to: mailto:community@mail.odoo.com
>> > Unsubscribe: https://www.odoo.com/groups?unsubscribe
>>
>> _______________________________________________
>> Mailing-List: https://www.odoo.com/groups/community-59
>> Post to: mailto:community@mail.odoo.com
>> Unsubscribe: https://www.odoo.com/groups?unsubscribe
>
> _______________________________________________
> Mailing-List: https://www.odoo.com/groups/community-59
> Post to: mailto:community@mail.odoo.com
> Unsubscribe: https://www.odoo.com/groups?unsubscribe

_______________________________________________
Mailing-List: https://www.odoo.com/groups/community-59
Post to: mailto:community@mail.odoo.com
Unsubscribe: https://www.odoo.com/groups?unsubscribe