3. Update

Follow the instructions in this section if Zope and Plone have already been installed on your system.

  1. 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

  2. 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

  3. Unpack the bundle:

    r51:~ # tar xvjf Plone-2.1.2-SUSE_10.0_bundle.tar.bz2
    Plone-2.1.2-SUSE_10.0_bundle/
    Plone-2.1.2-SUSE_10.0_bundle/python23-devel-2.3.5-10.i586.rpm
    Plone-2.1.2-SUSE_10.0_bundle/python23-xml-2.3.5-10.i586.rpm
    Plone-2.1.2-SUSE_10.0_bundle/python23-doc-2.3.5-10.i586.rpm
    Plone-2.1.2-SUSE_10.0_bundle/python23-tk-2.3.5-10.i586.rpm
    Plone-2.1.2-SUSE_10.0_bundle/python23-2.3.5-10.i586.rpm
    Plone-2.1.2-SUSE_10.0_bundle/zope-2.8.5-4.i586.rpm
    Plone-2.1.2-SUSE_10.0_bundle/python23-curses-2.3.5-10.i586.rpm
    Plone-2.1.2-SUSE_10.0_bundle/python23-demo-2.3.5-10.i586.rpm
    Plone-2.1.2-SUSE_10.0_bundle/python23-doc-pdf-2.3.5-10.i586.rpm
    Plone-2.1.2-SUSE_10.0_bundle/plone-2.1.2-2.i586.rpm
    Plone-2.1.2-SUSE_10.0_bundle/python23-gdbm-2.3.5-10.i586.rpm
    Plone-2.1.2-SUSE_10.0_bundle/zope-debuginfo-2.8.5-4.i586.rpm
    Plone-2.1.2-SUSE_10.0_bundle/python23-mpz-2.3.5-10.i586.rpm
    Plone-2.1.2-SUSE_10.0_bundle/python23-idle-2.3.5-10.i586.rpm
    r51:~ # cd Plone-2.1.2-SUSE_10.0_bundle/
    r51:~/Plone-2.1.2-SUSE_10.0_bundle #

  4. Install Python and the Python XML interface:

    r51:~/Plone-2.1.2-SUSE_10.0_bundle # rpm -Uhv python23-2.3.5-10.i586.rpm
    Preparing...                ########################################### [100%]
       1:python23               ########################################### [100%]
    r51:~/Plone-2.1.2-SUSE_10.0_bundle # rpm -Uhv python23-xml-2.3.5-10.i586.rpm
    Preparing...                ########################################### [100%]
       1:python23-xml           ########################################### [100%]

  5. Install Zope:

    r51:~/Plone-2.1.2-SUSE_10.0_bundle # rpm -Uhv zope-2.8.5-4.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.

  6. 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.2-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/
    

  7. Install Plone:

    r51:/var/opt/zope # cd ~/Plone-2.1.2-SUSE_10.0_bundle/
    r51:~/Plone-2.1.2-SUSE_10.0_bundle # rpm -Uhv plone-2.1.2-2.i586.rpm
    Preparing...                ########################################### [100%]
       1:plone                  ########################################### [100%]

  8. Start Zope to see if the installation was successful:

    r51:~/Plone-2.1.2-SUSE_10.0_bundle # rczope start
    Starting zope, instances: default                                    done
    Open the Zope start page in a web browser. If you see a page named Zope Quick Start your Zope server is up and running. A first account named superuser, password 123 has been created automatically during installation so you can access the Zope Management Interface (ZMI).

  9. Move your old Zope instance to a safe place other than /var/opt/zope.