Flori 1.0

Flori stands for Fedora Learning Objects Repository Interface and is a web front-end for Fedora Commons.
Flori stands for Fedora Learning Objects Repository Interface and is a web front-end for Fedora Commons, specialized in managing learning objects and their meta data. Key features include virtual repositories and flexible meta data schema.

Requirements:

Fedora Digital Object Repository 2.2

Installation:

Extracting flori-1.0.zip gives you the following files:

admin.war - WAR for the Flori-admin-app
repository.war - WAR for the Flori-repository-app
get.war - WAR for the Flori-get-servlet
oai.war - WAR for the Flori-oai-provider-servlet
initial_tables.sql - SQL script for initial tables in the MySQL database
proai_identify.xml - XML identify object for Fedora
INSTALL - installation instructions, approximately the same as this page

Install MySQL

Install a MySQL server at localhost.
Setup a database "flori", accessable by a user "flori" with password "flori".
Run initial_tables.sql on this database.

This is where Flori user accounts and virtual repositories are saved.

Install Tomcat 6

Create a directory /opt/flori/fedora-custom/
Download tomcat (version 6.x) and unpack it
Run 'mv apache-tomcat-6.x /opt/flori/fedora-custom/tomcat'
Edit tomcat/conf/tomcat-users.xml and add a user for the Tomcat manager.
For example, for a user "admin" with password "admin":
< ?xml version='1.0' encoding='utf-8'? >
< tomcat-users >
< role rolename="manager"/ >
< user username="admin" password="admin" roles="manager"/ >
< /tomcat-users >

Install Fedora 2.2

Download the installer from http://downloads.sourceforge.net/fedora-commons/fedora-2.2.1-installer.jar
Export environment variables ($JAVA_HOME should already be set):
$ export JAVA_OPTS="-server -XX:MaxPermSize=256M -Xmx512M"
$ export FEDORA_HOME=/opt/flori/fedora-custom
$ export CATALINA_HOME=/opt/flori/fedora-custom/tomcat
Run the installer: $ java -jar fedora-2.2.1-installer.jar. Use the default answer (press Return) for most questions, except for:
Installation type ==> custom
WARNING: /opt/flori/fedora-custom is not empty. Overwrite? ==> yes
Fedora administrator password ==> fedoraAdmin
SSL required for API-M ==> false
Servlet engine ==> existingTomcat
Keystore file ==> default
Database ==> included
Deploy local services and demos ==> false
Edit Fedora configuration at /opt/flori/fedora-custom/server/config/fedora.fcfg:
Change:
< param name="pidNamespace" value="id" >
Change:
< param name="retainPIDs" value="id demo test changeme fedora-bdef fedora-bmech tutorial" >
Start/Stop Fedora to setup the basic files.
$ /opt/flori/fedora-custom/tomcat/bin/startup.sh
$ /opt/flori/fedora-custom/tomcat/bin/shutdown.sh

Setup Proai for Fedora

Create the Proai cache folder /opt/proai. Assign write permissions for Tomcat.

Modify the resource index in /opt/flori/fedora-custom/server/config/fedora.fcfg:
< module role="fedora.server.resourceIndex.ResourceIndex" class="fedora.server.resourceIndex.ResourceIndexModule" >
< comment >Supports the ResourceIndex.< /comment >
< param name="level" value="1" >
The value for the level parameter should be "1" instead of "0".
After modifying the resource index run /opt/flori/fedora-custom/server/bin/fedora-rebuild.sh:
Choose:
1) Rebuild the Resource Index.
Then:
1) Yes
Note that if you rebuild the resource index you have to assert that Tomcat still has write permissions to /opt/flori/fedora-custom/data/resourceIndex.
Ingest proai_identify.xml, using the Fedora admin client in /opt/flori/fedora-custom/client/bin/fedora-admin.sh: -> File > Ingest > One Object > From File... > (choose file) > FOXML (Fedora Object XML)

Run Fedora

$ /opt/flori/fedora-custom/tomcat/bin/startup.sh
This will also start the Tomcat manager.

Deploy Flori

Deploy admin.war, repository.war, get.war and oai.war using the Tomcat manager at http://localhost:8080/manager/html/

Test Flori

admin
Go to http://localhost:8080/admin/ and login with admin:admin.
Create a repository.
Create a user.
webapp
Go to http://localhost:8080/repository/ and login with the user.
Create a URL object in the repository.
Create a file object in the repository.
get
Try to "toon huidige versie" to get the current version of a URL object.
Try to "toon huidige versie" to get the current version of a file object.
oai

Go to:
http://localhost:8080/oai/[reponame]/?verb=Identify|http://localhost:8080/oai/[reponame]/?verb=Identify
http://localhost:8080/oai/[reponame]/?verb=ListMetadataFormats|http://localhost:8080/oai/[reponame]/?verb=ListMetadataFormats
http://localhost:8080/oai/[reponame]/?verb=ListRecords&metadataPrefix=czp|http://localhost:8080/oai/[reponame]/?verb=ListRecords&metadataPrefix=czp

last updated on:
January 9th, 2008, 20:19 GMT
price:
FREE!
developed by:
Zoran Kovacevic
license type:
GPL (GNU General Public License) 
category:
ROOT \ Education

FREE!

In a hurry? Add it to your Download Basket!

user rating 17

UNRATED
4.0/5
 

0/5

1 Screenshot
Flori

Add your review!

SUBMIT