This howto will outline how to install Zope and Plone in Centos 6.x using the unified installer from Plone.org without damaging the Centos base system. For the purposes of this howto we’ll be using the latest stable version available at this time, 4.2.1.

Note: Plone is now up to 4.2.1 (stable) Please use this howto as a guide to installing the latest stable Plone release.

Applicable to Centos Versions:

  • Centos 5.x
  • Centos 6.x

Requirements

Explanation of requirements.

  1. Download the Zope/Plone Unified installer from Plone.org here
  2. Root or sudo access to the Centos system
  3. Note: Currently the EPEL software repo packages Zope 2.10-7final and Plone 3.1.6 for use with Centos, due to the Plone projects packaging choices it is unlikely that future versions of Zope or Plone will be included in this repo and will need to be installed using the method below.

Doing the Work

Basic description of what will be done and what is expected.

  1. Download and extract the Plone-4.2.1-UnifiedInstaller.tar.gz into a temp dir:
  2. Change directory to the Plone installer, read the README.txt and start the installation script:
  3. Next we’ll cd into the zeocluster directory and edit the buildout.cfg file. We’ll add in a few products or addons to test:
  4. The output of buildout should be similar to this:
  5. Next we’ll start the zeoserver and client1 in debug mode:
  6. One method for adding a separate ZODB Mountpoint to separate your data.fs if you have multiple projects/sites:
  7. Adding your new site(s) into your apache (httpd) configuration, this assumes you’re running your client1 on port 8181, if you aren’t, you’ll need to change this along with the obvious “mysite”:
  8. Version pinning:

Troubleshooting & Supplementary Information

How to test

Explanation troubleshooting basics and expectations.

  1. Important directories and files to backup:
  2. Getting more products or addons for Plone:
  3. Deleting or removing the install:
  4. Useful commands:
  5. BASH backup scripts:
  6. Packing the Zope Database ZODB/Data.fs:

Common problems and fixes

Describe common problems here, include links to known common problems if on another site

More Information

Any additional information or notes.

Disclaimer

We test this stuff on our own machines, really we do. But you may run into problems, if you do, come to #plone or #centoshelp on irc.freenode.net

Added Reading

Last Modified: 18 Oct, 2012 at 17:09:27