Install Zope/Plone
Executive Summary
Zope is an application server. Plone is a collection of modules served by Zope. You need to understand this basic concept to follow the correct installation order:
- Install Zope, then
- Install Plone
1 Install Zope
1.1 Windows Users
Skip this step.
1.2 Linux Users
Install Zope using your Linux distro's package manager. The following steps are for Debian/Ubuntu Linux console:
1 Switch to root user by typing the following command followed by your user (not root) password:
sudo bash2 Install zope2.9 (or latest version compatible with your target plone version, I am using 2.9 in this example, for your case, replace 2.9 with the correct version) using ubuntu package manager, or the following commands (first line updates your local DB):
apt-get update apt-get install zope2.93 Create a zope instance (which is just a directory where all your zope db/config files are stored), specifying a directory (/var/lib/zope/mypreciouszope, and picking an admin login/password by entering:
/usr/lib/zope2.9/bin/mkzopeinstance.py4 Restart Zope:
/etc/init.d/zope2.9 restart5 Now you should be able to connect to your local zope instance via a web browser using the URL http://localhost:9673
2 Install Plone
2.1 Windows Users
By default port 8080 is used for Zope Management Interface (ZMI) and port 80 for plone on Windows, different from Linux which uses 9673 for both ZMI and plone. Prior to installing, please disable any Web servers like IIS or Apache running on Windows or change the default plone and ZMI port numbers to some other values
1 Download the latest Plone for Windows installer from http://plone.org
2 Run the Plone installer, which will install both Zope (port 8080) and Plone (port 80) for you.
3 Fire up the Plone control panel by selecting start/All Programs/Plone/Plone
4 Start Plone via the Plone control panel
- 5 You can now access your
- plonesite @ http://localhost:80 and ZMI @ http://localhost:8080
2.2 Linux Users
I strongly discourage you from installing Plone using the distro package manager because their version of Plone is typically out of date by a year or more. You should install Plone manually since it is very simple:
1 Download the latest Plone for all platforms (not "Plone for Linux" which requires compilation) from http://plone.org
2 Uncompress the downloaded file into /home/{yourname} and copy all the subdirectories within it, e.g., CMFPlone, ATContentTypes into your Zope instance's Products subdirectory, typically in /var/lib/zope/{yourzopeinstance}/Products/:
tar xvzf Plone-2.5.1-UnifiedInstaller.tgz cd Plone-2.5.1 cp * /var/lib/zope/{yourzopeinstance}/Products/3 Restart zope:
/var/lib/zope/bin/zopectl restart4 Using the admin user/password you created in step 3 of Zope Installation, login to the Zope Management Interface (ZMI) http://localhost:9673
5 Select "add a new Plone Site", give it a nameļ¼ e.g., mypreciousplone
6 You can now access your plonesite using the URL:
http://localhost:9673/mypreciousplone

