Thursday, November 23, 2006

Installing and configuring Plone version 2.5.1 for Health portal at IIITMK



Introduction : Plone is an open-source content management system built on top of the Python application server Zope and its accompanying Zope Content Management Framework. Plone is free software and is designed to be extensible. It can be used as an intranet or extranet server, document publishing system, and groupware tool for collaboration between separately located entities.High-load production internet sites should not run on a setup without using caching via Apache/Squid in front, combined with CacheFu Plone product.


Requirement 1:Should install Plone with compatible PHP and MySQL version running on a compatible Zope version.



System Configuration : Redhat Enterprise Linux 4(Enterprise Server)

Hostname : health.edugrid.in

IP : 192.168.1.27 B'cast :192.168.1.255



Running servers:



1)Apache 2.0



Configuration file : /etc/httpd/conf/httpd.conf




Port changed to 8000 from 8080




2)Tomcat 5.5.15

Configuration file : /data/tomcat/conf/server.xml



Connector port configured on 80(default localhost)



Scripts : /data/tomcat/bin/*.sh



Installation process



Step 1)Download Plone-2.5.1-UnifiedInstaller.tgz on /data and extracted using command # zcat Plone-2.5.1-UnifiedInstaller.tgz tar xvf -

Step 2)cd to Plone-UnifiedInstaller

vi install.sh



Changed Install dir to /data/Plone-2.5.1 within this file

Step 3)Run the scripts using command ./install.sh



Now a Zope Server is running on 8080 and clients Client1 and Client 2 listening.The particulars of Zope Server are:

Version :



Configuration file : /data/Plone-2.5/adminPassword.txt



/data/Plone-2.5/zeocluster/server/etc/zeo.conf



data/Plone-2.5/zeocluster/client1/etc/zope.conf



/data/Plone-2.5/zeocluster/client2/etc/zope.conf



To start Plone, issue the following commands in a Terminal window:sudo



/data/Plone-2.5/zeocluster/bin/startcluster.sh




To stop Plone, issue the following command in a Terminal window:



sudo /data/Plone-2.5/zeocluster/bin/shutdowncluster.sh



address 8100 but running on 8080

Requirement 2: Contains Apache,MySQL(prerequisites).Doesnt contain Zope or PHP.So selected Plone-UnifiedInstaller which can compile Plone along with Zope and PHP from source.



Python version is 2.3.4



We can access Zope homepage from http://localhost:8080/



Caution : Even if we install Plone as root user in Linux, we should login as an enabled user(eg: zope) so as to access zope management interface.This could be explained as the Zope is installed both as server and client instance.Server instance runs on port 8010 and client instance listens on port 8080 which is a web server port.So, we have to access the client listener interface with the client permissions.







Step 4)We can access Zope management console from http://localhost:8080/manage or http://localhost:8080/manage_main(If password is provided)



























Step 5) From the management console,got to drop down menu having add option.Add Plone site from here having particulars:























Id - Plone

Title - Health Portal Test

Description - This is a test site for Plone Installation in Health Server



Step 6) Go to Homepage option and Enter the welcome message.Now, your Plone instance is ready and displayed.

































Itemwise display of Tests









































































































































Item





Server





Test to be carried out





Test result expected





Status





Port change of apache from 8080 to 8000





health.edugrid.ac.in





Add new port entry to httpd.conf and restart server





Server restart successful with localhost 127.0.1.1





Passed





Download and install Plone source with Zope and Python with root access





health.edugrid.ac.in





Changed port entry in zeo.conf of zope server and tried starting the server





Zope Server started with port as 8080





Passed





Add Plone instance as Test site for health server





health.edugrid.ac.in





From management console,added an instance of Plone





Plone default webpage at http://localhost:8080/manage





Passed





Add user home for Plone site inside test page





health.edugrid.ac.in





From management console,added the user homepage





User page and configuration





Testing underway

No comments: