Personal tools
You are here: Home Documentation How-tos Plone on Debian (Etch)
Support

Get Help

Join our chat rooms or support forums if you have more specific questions.

Plone Training
Learn how to design, build, and deploy a website in Plone through one of the numerous Plone training sessions around the world.
Find Plone training…
 
Document Actions

Plone on Debian (Etch)

This How-to applies to: Plone 3.0.x, Plone 2.5.x
This How-to is intended for: Server Administrators

Most important parts you need to know about using Plone on Etch the Debian-way

In the past the recommendation for Zope/Plone on Debian was: "Use the source, Luke!"

Well, I can't say this is true anymore. For specialized hosting environment you will still need the source, but for most use-cases etch gives you a powerful setup.

Plone 2.5 on Debian Etch:

Getting Plone and its dependencies:

Become root and run:

apt-get install plone-site

The package asks you for a admin user, a password and the port you want plone to run on. By default its port is 8081. Remember your changes!

Starting Zope/Plone:

/etc/init.d/zope2.9 start

Create a Plone site:

Go to your browser and type http://localhost:9673/manage' and log in. You are now in the so called ZMI (Zope Management Interface).

To create a Plone site, you need to add it to your zope instance within the ZMI: Use the drop-down at the right, choose Plone Site and klick add. Give your Plone Site at least an ID (do not use fancy characters) for example myplone.

Congratulations: your Plone instance is available at http://localhost:9673/myplone.

 

Plone 3.0 on Debian Etch:

Zope 2.10 and Plone 3 are not part of Etch (they weren't available at the time of the release), but you can install them from the Debian Backports, where the Debian Zope Team upload the last releases of Zope and Plone backported to etch. In short, add the following line to your /etc/apt/sources.list file:

  deb http://www.backports.org/debian etch-backports main

At this point, run apt-get update to update the list of the available packages. Now just apt-get install -t etch-backports plone3-site and follow the instructions: the system will ask for an user name, a password and a port.

 

Background infos:

Where do I find all the files?

/etc/zope2.9/plone-site/

/var/lib/zope2.9/instance/plone-site

Available tools

dzhandle
major utility to handle Debian/Ubuntu Zope packages, command line utility, more see man dzhandle and /usr/share/doc/zope-common/README.Debian.gz. Use this as the one-and-only tool to manage your instances (Zope and ZEO servers).
by jensens — last modified February 11, 2008 - 17:12 All content is copyright Plone Foundation and the individual contributors.

What about products deb packages ?

Posted by Daric Vladimir at April 2, 2007 - 13:20
I installed zope-ldapuserfolder package. Files from this (and other Zope/Plone Products ) are copied to /usr/share/zope/Products.

After 'apt-get install'-ing and restarting Zope instance, there was no LDAPUserFolder anywhere in my site.

I had to symlink /usr/share/zope/Products/LDAPUserFolder to /usr/share/zope/Products/LDAPUserFolder to get LDAPUserFolder visible in my site.

I don't know if this is the right way of doing it and I wander why 'zope-ldapuserfolder' deb don't copy files directly to /usr/share/zope/Products/.

:.VlaDar.:

Use dzhandle for all!

Posted by PauLoX at April 26, 2007 - 07:20
$ dzhandle
usage: dzhandle [<option> ...] <action> [<option> ...]
actions:
add-product add a product to an instance

$ dzhandle add-product
dzhandle add-product: <instance> <product> [<product>]

product names to install with dzhandle

Posted by Mikolaj Rybinski at July 3, 2007 - 17:33
how do you make dzhandle see the new product name (i'm on ubuntu feisty)?

i've moved it to /var/lib/zope/ ... /Products/, restarted the zope server (btw zopectl is not by default in bin on ubuntu when installing from repository) and still not on the products list - from here it was ready to install in plone so no need to use dzhandle.. although I'm curious what does dzhandle do then?

best regards,
mikolaj

8081... 9673!

Posted by Karlos Carleos at June 3, 2007 - 12:02
I do not know why, but my Zope listens to port 9673 by default, instead 8081. My box is an Etch upgraded from Sarge, but no Zope was installed before.

Mi ne scias kial, sed mia Zope auskultas pordon 9673 apriore, anstatau 8081. Mia komputilo havas Etch ghisgradigitan el Sarge, sed nul Zope estis instalita antaue.

default port is 9673 ...

Posted by jensens at June 5, 2007 - 07:48
... if you do not specify a different one while setup.

plone3-site version 3.1.1

Posted by Zoltan Soos at May 9, 2008 - 15:28


deb http://ftp.de.debian.org/debian sid main

I am not sure if this is the same version that is in the backport repo, but Plone 3.1.1 build is in the 'sid' branch. Installs with autorun (runlevel) script setup.

For any issues with the web site functionality, please file a ticket.

Please consult the policy on plone.org content if you want your content published on this site.

Servers and hosting by