L-Store Usage Instructions: Difference between revisions
Jump to navigation
Jump to search
(New page: #Setting Up Lstore #Uploading/Downloading Files #[[L-Store Usage Instructions - Other Applicatio...) |
No edit summary |
||
Line 38: | Line 38: | ||
source ~/lstore/jar/setup_env</pre> | source ~/lstore/jar/setup_env</pre> | ||
<span style="font-size:130%">'''Proceed to [[ | <span style="font-size:130%">'''Proceed to [[L-Store Usage Instructions - Uploading/Downloading Files|Uploading/Downloading Files]]'''</span> |
Revision as of 10:49, 16 January 2008
Setting Up Lstore
- Copy the Lstore client software from an existing location or email the lstore development group to obtain it.
- Visit the ACCRE Staff Directory and email Larry Dawson, Santiago de Ledesma, or Kelly McCauley for help.
- A good reference for setup and examples is Lstore Command Line Client Intro
- Check to see if java v1.6 is in your PATH (if you get this output you're good):
$ java -version java version "1.6.0_01" Java(TM) SE Runtime Environment (build 1.6.0_01-b06) Java HotSpot(TM) Client VM (build 1.6.0_01-b06, mixed mode, sharing)
- Create a directory for lstore files:
$ mkdir ~/lstore
- Unzip the client tar file:
$ tar -zxf lstore-client.tgz
- set the ClassPath to include all the jar files in the new directory. If the setup_env file exists, edit it to appear this way (with appreopriate shell syntax), or create it if necessary:
$ emacs setup_env setenv CLASSPATH /home/username/lstore/jar/accre-loci-1.0-1817.jar:/home/username/lstore\ /jar/aspectjrt-1.5.2a.jar:/home/username/lstore/jar/aspectjtools-1.5.2a.jar:/home/username\ /lstore/jar/client-1.0.jar:/home/username/lstore/jar/jargs-1.0.jar:/home/username/lstore\ /jar/je-3.1.0.jar:/home/username/lstore/jar/log4j-1.2.12.jar:/home/username/lstore/jar\ /server-1.0.jar:/home/username/lstore/jar/storcore-1.3.0.jar:/home/username/lstore/jar\ /postgresql-8.2-504.jdbc3.jar alias lstcp java org.lstore.client.Lstcp setenv LSTORE_OPTIONS "--login-id lstore_root"
- The CLASSPATH settings are one continuous line - the backslashes at the end of the line show a continuation to the line below (they should not be typed into the path).
- The last two lines are used to make the command line input simpler: "lstcp" is the command alias and the login option is included automatically, you do not have to type it for every command.
- Source the setup_env file, and the system is prepared to run commands:
$ source setup_env
- To set this permanently, add it to your login file (shown here for tcsh):
$ emacs (or another editor) ~/.cshrc add: #source the setup file for lstore applications source ~/lstore/jar/setup_env
Proceed to Uploading/Downloading Files