<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.2900.2769" name=GENERATOR></HEAD>
<BODY>
<DIV dir=ltr align=left><SPAN class=368534210-04122005><FONT face=Arial 
size=2>Folks</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=368534210-04122005><FONT face=Arial 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV dir=ltr align=left><SPAN class=368534210-04122005><FONT face=Arial 
size=2>Firstly, thanks to all those who replied...&nbsp; I am pleased to say 
that I have an Test installation working .. Whoohoo..! </FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=368534210-04122005><FONT face=Arial 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV dir=ltr align=left><SPAN class=368534210-04122005><FONT face=Arial 
size=2>If anyone see's any gapping security, configuration holes or poor 
practices, please drop me a line, otherwise, I have document the how's and 
what's of what I finally ended up doing so that it might save someone else the 
time, effort and frustration I had.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=368534210-04122005><FONT face=Arial 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV dir=ltr align=left><SPAN class=368534210-04122005><FONT face=Arial 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV dir=ltr align=left><SPAN class=368534210-04122005><FONT face=Arial 
size=2>After much banging of heads, scratching of unmentionables and a "little" 
bit of swearing, I think I have it pegged... </FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=368534210-04122005><FONT face=Arial 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV dir=ltr align=left><SPAN class=368534210-04122005><FONT face=Arial 
size=2>OK, start off with my major mistakes;</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=368534210-04122005><FONT face=Arial 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV dir=ltr align=left><SPAN class=368534210-04122005><FONT face=Arial 
size=2>1)&nbsp; I chose to install&nbsp;the "pristine" application in a 
/home/&lt;user&gt; directory, </FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=368534210-04122005><FONT face=Arial 
size=2>&nbsp;&nbsp;&nbsp;&nbsp; this now appears to have been a bad choice due 
to permissions and access issues.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=368534210-04122005><FONT face=Arial 
size=2>&nbsp;&nbsp;&nbsp;&nbsp; I really just needed a non-root user account to 
actually run Zope, not a non-root user account to install it 
in...</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=368534210-04122005><FONT face=Arial 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV dir=ltr align=left><SPAN class=368534210-04122005><FONT face=Arial 
size=2>2) I hadn't fully read and comprehended the zope.conf 
comments</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=368534210-04122005><FONT face=Arial 
size=2>&nbsp;&nbsp;&nbsp; I have now read (numerous times) the comments and am 
beginning to get a better understanding of the intracasacies</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=368534210-04122005><FONT face=Arial 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV dir=ltr align=left><SPAN class=368534210-04122005><FONT face=Arial 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV dir=ltr align=left><SPAN class=368534210-04122005><FONT face=Arial 
size=2>Our Environment; </FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=368534210-04122005><FONT face=Arial 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV dir=ltr align=left><SPAN class=368534210-04122005><FONT face=Arial 
size=2>&nbsp;&nbsp; CentOS 4.2 x86_64</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=368534210-04122005><FONT face=Arial 
size=2>&nbsp;&nbsp; cPanel Management</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=368534210-04122005><FONT face=Arial 
size=2>&nbsp;&nbsp; Zope 2.8.2-final, python 2.3.5, linux2<BR>&nbsp;&nbsp; 
Python Version&nbsp;2.3.5 (#2, Sep 28 2005, 03:41:37) [GCC 3.4.3 20050227 (Red 
Hat 3.4.3-22.1)] </FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=368534210-04122005><FONT face=Arial 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV dir=ltr align=left><SPAN class=368534210-04122005><FONT face=Arial 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV dir=ltr align=left><SPAN class=368534210-04122005><FONT face=Arial 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV dir=ltr align=left><SPAN class=368534210-04122005><FONT face=Arial 
size=2>What I have done now;</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=368534210-04122005><FONT face=Arial 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV dir=ltr align=left><SPAN class=368534210-04122005><FONT face=Arial 
size=2>1) I have installed the "pristine" application under /usr/local/Zope, 
</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=368534210-04122005><FONT face=Arial 
size=2>&nbsp;&nbsp;&nbsp; configured zope to run as the original planned user 
(zope.conf &gt; effective-user parameter)</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=368534210-04122005><FONT face=Arial 
size=2>&nbsp;&nbsp;&nbsp; (I actually just copied the original, modified 
zope.conf and runzope to suit)</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=368534210-04122005><FONT face=Arial 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV dir=ltr align=left><SPAN class=368534210-04122005><FONT face=Arial 
size=2>2) Made the appropriate user directory for the department/group wishing 
to run a Zope instance</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=368534210-04122005><FONT face=Arial 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV dir=ltr align=left><SPAN class=368534210-04122005><FONT face=Arial 
size=2>3) NOTE: I think this part is theoretically correct but should be run as 
the new user, not as root,</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=368534210-04122005><FONT face=Arial 
size=2>&nbsp;&nbsp; &nbsp;so as not to have to chown the user files afterwards, 
I haven't tried this yet to see if that is right.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=368534210-04122005><FONT face=Arial 
size=2>&nbsp;&nbsp;&nbsp; </FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=368534210-04122005><FONT face=Arial 
size=2>&nbsp;&nbsp;&nbsp; I ran (?as root?) /usr/localZope/bin/mkzopeinstance.py 
to install the appropriate instance files in the </FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=368534210-04122005><FONT face=Arial 
size=2>&nbsp;&nbsp;&nbsp; new users home directory (answer and remember the 
appropriate login details)</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=368534210-04122005><FONT face=Arial 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV dir=ltr align=left><SPAN class=368534210-04122005><FONT face=Arial 
size=2>3a) I then had to chown the files, but as I said, I think running 
mkzopeinstance.py as the right user would negate this</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=368534210-04122005><FONT face=Arial 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV dir=ltr align=left><SPAN class=368534210-04122005><FONT face=Arial 
size=2>4) Modify etc/zope.conf&nbsp; to set the effective-user, database size 
limit and modify management ports to those </FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=368534210-04122005><FONT face=Arial 
size=2>&nbsp;&nbsp;&nbsp; that are unused for any other application (also 
modifying my firewall config to allow access)</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=368534210-04122005><FONT face=Arial 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV dir=ltr align=left><SPAN class=368534210-04122005><FONT face=Arial 
size=2>5) Run bin/zopectl start&nbsp; - login with the appropriate credentials 
used in the mkzopeinstance procedure</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=368534210-04122005><FONT face=Arial 
size=2>&nbsp;&nbsp;&nbsp; Check that everything looks to be ok 
</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=368534210-04122005><FONT face=Arial 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV dir=ltr align=left><SPAN class=368534210-04122005><FONT face=Arial 
size=2>6) untar the appropriate componemts (I installed CMF and Plone) in to the 
users products directory</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=368534210-04122005><FONT face=Arial 
size=2>&nbsp;&nbsp;&nbsp; Restart ZopeServer&nbsp; (zopectl 
restart)</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=368534210-04122005><FONT face=Arial 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV dir=ltr align=left><SPAN class=368534210-04122005><FONT face=Arial 
size=2>8) Select Root, add a new Plone Site, (Remember the name you give it for 
use in the httpd rewrite rule below)</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=368534210-04122005><FONT face=Arial 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV dir=ltr align=left><SPAN class=368534210-04122005><FONT face=Arial 
size=2>7) As I am running behind Apache, configure httpd.conf for the domain and 
add Rewrite &amp; Proxy directives and </FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=368534210-04122005><FONT face=Arial 
size=2>&nbsp;&nbsp;&nbsp; rewrite rules to the new plone site 
instance.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=368534210-04122005><FONT face=Arial 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV dir=ltr align=left><SPAN class=368534210-04122005><FONT face=Arial size=2>I 
believe this allows me to achieve, multiple instances for multiple users, each 
having their own ZopeServer to control, their own Plone and other component 
control, I can manage DB size and disk usage&nbsp;through zope.conf (I assigned 
read only rights to the users after I modified it) and bandwidth through 
mod_bandwidth on apache. T</FONT></SPAN><SPAN class=368534210-04122005><FONT 
face=Arial size=2>he users have normal FTP and email access to their own local 
virtual machines without effecting any other services or users on the 
machine.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=368534210-04122005><FONT face=Arial 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV dir=ltr align=left><SPAN class=368534210-04122005><FONT face=Arial size=2>I 
now will be trying to setup MySQL access and some other components to try out, 
document management etc and skins/themes is on the list the get my head 
around.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=368534210-04122005><FONT face=Arial 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV dir=ltr align=left><SPAN class=368534210-04122005><FONT face=Arial 
size=2>Thanks again</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=368534210-04122005><FONT face=Arial 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV dir=ltr align=left><SPAN class=368534210-04122005><FONT face=Arial 
size=2>Russ</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=368534210-04122005><FONT face=Arial 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV dir=ltr align=left><SPAN class=368534210-04122005><FONT face=Arial 
size=2></FONT></SPAN>&nbsp;</DIV><FONT face=Arial size=2></FONT><FONT face=Arial 
size=2></FONT><FONT face=Arial size=2></FONT><FONT face=Arial 
size=2></FONT><FONT face=Arial size=2></FONT><FONT face=Arial size=2></FONT><BR>
<BLOCKQUOTE dir=ltr style="MARGIN-RIGHT: 0px">
  <DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
  <HR tabIndex=-1>
  <FONT face=Tahoma size=2><B>From:</B> zope-bounces@zope.org 
  [mailto:zope-bounces@zope.org] <B>On Behalf Of </B>Russell 
  Winter<BR><B>Sent:</B> Friday, December 02, 2005 7:47 AM<BR><B>To:</B> 
  zope@zope.org; ozzope@lists.ozzope.org<BR><B>Subject:</B> [Zope] Beginners 
  Confusion<BR></FONT><BR></DIV>
  <DIV></DIV>
  <DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
  <DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
  <DIV align=left><FONT face=Arial><FONT size=2><SPAN lang=en-au>
  <DIV><SPAN class=266182920-30112005><FONT face=Arial 
  size=2>Folks,</FONT></SPAN></DIV>
  <DIV><SPAN class=266182920-30112005><FONT face=Arial 
  size=2></FONT></SPAN>&nbsp;</DIV>
  <DIV><SPAN class=266182920-30112005><FONT face=Arial size=2>I am trying to 
  understand instances, any help or suggestions would be appreciated as I am 
  obviously missing something.</FONT></SPAN></DIV>
  <DIV><SPAN class=266182920-30112005><FONT face=Arial 
  size=2></FONT></SPAN>&nbsp;</DIV>
  <DIV><SPAN class=266182920-30112005><FONT face=Arial size=2>I would like to 
  have each user having, either, &nbsp;their own Zope Server binaries (including 
  CMF &amp; Plone) in their home directories.</FONT></SPAN></DIV>
  <DIV><SPAN class=266182920-30112005><FONT face=Arial 
  size=2></FONT></SPAN>&nbsp;</DIV>
  <DIV><SPAN class=266182920-30112005><FONT face=Arial 
  size=2>A</FONT></SPAN><SPAN class=266182920-30112005><FONT face=Arial 
  size=2><SPAN class=266182920-30112005><FONT face=Arial size=2>lternatively, as 
  multiple Zope Servers on one machine will be quite a resource eater, (probably 
  20 main users) is it possible to have just one Zope Server and multiple 
  instances of the database/CMF/Plone for the users? All user instances and 
  content including the database entries would need to be accounted for in 
  and&nbsp;installed in their own home directories to allow us to control and 
  manage&nbsp;each&nbsp;user or groups&nbsp;bandwidth and quota's etc 
  etc.</FONT></SPAN></FONT></SPAN></DIV>
  <DIV><SPAN class=266182920-30112005><FONT face=Arial 
  size=2></FONT></SPAN>&nbsp;</DIV>
  <DIV><SPAN class=266182920-30112005><FONT face=Arial size=2>Is this possible? 
  If so, is there a how-to or something I have not found yet or some advice 
  would be appreciated. I have several books on Zope now and none of them seem 
  to describe instances or multiple user configurations in any 
  detail.</FONT></SPAN></DIV>
  <DIV><SPAN class=266182920-30112005><FONT face=Arial 
  size=2></FONT></SPAN>&nbsp;</DIV>
  <DIV><SPAN class=266182920-30112005><FONT face=Arial size=2>I am looking for 
  each department/user/group to be able to manage,&nbsp;for the most part, their 
  own web-services, but with us still managing the usual operating and 
  application environments. </FONT></SPAN></DIV>
  <DIV><SPAN class=266182920-30112005><FONT face=Arial 
  size=2></FONT></SPAN>&nbsp;</DIV>
  <DIV><SPAN class=266182920-30112005><FONT face=Arial 
  size=2></FONT></SPAN>&nbsp;</DIV>
  <DIV><FONT face=Arial><FONT size=2><SPAN 
  lang=en-au></SPAN></FONT></FONT>&nbsp;</DIV>
  <DIV align=left>
  <P><FONT face=Arial><FONT size=2><SPAN lang=en-au><SPAN 
  class=266182920-30112005>Thanks a lot, r</SPAN>egards,</SPAN> 
  </FONT></FONT></P>
  <P><FONT face=Arial><FONT size=2><SPAN lang=en-au><B>Russ 
  </B></SPAN></FONT></FONT></P></DIV></SPAN></FONT></FONT></DIV></BLOCKQUOTE></BODY></HTML>