HOWTO Plone

From Gentoo Linux Wiki

Jump to: navigation, search


This article is part of the HOWTO series.
Installation Kernel & Hardware Networks Portage Software System X Server Gaming Non-x86 Emulators Misc

Contents

Introduction

Plone is 'A user-friendly and powerful open source Content Management System'. Plone is hosted by the Zope application environment. Zope will automatically be installed when you emerge Plone.

How to install Plone-2.5 on a Gentoo box

# emerge -v =net-zope/zope-2.9.5
# echo net-zope/plone >> /etc/portage/package.keywords
# emerge libxslt ">=plone-2.5.1" -n
# env-update

You should update to the latest libxslt, some versions may cause problems.

Configure Zope

Create an instance of Zope, don't worry if the user exists.

# zope-config

Start Zope

# /etc/init.d/zope-instance start

(where 'instance' is the name of your instance - this can be found using 'ls /etc/init.d/')

Zope should now be available at:

http://localhost:8080 and http://localhost:8080/manage

Install Plone

# zprod-manager add

Check all options and then restart Zope.

# /etc/init.d/zope-instance restart 

Once Zope has loaded, go to http://localhost:8080/manage and log in with the root administrator password you created before.

In the drop-down at the top right next to the Add button, select Plone site and click Add. The id you give it will be the URL to the instance, so if you give it the name plone-site, you can access it on http://localhost:8080/plone-site.

After it has installed, find the instance in the ZMI, and go to the portal_quickinstaller tool. Here, install Archetypes, MimetypeRegistry, PortalTransforms, and DocFinderTab by ticking the boxes next to them and clicking Install.

That's it! You now have a cleanly configured Zope instance, with a single Plone site set up inside it, a recent release of Archetypes and the DocFinderTab.

AddOns (Plone Products)

Here's a list of apps you may also want to emerge depending on the transforms you will need (transforms are used by some products to convert document types. i.e. generating pdf from html, or html from pdf, microsoft office documents, Oo documents,...)

wv unrtf xlhtml imaging libxml2 pdftohtml reportlab xpdf
coreblog2

Troubleshooting

  • Gentoo Forum [1]
  • Plone FAQ [2]


Useful Links

Personal tools