This is an automated email from the ASF dual-hosted git repository.
magicaltrout pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/drat.wiki.git
The following commit(s) were added to refs/heads/master by this push:
new 2b6d240 Updated Installation (markdown)
2b6d240 is described below
commit 2b6d240191c9711c1c0712769f791e5ef4eb445c
Author: Tom Barber <[email protected]>
AuthorDate: Fri Jul 20 12:30:00 2018 +0100
Updated Installation (markdown)
---
Installation.md | 15 +++++++++++++--
1 file changed, 13 insertions(+), 2 deletions(-)
diff --git a/Installation.md b/Installation.md
index e543a73..515e480 100644
--- a/Installation.md
+++ b/Installation.md
@@ -54,15 +54,26 @@ setenv FMPROD_HOME
$DRAT_HOME/tomcat/webapps/fmprod/WEB-INF/classes/
```
Mac/Linux:
```
-export DRAT_HOME=~/drat/deploy
+export JAVA_HOME=<path to jvm>
+export DRAT_HOME=$HOME/drat/deploy
export GANGLIA_URL=http://zipper.jpl.nasa.gov/ganglia/
export FILEMGR_URL=http://localhost:9000
export WORKFLOW_URL=http://localhost:9001
export RESMGR_URL=http://localhost:9002
-export SOLR_DRAT_URL=http://localhost:8080/solr/drat
export WORKFLOW_HOME=$DRAT_HOME/workflow
export FILEMGR_HOME=$DRAT_HOME/filemgr
export PGE_ROOT=$DRAT_HOME/pge
export PCS_HOME=$DRAT_HOME/pcs
export FMPROD_HOME=$DRAT_HOME/tomcat/webapps/fmprod/WEB-INF/classes/
+export PATH=$JAVA_HOME/bin:$PATH
+export SOLR_DRAT_URL=http://localhost:8080/solr/drat
+
+##### Copy and Paste this Block into the .bashrc of your deployment user
account ##########
+
+alias fmquery="java
-Dorg.apache.oodt.cas.filemgr.properties=$FILEMGR_HOME/etc/filemgr.properties
-Djava.ext.dirs=.$FILEMGR_HOME/lib org.apache.oodt.cas.filemgr.tools.QueryTool
--url $FILEMGR_URL --lucene -query "
+
+alias fmdel="java
-Dorg.apache.oodt.cas.filemgr.properties=$FILEMGR_HOME/etc/filemgr.properties
-Djava.ext.dirs=$FILEMGR_URL/lib
org.apache.oodt.cas.filemgr.tools.DeleteProduct --fileManagerUrl $FILEMGR_URL
--read"
+
+alias metdump="java -Djava.ext.dirs=$FILEMGR_HOME/lib
org.apache.oodt.cas.filemgr.tools.MetadataDumper --url $FILEMGR_URL --out .
--productId "
+
```