Relocating Jarvis
The standard packages install Jarvis into the default locations for your system. Typically, these packages should work “out of the box”. However, there are some cases where you may wish to install Jarvis into non-default locations. Specifically:
- When installing on a platform for which there is no standard Jarvis package.
- When installing a test system, or where multiple versions of Jarvis must co-exist.
If you install Jarvis into another location, then you must change the Jarvis installation paths in the following locations:
- Modify the Apache configuration (as described in the Apache Configuration chapter).
- Modify the Jarvis module path in
etc/apache/startup.pl
(only if usingmod_perl
).
The startup.pl
script is a Perl fragment which tells mod_perl
where to find the module containing the mod_perl
handler for the Jarvis web service agent. When relocating Jarvis, modify the path to specify the new location of the Jarvis lib directory.
By default it contains the following:
use Apache::DBI;
use lib qw(/usr/share/jarvis/lib); # For Debian.
use lib qw(/opt/jarvis/lib); # For other systems.
1;