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...) |
|||
(One intermediate revision by the same user not shown) | |||
Line 5: | Line 5: | ||
== Setting Up Lstore == | == Setting Up Lstore == | ||
*Copy the | *Copy the lstcp.jar file from the [http://www.lstore.org/pwiki/pmwiki.php?n=Docs.CLI-ClientIntro Lstore website]. | ||
**Visit the [http://www.accre.vanderbilt.edu/support/contact/staff.php ACCRE Staff Directory] and email Larry Dawson, Santiago de Ledesma, or Kelly McCauley for help. | **Visit the [http://www.accre.vanderbilt.edu/support/contact/staff.php ACCRE Staff Directory] and email Larry Dawson, Santiago de Ledesma, or Kelly McCauley for help. | ||
**A good reference for setup and examples is [http://www.lstore.org/pwiki/pmwiki.php?n=Docs.CLI-ClientIntro Lstore Command Line Client Intro] | **A good reference for setup and examples is [http://www.lstore.org/pwiki/pmwiki.php?n=Docs.CLI-ClientIntro Lstore Command Line Client Intro] | ||
Line 15: | Line 15: | ||
*Create a directory for lstore files: | *Create a directory for lstore files: | ||
<pre> $ mkdir ~/lstore</pre> | <pre> $ mkdir ~/lstore</pre> | ||
* | *If a lstore_env file exists, edit it to appear this way (with appreopriate shell syntax), or create it: | ||
<pre> $ emacs setup_env | <pre> $ emacs setup_env | ||
alias lstcp "java -cp ~/lstore/lstcp.jar org.lstore.client.AutomatedLstcp --login-id lstore_root --password changeme"</pre> | |||
*This alias automatically enters the username and password so that lstcp commands can be used in other programs. | |||
*Source the lstore_env file, and the system is prepared to run commands: | |||
<pre> $ source lstore_env</pre> | |||
* | |||
*Source the | |||
<pre> $ source | |||
*To set this permanently, add it to your login file (shown here for tcsh): | *To set this permanently, add it to your login file (shown here for tcsh): | ||
<pre> $ emacs (or another editor) ~/.cshrc | <pre> $ emacs (or another editor) ~/.cshrc | ||
add: | add: | ||
#source the setup file for lstore applications | #source the setup file for lstore applications | ||
source ~/lstore/ | source ~/lstore/lstore_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> |
Latest revision as of 09:17, 6 August 2008
Setting Up Lstore
- Copy the lstcp.jar file from the Lstore website.
- 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
- If a lstore_env file exists, edit it to appear this way (with appreopriate shell syntax), or create it:
$ emacs setup_env alias lstcp "java -cp ~/lstore/lstcp.jar org.lstore.client.AutomatedLstcp --login-id lstore_root --password changeme"
- This alias automatically enters the username and password so that lstcp commands can be used in other programs.
- Source the lstore_env file, and the system is prepared to run commands:
$ source lstore_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/lstore_env
Proceed to Uploading/Downloading Files