Plone installation document
Steps for setting up Zope-Plone server
First, create user named “rjgroup”
Goto /home/rjgroup. Create Directories named , 'downloads', 'python-install', 'zope-install' and 'zope-instance', respectively.
- How to Install and configure Python 2.4.4 (before Zope-Plone Installation)
1) Download Python-2.4.4.tar.bz2 inside /home/rjgroup/python-install
2) Untar it and Goto Python2.4.4
3) issue command ./configure.
4) After successful completion , type make. This will create executable “./python”
5) type make install.
6) after step 5 completes , just type python2.4 at command prompt and enter. This will show python command propt like :
Python 2.4.4 (#1, Dec 11 2007, 19:11:05)
[GCC 4.1.2 20070502 (Red Hat 4.1.2-12)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>>
7) Python will be installed inside /usr/bin/, by default
- Following r the steps / process need to be followed for installing Zope2.10.6-final version
1) Download zope2.10.6-final in .tgz format, inside /home/rjgroup/downloads/ directory.
2) unzip using command gunzip -c zope-*.tgz | tar xvf-
3) issue command ./configure –prefix=/home/rjgroup/zope-install –with-python=/usr/bin/python2.4. (If already there is another Python version running, then explicitly give your Python installation path, ie,
/home/rjgroup/python-install/bin/)
4) issue make then make install. After successfull completion , u'll see output like :
[ lots of output snipped ]
Zope binaries installed successfully.
Now run '~/myzope/zope2.10.6-final/bin/mkzopeinstance.py'
5) Create new Zope instance by issueing command, /home/rjgroup/zope-install/bin/mkzopeinstance.py . Enter Directory into which u want an instance to be created, initial UserName and Password. Here, Directory name will be /home/rjgroup/zope-instance. Initial user name – admin, password-admin.
6) goto /home/rjgroup/zope-instance/etc/zope.conf and change the user + HTTP port configuration. Goto Line 149 and add line “effective-user rjgroup”. Goto line 969 and add line “address 8083”. save and quit
7) Now issue /home/rjgroup/zope-instance/bin/zopectl fg , this will start Zope instance in Foreground . To start it in Background, command is /home/rjgroup/zope-instance/bin/zopectl start
8) Goto browser and type <htttp://[ip]:8083/manage> and login into Zope ZMI, using username and password as admin. If ur able to login into ZMI, then Zope installation successful.
- Following r the steps / process need to be followed for installing Plone-3.1.7 version :
1) Download Plone 3.1.7 in .tgz format, inside /home/rjgroup/downloads.
2) unzip it using command gunzip -c zope-*.tgz | tar xvf-
3) Goto Plone 3.1.7 dir. here u'll see all Default Plone Products.
4) Copy all Products into Zope-instance's-Product directory, which is , /home/rjgroup/zope-instance/Products . Change user ownership of /home/rjgroup/zope-instance/ using command chown -R rjgroup:rjgroup * .
5) Also copy lib/ from /home/rjgroup/zope-install directory to your Zope instance directory, /home/rjgroup/zope-instance.
6) Restart Zope instance and again Login into Zope ZMI. Goto site-setup ->Add/Remove Products and here u'll find all installed products from Step4.
- Procedure for Installing Python Imaging Library (PIL-1.1.6)
Python Imaging Library (PIL) is basically used to edit/configure images inside Plone-site. Thumbnail Display
view uses this library to change image Configuration.
1) Download Imaging-1.1.6.tar.gz into /home/rjgroup/downloads directory
2) Untar it and Goto Imaging-1.1.6 directory.
To perform self-test before installation.
- python setup.py build_ext -i.
- python selftest.py. When build finishes, summary report will be shown.
3) issue python setup.py install.