Zope 2.10 with Zope 3 on Debian/sarge
Zope 2 and 3 can be combined with project Five. We want to use the most recent versions of Zope 2.10 (includes project Five) under Debian/sarge so we need to install it as a separate package from source.
(installing additional software under /opt as described here )
# apt-get -y install wget gzip # apt-get -y install build-essential
Debian/sarge only has Python 2.4.1. Install Python 2.4.4 under /opt/python-2.4 and use that.
# su - opt $ mkdir -p /opt/src/zope-2.10 ; cd /opt/src/zope-2.10 $ wget -c http://www.zope.org/Products/Zope/2.10.2/Zope-2.10.2.tgz $ tar xzf Zope-2.10.2.tgz $ cd Zope-2.10.2-final $ mkdir /opt/zope-2.10.2-final ; ln -s zope-2.10.2-final /opt/zope-2.10 $ ./configure --with-python=/opt/python-2.4/bin/python --prefix=/opt/zope-2.10.2-final $ make $ make install
Note: from Zope 2.8+ it is not necessary to install Zope 3 to use FIVE. Everything necessary is included. In case we want the real Zope 3, this is what we would do:
# su - opt $ mkdir -p /opt/src/zope-3.3 ; cd /opt/src/zope-3.3 $ wget -c http://www.zope.org/Products/Zope3/3.3.1/Zope-3.3.1.tgz $ tar xzf Zope-3.3.1.tgz $ cd Zope-3.3.1 $ mkdir /opt/zope-3.3.1 ; ln -s zope-3.3.1 /opt/zope-3.3 $ ./configure --with-python=/opt/python-2.4/bin/python --prefix=/opt/zope-3.3.1 --force $ make $ make install
Zope Instances
Each virtual server that should be served from Zope should have its own instance. Run /opt/zope-2.10/bin/mkzopeinstance.py under the UID which is responsible for that virtual server (should not be root!). Answer questions: directory (say $HOME/Zope-2.10), inital users and password.
Edit $HOME/Zope-2.10/etc/zope.conf