Is there a preferred location for a Zope instance? And if you have several Zope instances is there a suggested way of naming them? ie something like /var/zope/1 /var/zope/2 etc?... -- John
--On Donnerstag, 11. November 2004 15:40 Uhr +0000 John Poltorak <jp@warpix.org> wrote:
Is there a preferred location for a Zope instance?
Names and locations are like dust and smoke. Put them wherever you like and wherever you have diskspace :-) -aj
John Poltorak wrote:
Is there a preferred location for a Zope instance?
And if you have several Zope instances is there a suggested way of naming them? ie something like /var/zope/1 /var/zope/2 etc?...
If you follow the Linux Standard Base, I think you would end up with something like: - SOFTWARE_HOME: /usr/share/Zope-2.7.3 o We user /usr/share because Python modules don't go in the same locatin as "true" binaries under the LSB - INSTANCE_HOME: /var/db/zope - Command-line scripts should be installed / symlinked into /usr/bin - zopectl / zeoctl should be linked into /etc/init.d In practice, I have packaged things such that all the software went under /opt/zc, and all the instances under /var/zc. Tres. -- =============================================================== Tres Seaver tseaver@zope.com Zope Corporation "Zope Dealers" http://www.zope.com
On Thursday 11 November 2004 17:13, Tres Seaver wrote:
John Poltorak wrote:
Is there a preferred location for a Zope instance?
And if you have several Zope instances is there a suggested way of naming them? ie something like /var/zope/1 /var/zope/2 etc?...
If you follow the Linux Standard Base, I think you would end up with something like:
- SOFTWARE_HOME: /usr/share/Zope-2.7.3
I do it quite different: I created a user "zope" in the home directory (/home/zope), downloaded the sources into ~/packages, compiled them there and installed Zope into /home/zope/Zope-2.7.2. Then I created 2 Instances into /home/zope/inst-devel and /home/zope/inst-prod. To my mind this has the advantage that everything is on one place, it fits into my backup strategy and runs in user space. Best Regards, Hermann -- x1@aon.at GPG key ID: 299893C7 (on keyservers) FP: 0124 2584 8809 EF2A DBF9 4902 64B4 D16B 2998 93C7
On Thu, Nov 11, 2004 at 03:40:20PM +0000, John Poltorak wrote:
Is there a preferred location for a Zope instance?
If you are on FreeBSD, read the hier manpage ("hier -- layout of file systems") -- __________________________________________________ "Nothing is as subjective as reality" Reinoud van Leeuwen reinoud.v@n.leeuwen.net http://www.xs4all.nl/~reinoud __________________________________________________
On Thu, Nov 11, 2004 at 05:23:17PM +0100, Reinoud van Leeuwen wrote:
On Thu, Nov 11, 2004 at 03:40:20PM +0000, John Poltorak wrote:
Is there a preferred location for a Zope instance?
If you are on FreeBSD, read the hier manpage ("hier -- layout of file systems")
I'm not on *BSD but I would prefer to use the file system layout which it recommends. Since I don't have access to the document you mention, could you say where Zope should be installed on *BSD and where Zope instances should be created?
-- __________________________________________________ "Nothing is as subjective as reality" Reinoud van Leeuwen reinoud.v@n.leeuwen.net http://www.xs4all.nl/~reinoud __________________________________________________
-- John
On Thu, Nov 11, 2004 at 06:52:56PM +0000, John Poltorak wrote:
On Thu, Nov 11, 2004 at 05:23:17PM +0100, Reinoud van Leeuwen wrote:
On Thu, Nov 11, 2004 at 03:40:20PM +0000, John Poltorak wrote:
Is there a preferred location for a Zope instance?
If you are on FreeBSD, read the hier manpage ("hier -- layout of file systems")
I'm not on *BSD but I would prefer to use the file system layout which it recommends. Since I don't have access to the document you mention, could you say where Zope should be installed on *BSD and where Zope instances should be created?
the application itself should go under /usr/local (the FreeBSD port uses /usr/local/www/Zope but I prefer /usr/local/zope (stil using the port, but with an edited /usr/local/etc/pkgtools.conf for all zope and plone related ports)) The data is another issue. The hier manpage is not very clear about this and I think it depends on how you maintain your system. On a system with one site on it, putting it under /usr/local/zope/myinstance would be a logical place to find it. But if multiple different users maintain their own sites on the same server it could be under their home directory: /usr/home/username/zope In other environments where home directories might be mounted from different sources than directories with website content it can be something like /usr/local/www/www.mysite.com/zope /opt does not exist in (Free)BSD land. -- __________________________________________________ "Nothing is as subjective as reality" Reinoud van Leeuwen reinoud.v@n.leeuwen.net http://www.xs4all.nl/~reinoud __________________________________________________
participants (5)
-
Andreas Jung -
Hermann Himmelbauer -
John Poltorak -
Reinoud van Leeuwen -
Tres Seaver