Wednesday, November 29, 2006

Follow up : Installing a Zwiki instance inside the Plone website for health portal at IIITMK

Introduction: Zwiki is an easy-to-use, fun, and powerful wiki engine based on the Zope web application server; it also works well with the Plone CMS.

Server : health.edugrid.in

IP : 192.168.1.27 B'cast :192.168.1.255

URL : for Zope, Admin interface is at:

http://localhost:/manage

Zwiki can be run as a component of the Plone Website under the Zope server.For adding the Zwiki component for Plone,first we have to check if Zwiki option is there in "Add components" scrollbar.By default,it will not be there.

Then,we have to download the latest zwiki source tarball from the homepage of Zwikihttp://zwiki.org.
Next step is to copy it to the folder Products inside the Clients component of the zope server.For this we have to go to zope install folder,and to the products folder.

In a Plone installation,the products folder can be found inside the zope instance or zeocluster.Remember,we have to configure a zwiki inside the client1 instance and not server instance of zope

Procedure:

# cp Zwiki-ver.tar.gz /~Plone/zeocluster/client1/Products/
# gunzip -c Zwiki-ver.tar.gz | tar xv

1) Logout from Zope Admin interface.Login as admin and choose 'add components' tab from the top right portion of admin interface.Components like Zwiki,Zwiki page,Zwiki outline cache... will be displayed there.

















2) Try selecting Zwiki(first option)as it will have most extensive functionality.We can edit the contents of the wiki page in the admin interface as we like or view the pages in View tab.

































Now the wiki page is functional and ready for customization.

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

Monday, November 20, 2006

Linux Command Reference

The following links can be useful to any one who is working in any form of UNIX and its most sought-after flavour-Linux.I am giving categorized links for those who are starting bottom-up and want to do lots of things in this wonderful open source Operating system including system administration, networking and application development:

  1. Linux Tutorial : "The place where you learn linux" http://www.linux-tutorial.info/index.php
  2. The Linux Documentation Project http://www.tldp.org/
  3. YoLinux Information Portal http://www.yolinux.com/
  4. Linux Command Directory http://www.linuxdevcenter.com/linux/cmd/
  5. Linux.org : Comprehensive linux reference http://www.linux.org/

Geeks Log....

Hi All, this blog space is taking a paradigm shift in content.From now on, i will be updating this with Linux and Java Stuff that i had been working with and which i find relevant to disclose to world.Aim is to make it searchable and easy to follow for those people who are fighting it out there with these issues.With lots of regards !!!