Child pages
  • Server Scripts

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Location:

/var/www/cgi-bin/

Language:

Perl

<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="6e4e73118f82fd3b-50119c6d-4d7847eb-96e591fc-90529731791c36e2b21ec7c3"><ac:plain-text-body><![CDATA[

Usage:

viewStats.cgi?[current][year=yyyy][month=Mmm][day=dd][location=In+Music+Library|On+Campus|Off+Campus|Totals][view=yearly|monthly|daily]

]]></ac:plain-text-body></ac:structured-macro>

When to run:

Whenever an administrator wants to view statistics

Notes:

For this script to work the filepath directory should be linked into an apache viewable directory that is specified with urlpath.
This script now displays both UI and Darwin statistics.

Changes to make for test sites:

Line 28: filepath - filesystem path to statistics files generated by generateStats.pl and generateQTStats.pl
Line 29: v2URL - url of access page rendering script
Line 30: urlPath - url where comma delimited files and generated images can be found
Line 31: homepage - url of statistics about page
Line 282: CSS link is specified as urlPath/dml1.css

...

Location:

/home/dmlserv/dml/bin/

Language:

sh calling Java

<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="e46a9c31dddc2a33-0fe27ca3-4f1d495d-8ef8aa87-a0b6f22ba1b375d259bde8df"><ac:plain-text-body><![CDATA[

Usage:

generateAccessPage.sh service_name [variationsID | variationsID_file] out_directory

]]></ac:plain-text-body></ac:structured-macro>

When to run:

Whenever a new Container is created or updated (not currently setup)

Notes:

Calls v2run on edu.indiana.dml.util.AccessPageGenerator.
variationsIDs (notis-style) passed to this script must be for Containers

Changes to make for test sites:

 

...

Location:

/home/dmlserv/dml/bin/

Language:

Perl

Usage:

setDB2Permissions.pl ( grant | revoke ) <schema_name> <user_name>

Examples:

setDB2Permissions.pl grant RHS_CAT2 dmlrhs
setDBP2ermissions.pl revoke RHS_CAT2 dmlrhs

When to run:

After new Variations3 phase 1 test site schema and user account have been set up.

Notes:

This script is intended for use only at IU by the Variations group.
The grant option gives the specified user the necessary permissions to use the specified schema with Variations.
The revoke option takes away the users permissions to access the specified schema.

Changes to make for test sites:

NA

varGroup.sh

Location:

/home/dmlserv/dml/bin/

Language:

sh calling Java

<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="d1e05fcc-d2ca-4a4c-8719-2ff9c1698e51"><ac:plain-text-body><![CDATA[

Usage:

varGroup.sh delete [-f] <group_name>
]]></ac:plain-text-body></ac:structured-macro>
<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="a4d7cd94-1bb1-4ee4-9e4f-bc9231f4a8e1"><ac:plain-text-body><![CDATA[ | dump [-f] [-g <group_name>] <file_name> | -dir <dir_name>
]]></ac:plain-text-body></ac:structured-macro>
| list
<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="42b8e228-b1ba-4030-abf2-7137f137ce9b"><ac:plain-text-body><![CDATA[ | load <file_name1> [<file_name2> ...]

]]></ac:plain-text-body></ac:structured-macro>

When to run:

As needed.

Notes:

Command line utility for the Access Manager Database that is used for authorization. For more information see

Changes to make for test sites: