This repository has been archived by the owner on Nov 14, 2022. It is now read-only.
forked from moravianlibrary/RecordManager
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathINSTALL
68 lines (30 loc) · 1.55 KB
/
INSTALL
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
Installation notes on CentOS 6:
- Requires 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 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/
- 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_id
or
php import.php --file=filename --source=datasource_id
- Deduplicate harvested records:
php manage.php --func=deduplicate
- Update Solr index:
php manage.php --func=updatesolr
- See the wiki pages for more information and OAI-PMH provider setup
- Install required libraries for MARC processing:
sudo pear install "channel://pear.php.net/File_MARC-0.7.1"
sudo pear install "channel://pear.php.net/Validate_ISPN-0.6.1"
sudo pear install "channel://pear.php.net/Validate-0.8.5"
sudo pear install "channel://pear.php.net/Structures_LinkedList-0.2.2"