-
Notifications
You must be signed in to change notification settings - Fork 1
/
install.txt
57 lines (46 loc) · 3.94 KB
/
install.txt
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
Installing into UPEI test site (test.islandlives.ca)
Install files
cd /var/www/html/drupal/sites/test.islandlives.ca.jesterhazy/modules
sudo svn co http://http://137.149.66.238/repos/fedoradrupalmodule/islandora_dm/trunk/drupal/modules/islandora_dm islandora_dm
sudo chown -R apache:apache islandora_dm
sudo cp -R islandora_dm/etc/mock_po_service /var/www/html/drupal/islandora_dm_mock_po_service
sudo chown -R apache:apache /var/www/html/drupal/islandora_dm_mock_po_service
sudo -u apache mkdir /var/www/html/drupal/sites/test.islandlives.ca.jesterhazy/files/islandora_dm_import
sudo -u apache mkdir /var/www/html/drupal/sites/test.islandlives.ca.jesterhazy/files/islandora_dm_archive
-- solr service
sudo cp -R Solr /var/www/html/drupal/sites/test.islandlives.ca.jesterhazy/modules/fedora_repository/Solr
sudo chown -R apache:apache /var/www/html/drupal/sites/test.islandlives.ca.jesterhazy/modules/fedora_repository/Solr
-- patch fedora_repository module code
cd /var/www/html/drupal/sites/test.islandlives.ca.jesterhazy/modules/fedora_repository
sudo patch -p0 < ~/fedora-collection-cmodel-patch-je.diff
-- update gsearch config
apply patch islandora_dm/etc/conf/test.islandlives.ca/demoFoxmlToLucene.xslt.diff to
/usr/local/fedora/tomcat/webapps/fedoragsearch/WEB-INF/classes/config/index/gsearch_solr/demoFoxmlToLucene.xslt
and restart tomcat
Generate test import files (optional):
sudo -u apache cp islandora_dm/etc/foxml/examples/tiff/a.tiff '/var/www/html/drupal/sites/test.islandlives.ca.jesterhazy/files/islandora_dm_import/1 2010-09-17 (1) 0001.tiff'
sudo -u apache cp islandora_dm/etc/foxml/examples/tiff/a.tiff '/var/www/html/drupal/sites/test.islandlives.ca.jesterhazy/files/islandora_dm_import/1 2010-09-17 (2) 0001.tiff'
sudo -u apache cp islandora_dm/etc/foxml/examples/tiff/b.tiff '/var/www/html/drupal/sites/test.islandlives.ca.jesterhazy/files/islandora_dm_import/1 2010-09-17 (2) 0002.tiff'
sudo -u apache cp islandora_dm/etc/foxml/examples/tiff/a.tiff '/var/www/html/drupal/sites/test.islandlives.ca.jesterhazy/files/islandora_dm_import/2 2010-09-17 (1) 0001.tiff'
sudo -u apache cp islandora_dm/etc/foxml/examples/tiff/b.tiff '/var/www/html/drupal/sites/test.islandlives.ca.jesterhazy/files/islandora_dm_import/2 2010-09-17 (1) 0002.tiff'
sudo -u apache cp islandora_dm/etc/foxml/examples/tiff/a.tiff '/var/www/html/drupal/sites/test.islandlives.ca.jesterhazy/files/islandora_dm_import/1 2010-09-18 (1) 0001.tiff'
sudo -u apache cp islandora_dm/etc/foxml/examples/tiff/b.tiff '/var/www/html/drupal/sites/test.islandlives.ca.jesterhazy/files/islandora_dm_import/1 2010-09-18 (1) 0002.tiff'
sudo -u apache cp islandora_dm/etc/foxml/examples/tiff/c.tiff '/var/www/html/drupal/sites/test.islandlives.ca.jesterhazy/files/islandora_dm_import/1 2010-09-18 (1) 0003.tiff'
- enable module in drupal admin
- update module settings:
Import Path: /var/www/html/drupal/sites/test.islandlives.ca.jesterhazy/files/islandora_dm_import
Archive Path: /var/www/html/drupal/sites/test.islandlives.ca.jesterhazy/files/islandora_dm_archive
Disable Archiving: On
PO Service URL: http://test.islandlives.ca/islandora_dm_mock_po_service/po-service.php
Install all Fedora Objects
- update fedora_repository module settings:
add 'islandora-dm:' to allowed pid spaces
-- theming (islandimagined)
1. add, enable islandimagined theme in drupal admin
2. add css overrides to theme:
cp /var/www/html/drupal/sites/test.islandlives.ca.jesterhazy/modules/css/islandora-dm-islandimagined.css /var/www/html/drupal/sites/test.islandlives.ca.jesterhazy/themes/islandimagined
-- start jms listeners on abbyy server
ssh 137.149.200.15
sudo su - abbyy
python2.7 fedora_listener/fedora_listener.py -H test.islandlives.ca -P 61613 -U fedoraAdmin -W <pw> -R http://test.islandlives.ca:8080/fedora >/tmp/fedora_listener.log&
python2.7 content_model_listeners/content_model_listener.py -H test.islandlives.ca -P 61613 -U fedoraAdmin -W <pw> -R http://test.islandlives.ca:8080/fedora -M islandora-dm:cmodel-page >/tmp/content-model-listener.log&