On Feb 11, 1:52 am, Flatfender <[email protected]> wrote:
> On Tue, Feb 10, 2009 at 5:26 AM, Eirik Schwenke
> <[email protected]> wrote:
> > Oliver Marshall skrev 10. feb. 2009 09:58:
> >> Hi chaps,
>
> >> Is it possible to run two versions of Trac on one server? We are using a
> >> normal Trac install at the moment with SVN. However we are working on a
> >> new product for some clients which is based on a highly modified version
> >> of Trac. Currently we are looking at a separate box each, though this is
> >> only because the tech's don't know if (how) we can run both versions on
> >> one server.
>
> >> The current Trac setup is more than enough to handle all the requests so
> >> I'm keen to save some budget and get the one box working for it's dinner.
>
> >> Anyone know whether this is possible at all ?
>
> > If the system now is able to run a newer version of trac (ie you have a
> > reasonably up to date python available) -- there shouldn't be a problem.
>
> > You have a couple of options, depending on how much separation you want/need
> > between the to instances. You might want to look at:
>
> > http://trac.edgewall.org/wiki/TracDev/DevelopmentEnvironmentSetup
>
> > for a general overview of how to use trac and python's virtualenv together.
> > It's a great way to set up test-environments for trac, without creating
> > problems for your regular installs.
>
> > If you want more separation than this, you might look at runnig a chroot or
> > a
> > vserver/jail if your server is a linux or *bsd box. Personally I'm a great
> > fan
> > of Debian, and the combination of cdebootstrap and the schroot or vserver
> > packages is a great way to run certain packages from eg. sid/unstable on a
> > server running mainly etch/stable code.
>
> > Hope this helps to get you started.
>
> I would think you could use two different virtual hosts with apache
> and then usemod_wsgiand have your wrapper scripts point to each
> separate trac install.
It doesn't have to be two virtual hosts, mod_wsgi separates based on
WSGI application mount point.
Either way, you would be much better of delegating each instance to
separate daemon process and separate virtual environment so no risk of
interference, especially if different versions of C extension modules
used.
For further details see:
http://code.google.com/p/modwsgi/wiki/IntegrationWithTrac
http://code.google.com/p/modwsgi/wiki/VirtualEnvironments
Graham
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Trac
Users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/trac-users?hl=en
-~----------~----~----~----~------~----~------~--~---