forked from NatLibFi/RecordManager
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathINSTALL
More file actions
60 lines (25 loc) · 1.23 KB
/
INSTALL
File metadata and controls
60 lines (25 loc) · 1.23 KB
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
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