Installing Plone on Ubuntu 6.10 Server
I tried to build a Plone on Ubuntu Server and it took four evenings to make the install work, as there is no clear step-by-step guide on how to do this. I tried document all the valid steps of the installation and repeated the whole install at a stretch and this works. Thought it as a good idea to share with other newbies like me.
I used Ubuntu 6.10 Server CD and Plone Universal Installer for this exercise.
- Download the latest Ubuntu server Installation CD image from http://mirror.cc.columbia.edu/pub/linux/ubuntu/releases/edgy/ubuntu-6.10-server-i386.iso
- Burn the image to CD
- Insert the disk in the CDROM drive and start the system. Make sure that the first boot device is the CD
- Follow thru the instructions of setup in Normal Mode (default).
- During DHCP configuration, select DHCP with hostname option.
- For Partitioner select with LVM option.
- the Server type select LAMP server option.
- After rebooting the server Install dependencies
- Install GCC:
sudo apt-get install gcc
- Install G++:
sudo apt-get install g++
- Install make:
sudo apt-get install make
- Install Python module (mod_python) for Apache 2 (This step is purely Optional)
- sudo aptitude install libapache2-mod-python
sudo nano /etc/apache2/mods-available/mod_python.conf
add the following lines
AddType application/x-httpd-python .py
AddHandler mod_python .py
PythonHandler mod_python.publisher
PythonDebug Onsave
cd /etc/apache2/mods-enabled
sudo ln -s ../mods-available/mod_python.conf mod_python.conf
sudo /etc/init.d/apache2 restart - Install readline libraries (recommended - NOT mandatory) from
cd /home/<username>
wget http://ftp.debian.org/debian/pool/main/r/readline5/readline5_5.2.orig.tar.gz- Unpack and Install:
gunzip < readline5_5.2.orig.tar.gz | tar -x
cd readline-5.2/
./configure
make
sudo make install - Download Plone Universal Installer
cd /home/<username>
wget http://downloads.sourceforge.net/plone/Plone-2.5.2-UnifiedInstaller.tgz?use_mirror=osdn or from wget http://superb-east.dl.sourceforge.net/sourceforge/plone/Plone-2.5.2-UnifiedInstaller.tgz- unpack the installer:
gunzip < Plone-2.5.2-UnifiedInstaller.tgz | tar -x
cd Plone-2.5.2-UnifiedInstaller - install Plone:
sudo ./install.sh
- Install Location
- Plone installed at /opt/Plone-2.5.2
- Python installed at /opt/Plone-2.5.2/Python-2.4.4
- ZEO cluster (server and 2 clients) installed and configured at /opt/Plone-2.5.2/zeocluster
- Zope Products folder at /opt/Plone-2.5.2/zeocluster/Products
- Data.fs (ZODB) at /opt/Plone-2.5.2/zeocluster/server/var
- A random administrator password is generated during the install. The password is located at /opt/Plone-2.5.2/adminPassword.txt
- This is NOT the place where you change the Admin password. This is only a log file.
- sudo /opt/Plone-2.5.2/zeocluster/bin/startcluster.sh
sudo cp /opt/Plone-2.5.2/zeocluster/bin/startcluster.sh /etc/init.d
sudo update-rc.d myscript start 51 S .
- (Do not forget the dot: . )
This concludes the Installation.
Additional Tasks include configuring apache Reverse Proxy, installing addons etc.

Author: