Sunday, February 6, 2011

Repository Harvester(PKP & Google)


Repository system is a bit challenge to the trend of online digital informations which are necessary to be integrated, and these are metadata,indexes or field link s to a searchable storage of archives.Just imagine a wide virtual system of one university library that could be a beneficiary to the other user/patron needs(researcher,teacher,students and other institutions) to get ample resources- electronic information. Given the available /free technology (Open source ) on the net and the knowledge of informations it is nowadays ' opportunity to unified every database of knowledge available elsewhere (World Wide Web).

If this is everybody's goal and we set this vision come into real , one thing we can invoke of having a unified opportunity of grabbing every archive or repository is by way of harvesting it. Yes brother we need to harvest those knowledge online and we need a harvester which is a free system-Open Harvester System

Open Harvester Systems is a free metadata indexing system developed by the Public Knowledge Project through its federally funded efforts to expand and improve access to research.

OHS allows you to create a searchable index of the metadata from Open Archives Initiative (OAI)-compliant archives, such as sites using Open Journal Systems (OJS) or Open Conference Systems (OCS).


Quad-Core CPU Cerver (i7,xeon AMD or etc)
OHS Software


sudo apt-get install apache2

sudo apt-get install php5

sudo apt-get install libapache2-mod-php5

sudo /etc/init.d/apache2 restart

sudo apt-get install mysql-server

sudo apt-get install php5-mysql


Installing Apache2
./configure --prefix=/usr/local/apache2 \
--enable-so \
--enable-cgi \
--enable-info \
--enable-rewrite \
--enable-speling \
--enable-usertrack \
--enable-deflate \
--enable-ssl \

Installing PHP
./configure \
--with-apxs2=/usr/local/apache2/bin/apxs \
--with-mysql=/usr/include/mysql \
--prefix=/usr/local/apache2/php \
--with-config-file-path=/usr/local/apache2/php \
--enable-force-cgi-redirect \
--disable-cgi \
--with-zlib \
--with-gettext \

1)How to reinstall apache2 completely:
root@localhost# /etc/apache2# 
/etc/init.d/apache2 start .: 45: Can't open /etc/apache2/envvars
Try to execute the CLI
root@loccalhost# sudo apt-get remove --purge apache2 apache2-utils

Then reinstall the apache2

root@localhost# sudo apt-get install apache2

If Error(98) socket bind problem or already in use
Try typing this command to find out which uses port 80
root@localhost # netstat -A inet -lnp
root@localhost # kill xxx (ID for port 80)

2) In installing PHP
I've encountered some miss files :
Note if it is a built installations(PHP won't see mysql header files(*.h))
so try to add this in your configurations
3) Reinstalling a Mysql
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/lib/mysq

Try this mysql safe comand to help solve that problem:
root@localhost# mysqld_safe
Try another CLI Tab
root@localhost# mysql -u root -p
..there you have it solved

No comments:

Post a Comment