RecordManager is a metadata record management system intended to be used in conjunction with VuFind. It can also be used as an OAI-PMH repository and a generic metadata management utility.
See the RecordManager wiki for more information and OAI-PMH provider setup.
For a stable version, see the stable branch.
These are quick instructions on how to set up RecordManager. Please refer to the wiki pages for more information on the configuration and setup of RecordManager.
-
Required PHP packages: php php-pear php-xml php-xsl php-devel php-mbstring php-intl
yum install php php-pear php-xml php-devel php-mbstring php-intl -
Required PHP packages for polygon simplification in NominatimGeocoder (optional):
yum install geos geos-phpWith PHP 7 a recent version from https://git.osgeo.org/gogs/geos/php-geos may be required, and it will require
yum install geos-develto compile. -
Required pecl modules: mongo
yum install gcc make pecl install mongo -
Add the extension=mongo.so line to /etc/php.d/mongo.ini
-
Required Pear modules: HTTP_Request2
pear install HTTP_Request2 -
Install MongoDB from 10gen repositories (see http://www.mongodb.org/display/DOCS/CentOS+and+Fedora+Packages)
-
Adjust MongoDB settings as needed
-
Copy RecordManager to /usr/local/RecordManager/
-
Run composer install to install PHP dependencies
-
Create indexes with dbscripts/mongo.js
mongo recman dbscripts/mongo.js -
Copy conf/recordmanager.ini.sample to conf/recordmanager.ini and modify the settings to suit your needs.
-
Copy conf/datasources.ini.sample to conf/datasources.ini and modify the settings to suit your needs.
-
Start using the system by executing e.g.
php harvest.php --source=datasource_idor
php import.php --file=filename --source=datasource_id -
Deduplicate harvested records:
php manage.php --func=deduplicate -
Update Solr index:
php manage.php --func=updatesolr