...
CLAIMS Direct Software Installation
Using the Claims Direct Repository
IFI CLAIMS provides yum software repositories to make installation simple. Currently, Centos 7 and Fedora 25 are covered but we are always expanding the distributions covered.
First, install the necessary repository configuration files:
Code Block |
---|
yum install epel-release
rpm -ivh
https://repo.ificlaims.com/ifi-alexandria/centos/7/x86_64/ifi-claims-direct-beta-0.0.1-1.el7.centos.x86_64.rpm |
Next, update the system:
Code Block |
---|
yum update # this update should pull libxml2 from our repository |
Finally, install the Alexandria::Client::Tools:
Code Block |
---|
yum install perl-Alexandria-Client-Tools # will pull in perl-Alexandria-Library |
Manual Module Installation (Not Recommended)
CLAIMS Direct software is a collection of Perl modules that interact with both the alexandria database and SOLR index to facilitate database updates from the primary server. Although not a requirement, it is highly recommended that a working cpan repository be enabled for automatic dependency resolution.
...
Code Block |
---|
Enter the cpan configuration utility: |
...
cpan
Would you like to configure as much as possible automatically? [yes] yes <==
...
cpan Would you like to configure as much as possible automatically? [yes] yes <== What approach do you want? (Choose 'local::lib', 'sudo' or 'manual') |
...
[local::lib] sudo <== |
...
Would you like me to automatically choose some CPAN mirror
sites
for
you? (This means connecting to the Internet) [yes] yes <==
Would you like me to automatically choose some CPAN mirror sites for you? (This means connecting to the Internet) [yes] yes <== cpan[1]> exit |
Download the Client Library and Tools packages
Please contact support for the newest available versions.
Installing the Client Library
...
Code Block |
---|
tar zxvf Alexandria-Library-x.x.tar.gz |
...
cd Alexandria-Library-x.x |
...
perl Makefile.PL --alldeps |
...
make |
...
# NOTE: if, during the course of dependency resolution, you are prompted to accept an install, please accept (yes|y) |
...
make test |
...
# last line of output should |
...
be # Result: PASS |
...
make install |
Custom Configuration
The CLAIMS Direct software requires a main configuration file named "alexandria.xml" and "alexandria-log.conf". Default files are available under /usr/local/share/perl5/Alexandria/resources/. These should be positioned globally so all tools have access.
...
Code Block |
---|
cp /usr/local/share/perl5/Alexandria/resources/*.* /etc |
It is unnecessary to edit /etc/alexandria.xml, but feel free to customize logging (/etc/alexandria-log.conf). See http://search.cpan.org/~mschilli/Log-Log4perl-1.42/lib/Log/Log4perl.pm#Configuration_files
Installing Client Tools
...
Code Block |
---|
tar zxvf Alexandria-Client-Tools-x.x.tar.gz |
...
cd Alexandria-Client-Tools-x.x |
...
perl Makefile.PL --alldeps |
...
make |
...
# NOTE: if, during the course of dependency resolution, you are prompted to accept an install, please accept (yes|y) |
...
make test |
...
# last line of output should |
...
be # Result: PASS |
...
make install |
...
...