|
Mit rss feeds
|
bet | 6/7 | Sana | 15.03.2017 | Hajmi | 35,17 Kb. | | #55 |
AllowOverride None
Order Deny,Allow
Allow from all
Change ‘AllowOverride None’ to ‘AllowOverride All’. Apache should be restarted after making this change.
-
Run the installation script with this command:
./install_adapter.pl
The installation script will perform the following operations:
-
Get the PWD environment variable and extract the version token from the path.
-
Prompt the installer for the institution’s name. This will be used in the adapter’s response to an ‘ilsinstance’ call, the one non-Aleph call that it accepts. Here is an example of the structure returned by the ‘ilsinstance’ call, reporting the institution’s name, the version of Aleph, and a few site-specific Aleph variables:
MIT
22.0.3
en_US
Eastern Standard Time
EST
USD
-
Prompt the installer for the Tomcat/JBOSS port number.
-
Prompt the installer for an Aleph patron id to be used in verifying the installation.
-
Prompt the installer for the IP address of each remote server that will call the adapter.
-
Generate the ‘get_aleph_info.csh’ shell script from a template, interpolating the version token as needed.
-
Generate the ‘api_adapter.cgi’ script from a template, interpolating the server IP addresses into the whitelist and the JBOSS port number into the appropriate variable.
-
Run validate.pl to test the installation. Validate.pl will perform the following operations:
-
Verify the presence of the required Perl packages and report success or failure.
-
Using the Aleph id supplied by the installer, construct and submit a URL to the X-server and report success or failure.
-
Using the Aleph id supplied by the installer, construct and submit a URL to the REST API and report success or failure.
-
Verify the operation of the get_aleph_info.csh shell script.
-
If no errors are reported by the installation and validation scripts, the installation is complete. The validation script generates and displays a test URL. Test this URL from any server whose IP address was specified during installation. It can be tested from a browser if the browser’s IP address is part of the server whitelist.
|
| |