soft:jupyter
Differences
This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| soft:jupyter [2023/03/13 08:56] – created - external edit 127.0.0.1 | soft: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. |
| - | < | + | On the server: |
| - | screen | + | - Open a new screen: '' |
| - | jupyter lab --no-browser --port=8889 | + | - Type < |
| + | - Detach from the screen: '' | ||
| - | ssh -N -f -L localhost:8889:localhost:8889 [email protected] | + | On your local machine: |
| - | http:// | + | - Tunnel to the jupyter lab on the server: '' |
| + | - On a browser, open '' | ||
| - | source virtalenvs/ | + | ===== Kernel ===== |
| + | < | ||
| python -m ipykernel install --user --name=beam | python -m ipykernel install --user --name=beam | ||
| </ | </ | ||
| - | |||
| - | |||
soft/jupyter.1678719383.txt.gz · Last modified: by 127.0.0.1
