Changes between Version 28 and Version 29 of GENIExperimenter/Tutorials/GENIDesktop/GEC23/GENIDesktop_CLI
- Timestamp:
- 06/10/15 15:25:44 (9 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
GENIExperimenter/Tutorials/GENIDesktop/GEC23/GENIDesktop_CLI
v28 v29 43 43 If you do not see this output or run into any error , please ask for help. 44 44 45 == STEP 2. Generate and DownloadGDCLI key. ==45 == STEP 2. Generate and Copy GDCLI key. == 46 46 If you never used the GENIDesktop CLI Tool before, you will have to first generate a gdcli key which is an authentication token used by the system. To do this, Please click the "generate key" button under '''GDCLI Key''' Section on the accounts page. 47 Then c lick on the "Download Key" link to save the gdcli.key file on your machine. Please note the location you downloaded thisfile since it will required in the next step.47 Then copy the gdcli key for further use. Please save the key to a file since it will required in the next step. 48 48 49 49 == STEP 3. Enable the GDCLI using the GDCLI key. == 50 Run the command below to authenticate your CLI session using the gdcli.key just downloaded. 50 Open a terminal (command prompt if using Windows. Also cd c:\GDCLI .). 51 52 53 Run the command below to authenticate your CLI session using the gdcli.key just downloaded. 51 54 52 55 {{{ 53 gdcli auth file -p <PATH to gdcli.key file>56 gdcli authkey -k <key> 54 57 }}} 55 58 56 NOTE: This should only be the path. Please **DO NOT** include the filename "gdcli.key" in the path provided above57 59 58 60 == STEP 4. Using GENIDesktop CLI == … … 66 68 67 69 A user may want to automate these steps using custom scripts which is what we would like to emphasize in this section. We have created 68 69 * raw-attachment:gdcli_gec23.sh:wiki:GEMINI/Tutorial/Images/ bash script (For MAC and Linux Users) 70 * raw-attachment:gdcli_gec23.bat:wiki:GEMINI/Tutorial/Images/ Batch processing script (.bat for Windows Users) 71 70 {{{ 71 #!html 72 <ul> 73 <li><a href=http://http://groups.geni.net/geni/raw-attachment/wiki/GEMINI/Tutorial/Images/gdcli_gec23.sh> bash script (For MAC and Linux Users)</a></li> 74 <li><a href=http://http://groups.geni.net/geni/raw-attachment/wiki/GEMINI/Tutorial/Images/gdcli_gec23.bat> Batch processing script (.bat for Windows Users)</a></li> 75 </ul> 76 }}} 72 77 Click on the "Download in Original format" link at the bottom of the relevant script page mentioned above to download the script on your laptops. 73 78 … … 81 86 }}} 82 87 83 If the script finishes suces ffully , windows users should see a folder window pop up with the relevant graphs in them.. Linux/MAC users should see a folder called "mygraphs" appear on the Desktop which should contain the graph files. Double-clicking on them to view.88 If the script finishes sucessfully , windows users should see a folder window pop up with the relevant graphs in them. Linux/MAC users should see a folder called "mygraphs" appear on the Desktop which should contain the graph files. Double-clicking on them to view. 84 89 85 90 Some of the sample GENIDesktop CLI operations are show below. These could be combined in a custom script like the one you just ran.