Follow the instructions in this section if Zope and Plone have already been installed on your system.
Become root, stop and uninstall your Zope server:
markus@r51:~> su -l Password: r51:~ # rczope stop Shutting down zope, instances: default done r51:~ # rpm -e zope |
Rename your existing Zope instance which usually resides in /var/opt/zope/default:
r51:~ # cd /var/opt/zope/ r51:/var/opt/zope # ls . .. default r51:/var/opt/zope # mv default default.old r51:/var/opt/zope # cd |
Unpack the bundle:
r51:~ # tar xvjf Plone-2.1.3-SUSE_10.0_bundle.tar.bz2 Plone-2.1.3-SUSE_10.0_bundle/ Plone-2.1.3-SUSE_10.0_bundle/python23-devel-2.3.5-10.i586.rpm Plone-2.1.3-SUSE_10.0_bundle/python23-imaging-sane-1.1.5-2.i586.rpm Plone-2.1.3-SUSE_10.0_bundle/python23-xml-2.3.5-10.i586.rpm Plone-2.1.3-SUSE_10.0_bundle/python23-doc-2.3.5-10.i586.rpm Plone-2.1.3-SUSE_10.0_bundle/README/ Plone-2.1.3-SUSE_10.0_bundle/README/stylesheet-images/ Plone-2.1.3-SUSE_10.0_bundle/README/stylesheet-images/warning.gif Plone-2.1.3-SUSE_10.0_bundle/README/stylesheet-images/toc-blank.gif Plone-2.1.3-SUSE_10.0_bundle/README/stylesheet-images/note.gif Plone-2.1.3-SUSE_10.0_bundle/README/stylesheet-images/toc-plus.gif Plone-2.1.3-SUSE_10.0_bundle/README/stylesheet-images/important.gif Plone-2.1.3-SUSE_10.0_bundle/README/stylesheet-images/tip.gif Plone-2.1.3-SUSE_10.0_bundle/README/stylesheet-images/home.gif Plone-2.1.3-SUSE_10.0_bundle/README/stylesheet-images/toc-minus.gif Plone-2.1.3-SUSE_10.0_bundle/README/stylesheet-images/prev.gif Plone-2.1.3-SUSE_10.0_bundle/README/stylesheet-images/up.gif Plone-2.1.3-SUSE_10.0_bundle/README/stylesheet-images/next.gif Plone-2.1.3-SUSE_10.0_bundle/README/stylesheet-images/caution.gif Plone-2.1.3-SUSE_10.0_bundle/README/x19.html Plone-2.1.3-SUSE_10.0_bundle/README/index.html Plone-2.1.3-SUSE_10.0_bundle/README/x94.html Plone-2.1.3-SUSE_10.0_bundle/README/x44.html Plone-2.1.3-SUSE_10.0_bundle/README/docbook.css Plone-2.1.3-SUSE_10.0_bundle/README/x144.html Plone-2.1.3-SUSE_10.0_bundle/README/x154.html Plone-2.1.3-SUSE_10.0_bundle/python23-tk-2.3.5-10.i586.rpm Plone-2.1.3-SUSE_10.0_bundle/python23-2.3.5-10.i586.rpm Plone-2.1.3-SUSE_10.0_bundle/python23-curses-2.3.5-10.i586.rpm Plone-2.1.3-SUSE_10.0_bundle/plone-2.1.3-1.i586.rpm Plone-2.1.3-SUSE_10.0_bundle/python23-demo-2.3.5-10.i586.rpm Plone-2.1.3-SUSE_10.0_bundle/python23-doc-pdf-2.3.5-10.i586.rpm Plone-2.1.3-SUSE_10.0_bundle/python23-gdbm-2.3.5-10.i586.rpm Plone-2.1.3-SUSE_10.0_bundle/python23-imaging-1.1.5-2.i586.rpm Plone-2.1.3-SUSE_10.0_bundle/zope-2.8.7-1.i586.rpm Plone-2.1.3-SUSE_10.0_bundle/python23-mpz-2.3.5-10.i586.rpm Plone-2.1.3-SUSE_10.0_bundle/python23-idle-2.3.5-10.i586.rpm r51:~ # cd Plone-2.1.3-SUSE_10.0_bundle/ r51:~/Plone-2.1.3-SUSE_10.0_bundle # |
Install Python and the Python XML interface:
r51:~/Plone-2.1.3-SUSE_10.0_bundle # rpm -Uhv python23-2.3.5-10.i586.rpm Preparing... ########################################### [100%] 1:python23 ########################################### [100%] r51:~/Plone-2.1.3-SUSE_10.0_bundle # rpm -Uhv python23-xml-2.3.5-10.i586.rpm Preparing... ########################################### [100%] 1:python23-xml ########################################### [100%] |
Optional but recommended: install the Python Imaging Library (PIL):
r51:~/Plone-2.1.3-SUSE_10.0_bundle # rpm -Uhv python23-tk-2.3.5-10.i586.rpm Preparing... ########################################### [100%] 1:python23-tk ########################################### [100%] r51:~/Plone-2.1.3-SUSE_10.0_bundle # rpm -Uhv python23-imaging-1.1.5-2.i586.rpm Preparing... ########################################### [100%] 1:python23-imaging ########################################### [100%] |
Install Zope:
r51:~/Plone-2.1.3-SUSE_10.0_bundle # rpm -Uhv zope-2.8.7-1.i586.rpm Preparing... ########################################### [100%] 1:zope ########################################### [100%] Updating etc/sysconfig/zope... Default zope instance not found, creating Instance home not absolute, placing under /var/opt/zope. |
Please read the section Upgrading from Earlier Versions of Zope in /usr/share/doc/packages/zope/FAQ.txt. It tells you to copy the data from your previous Zope instance:
r51:~/Plone-2.1.3-SUSE_10.0_bundle # cd /var/opt/zope/ r51:/var/opt/zope # cp default.old/var/Data.fs default/var/ r51:/var/opt/zope # cp -r default.old/Products/* default/Products/ r51:/var/opt/zope # cp -r default.old/Extensions/* default/Extensions/ |
Install Plone:
r51:/var/opt/zope # cd ~/Plone-2.1.3-SUSE_10.0_bundle/ r51:~/Plone-2.1.3-SUSE_10.0_bundle # rpm -Uhv plone-2.1.3-1.i586.rpm Preparing... ########################################### [100%] 1:plone ########################################### [100%] |
Start Zope to see if the installation was successful:
r51:~/Plone-2.1.3-SUSE_10.0_bundle # rczope start Starting zope, instances: default done |
Move your old Zope instance to a safe place other than /var/opt/zope.