• ./install_adapter.pl
  • Mit rss feeds




    Download 35,17 Kb.
    bet6/7
    Sana15.03.2017
    Hajmi35,17 Kb.
    #55
    1   2   3   4   5   6   7
    AllowOverride None

    Order Deny,Allow

    Allow from all

    Change ‘AllowOverride None’ to ‘AllowOverride All’. Apache should be restarted after making this change.




    1. Run the installation script with this command:
      ./install_adapter.pl

      The installation script will perform the following operations:

      1. Get the PWD environment variable and extract the version token from the path.


      2. 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




      3. Prompt the installer for the Tomcat/JBOSS port number.


      4. Prompt the installer for an Aleph patron id to be used in verifying the installation.


      5. Prompt the installer for the IP address of each remote server that will call the adapter.


      6. Generate the ‘get_aleph_info.cshshell script from a template, interpolating the version token as needed.


      7. Generate the ‘api_adapter.cgiscript from a template, interpolating the server IP addresses into the whitelist and the JBOSS port number into the appropriate variable.


      8. Run validate.pl to test the installation. Validate.pl will perform the following operations:

        1. Verify the presence of the required Perl packages and report success or failure.



        2. Using the Aleph id supplied by the installer, construct and submit a URL to the X-server and report success or failure.


        3. Using the Aleph id supplied by the installer, construct and submit a URL to the REST API and report success or failure.



        4. Verify the operation of the get_aleph_info.csh shell script.


    2. 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.




    Download 35,17 Kb.
    1   2   3   4   5   6   7




    Download 35,17 Kb.