other:uvcdat:cdat_conda:ipnb
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionLast revisionBoth sides next revision | ||
other:uvcdat:cdat_conda:ipnb [2019/05/15 18:00] – jypeter | other:uvcdat:cdat_conda:ipnb [2019/05/17 18:35] – jypeter | ||
---|---|---|---|
Line 53: | Line 53: | ||
==== Reminder ==== | ==== Reminder ==== | ||
- | * Make sure you read and understand the [[# | + | * Make sure you read and understand the [[# |
- | * If you are doing everything | + | * 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 | + | |
- | ==== Prerequisite | + | ==== Prerequisites |
- | | + | You need to meet the following prerequisites in order to create an ssh tunnel to the remote server where your notebook server will run |
+ | |||
+ | | ||
+ | * **you have a local web browser** installed! | ||
+ | * **you have an account on the remote server**: replace ''< | ||
+ | * **you have an assigned a //port number//** on the remote server: replace ''< | ||
+ | * List of assigned port numbers at **LSCE**: check the [[http:// | ||
+ | * Ask your advisor for a port number at LSCE if you do not have one | ||
+ | * List of assigned port numbers on **ciclad**: check the ''/ | ||
+ | * Ask Jérôme Servonnat for a port number on ciclad if you do not have one | ||
+ | * System dependent requirements: | ||
+ | * **Linux** and **Mac**: you should already be able to open a local terminal, and '' | ||
+ | * **Windows**: | ||
+ | * **Windows 7**: you have to install [[other: | ||
+ | * In the instructions below, replace '' | ||
+ | * **Windows 10**: ssh is already installed, but you may still want to install [[other: | ||
+ | * if you have installed [[https:// | ||
==== Digging ssh tunnels ==== | ==== 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 | + | The ssh tunnels will allow you to connect a web browser running |
=== From a local LSCE computer to obelix === | === From a local LSCE computer to obelix === | ||
- | plink -L 7225: | + | ssh -L 7225: |
+ | |||
+ | === From a computer outside LSCE to obelix === | ||
+ | |||
+ | In that case, we have to go through the ssh1 gateway before connecting to obelix | ||
+ | |||
+ | < | ||
plink -L 7225: | 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:// | ||
+ | |||
+ | ==== Extra resources ==== | ||
+ | |||
+ | * Jérôme' | ||
+ | * [[http:// | ||
+ | * [[https:// | ||
+ | * JYP's [[https:// | ||
/* standard page footer */ | /* standard page footer */ |
other/uvcdat/cdat_conda/ipnb.txt · Last modified: 2019/05/20 11:10 by jypeter