other:uvcdat:cdat_conda:ipnb
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
other:uvcdat:cdat_conda:ipnb [2019/05/15 17:13] – jypeter | other:uvcdat:cdat_conda:ipnb [2019/05/16 11:30] – [Prerequisites] jypeter | ||
---|---|---|---|
Line 47: | Line 47: | ||
- in a web browser, open the temporary URL displayed by the ipython server and start using the ipython notebooks | - in a web browser, open the temporary URL displayed by the ipython server and start using the ipython notebooks | ||
- when you are finished, <wrap em>do not forget to kill the ipython server</ | - when you are finished, <wrap em>do not forget to kill the ipython server</ | ||
- | * Warning! Closing the browser, or using the Logout button in the browser will not stop the ipython server | + | * Warning! Closing the browser, or using the Logout button in the browser will not stop the ipython server |
+ | |||
+ | ===== Working correctly with the notebooks ===== | ||
+ | |||
+ | ==== Reminder ==== | ||
+ | |||
+ | * Make sure you read and understand the [[# | ||
+ | * If you have a python installed **on your own desktop/ | ||
+ | * **On a remote and shared server**, only start the notebook server and use a local browser to connect to the notebook server through an ssh tunnel | ||
+ | |||
+ | ==== Prerequisites ==== | ||
+ | |||
+ | * We assume that you have a local web browser installed!\\ Depending on your (local) computer: | ||
+ | * **Linux**: you should already be able to open a local terminal, and '' | ||
+ | * **Windows**: | ||
+ | * Windows 7: and you need to install [[other: | ||
+ | * In the instructions below, replace '' | ||
+ | |||
+ | ==== Digging ssh tunnels ==== | ||
+ | |||
+ | The ssh tunnels will allow you to connect a web browser running locally on your computer to a notebook server running on a remote server | ||
+ | |||
+ | === From a local LSCE computer to obelix === | ||
+ | |||
+ | < | ||
+ | |||
+ | |||
+ | plink -L 7225: | ||
+ | |||
+ | ssh -X -t -L7100: | ||
+ | |||
+ | plink -X -t -L7100: | ||
+ | |||
+ | plink -ssh -X -t -L 7100: | ||
+ | |||
+ | plink -X -t -L 7100: | ||
+ | |||
+ | ssh -X -t -L 7100: | ||
+ | |||
+ | (cdatm_py3) jypeter@obelix3 - ...jypeter - 44 >jupyter notebook --no-browser --port=7100 | ||
+ | [I 23: | ||
+ | [I 23: | ||
+ | [I 23: | ||
+ | [I 23: | ||
+ | [I 23: | ||
+ | [I 23: | ||
+ | [C 23: | ||
+ | |||
+ | To access the notebook, open this file in a browser: | ||
+ | file:/// | ||
+ | Or copy and paste one of these URLs: | ||
+ | http:// | ||
/* standard page footer */ | /* standard page footer */ |
other/uvcdat/cdat_conda/ipnb.txt · Last modified: 2019/05/20 11:10 by jypeter