How to Install Zope Products
This documents shows you how to install new Zope products into a Zope instance.
Login to the Server via SSH
The first step is to logon to the server with your SSH client. See the SSH Howto for more information.
Once you have logged on, become root (sudo su) change directory to your Zope instance's Products directory which is at:
cd /usr/local/zope/instance1/Products
Do not install Products in the lib/python/Products directory of your Zope install. This is a bad idea and will cause you problems later.
Download the Product
Now you need to download the product. Get the URL of the product, (a .tgz, .tar.gz or .zip file most likely) and type at the shell prompt:
wget 'url of product'
This will download the Product to your Products directory.
Do not try to download the Product to your home machine and then SCP or SFTP it to the server. This is a bad idea.
Decompress the Product file
If the Product file has the extension .tgz or .tar.gz, type:
tar xzf 'product file name'
If the Product file has the extension .zip type:
unzip 'product file name'
This will decompress the file, creating a folder with the Product's python and other files in it.
Read the Instructions
Change directory (cd) to the Product folder and list the files (ll). Read any called INSTALL or README (more 'file name'). Follow the instructions.
Restart Zope
Once you are sure you have everything set up correctly restart zope (as root):
zopectl restart
Verify that the Product is not "Broken"
Navigate to Control_Panel > Products in the ZMI and verify that the Product you installed is there and is not "broken".
If the Product is broken, click on it to get the traceback. You can then use this to search google or otherwise seek help and a solution to the problem.
Remove the Compressed File
Once you are confident that the Product is installed correctly, remove the compressed file you downloaded (it has an extension of .tgz, .tar.gz or .zip):
rm 'product file name'
Done
And that's it. Most Zope Products are simple to install but some require additional packages to be installed. If you have questions, please feel free to post them in the Support Forums.
Questions?
Please contact us with your questions and we will get back to you right away.
