...
Place the unpackaged module in your site's 'modules' folder, with the name stripped out of the version. For single-site installations, this should almost always be in /var/www/drupal/sites/all/modules. This can be done using one of two methods:
- Method 1: Manually via the Release Notes and Downloads page:
Code Block |
---|
language | bash |
---|
title | Unzip method 1 |
---|
|
Save the downloaded islandora-7.x-1.3.zip file into /opt/downloads
# cd /var/www/drupal/sites/all/modules
# unzip /opt/downloads/islandora-7.x-1.3.zip
# mv islandora-7.x-.1.3 islandora
# chown -R www-data:www-data islandora |
- Method 2: Manually via the command line with git download:
Code Block |
---|
language | bash |
---|
title | Unzip method 2 |
---|
|
# cd /opt/downloads
# git clone -b 7.x https://github.com/Islandora/islandora.git
# cp -R /opt/downloads/islandora /var/www/drupal/sites/all/modules
# cd /var/www/drupal/sites/all/modules
# chown -R www-data:www-data islandora |
- Method 3: From within Drupal: navigate to base-site-url/admin/modules/install. From here, either upload the zipped module, or enter https://github.com/Islandora/islandora/archive/7.x.zip into the text box there. Note that this method is less reliable, as it requires the correct permissions to have been previously set up using your web server
- Change the permissions on Drupal sub-directories:
Code Block |
---|
language | bash |
---|
title | fix permissions |
---|
|
# cd /var/www/drupal/sites/all
# chown -R www-data:www-data * |
- Set up the policies to allow Islandora to connect to Fedora. This is done by making changes in /usr/local/fedora/data/fedora-xacml-policies/repository-policies:
Code Block |
---|
language | bash |
---|
title | fix Fedora policies |
---|
|
First remove the deny-purge policies in the default directory:
# rm /usr/local/fedora/data/fedora-xacml-policies/repository-policies/default/deny-purge-*
Then, create the islandora directory for the Islandora policy files, and copy the files from the islandora
# mkdir /usr/local/fedora/data/fedora-xacml-policies/repository-policies/islandora
# cd /usr/local/fedora/data/fedora-xacml-policies/repository-policies/islandora
# cp /var/www/drupal/sites/all/modules/islandora/policies/* .
Now, restart Tomcat.
# $FEDORA_HOME/tomcat/bin/shutdown.sh
# $FEDORA_HOME/tomcat/bin/startup.sh
|
Enable the uploaded module by navigating to base-site-url/admin/modules, scrolling down to the Islandora module (in the 'Islandora' category), checking the box to the left of it, and then scrolling to the bottom of the page and clicking the 'Save configuration' button.
...