You do not need to compile either Zope or Plone.
This draft procedure was written by John Hobbs, with some minor assistance from me:
*Setup the karan.org Yum Repository*
Use the instructions found here
http://no.longer.valid/phpwiki/index.php/3rdPartyYumRepositoriesto add the kbs-centos-extras repository (which is where Zope and Plone are).
*Install Using Yum*
*login as root*
# yum --enablerepo=base --enablerepo=extras --enablerepo=kbs-centos-extras install plone
*The above should all on one line*
*Perform Initial Setup*
# /var/lib/zope/bin/runzope
(This sets Zope up in /usr/lib/zope.)
Create the directory /opt/plone2 and change its ownership to zope/shared
Then create a Zope instance to run Plone:
# chsh -s /bin/bash zope (to enable the zope user to get a prompt)
# su - zope
# /usr/lib/zope/bin/mkzopeinstance.py
# exit
In response to the questions, set Instance Home to ‘/opt/plone2/main’
and assign an initial user id and password (e.g., ‘plone’ and ‘plone’).
[The makezopeinstance.py may hang after a kupu icon message is
displayed. If this occurs, *ctl-c* to get out and then *exit* to get
back to root. This happened for John, but mine ran OK.]
*Edit zope.conf*
Get to /opt/plone2/main/etc and edit the file zope.conf in the
appropriate spots with the following:
ip-address 127.0.0.1
port-base 1000
and save the file.
*Start Zope*
# /opt/plone2/main/bin/zopectl start
and test to ensure you get an appropriate response...
# lynx “http://localhost:9080/manage”
You should get challenged for userid and password. Exit Lynx.
*Setup Initial Plone Site*
Open a ssh tunnel with the target server to port 9080.
Then:
Open a web browser with the address ‘127.0.0.1:9080/manage’
On the upper right of the Zope main page, select “Plone Site” from the
Add pull-down list and push the Add button. In the form that opens,
enter an id (e.g. ‘mainsite’); add a Title (e.g., ‘Main Company Site’);
and provide a Description (e.g., ‘The Company internet site.’) Then
click Add Plone Site and wait for the site to be created.
Close the browser and the ssh tunnel.
*Setup Apache virtual host routing to the VHM*
Set up an appropriate re-write rule in Apache using a custom template as
was done for the prior version. This Zope has a VHM active by default.
======================================
This procedure needs some additional tidying up - John and I have been emailing back and forth over the last little while. That said, this should get you up and running.
Good luck.
Des