Abekta

Nothing human is alien to me

User Tools

Site Tools


soft:jupyter

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
soft:jupyter [2023/03/13 08:56] – created - external edit 127.0.0.1soft:jupyter [2023/05/01 13:14] (current) asad
Line 1: Line 1:
 ====== Jupyter ====== ====== Jupyter ======
 ===== SSH tunneling ===== ===== SSH tunneling =====
-Create a notebook instance in the background of a server, and copy the url of the notebook:  +Create a notebook instance in the background of a server, and copy the url of the notebook.
  
-<code> +On the server: 
-screen +  - Open a new screen: ''screen'' 
-jupyter lab --no-browser --port=8889+  - Type <code>jupyter lab --no-browser --port=xxxx</code> (e. g. 8889) on the new screen. 
 +  - Detach from the screen: ''ctrl + a + d''
  
-ssh -N -f -L localhost:8889:localhost:8889 [email protected] +On your local machine: 
-http://localhost:8889/lab+  - Tunnel to the jupyter lab on the server: ''ssh -N -f -L localhost:xxxx:localhost:xxxx [email protected]'' 
 +  - On a browser, open ''http://localhost:8889/lab''
  
-source virtalenvs/beam/bin/activate+===== Kernel ===== 
 +<code>
 python -m ipykernel install --user --name=beam python -m ipykernel install --user --name=beam
 </code> </code>
- 
- 
soft/jupyter.1678719383.txt.gz · Last modified: by 127.0.0.1

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki