Skip to content

Commit cdbee81

Browse files
authored
IDEs_cmd.rst jupyter Uppmax locally
1 parent 3743954 commit cdbee81

1 file changed

Lines changed: 8 additions & 6 deletions

File tree

docs/day2/IDEs_cmd.rst

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -124,6 +124,8 @@ Local notes
124124
125125
jupyter-notebook --ip 0.0.0.0 --no-browser
126126
127+
- This will start a jupyter server session so leave this terminal open. The terminal will also display multiple URLs.
128+
- Copy the URL containing ``sensXXXXXXX``
127129

128130
**4. Connect to the running Jupyter server**
129131

@@ -143,27 +145,27 @@ Local notes
143145
.. tab:: Bianca (NEEDS UPDATE)
144146

145147
* start ``firefox`` on the ThinLinc.
146-
* browse to the URLs, which will be similar to ``http://b[xxx].uppmax.uu.se:8889/tree?token=2ac454a7c5d7376e965ad521d324595ce3d4``
148+
* browse to the URLs, which will be similar to ``http://sens2017625-b9.uppmax.uu.se:8888/treer``
147149
* Paste the url and it will start the Jupyter interface on ThinLinc and all calculations and files will be on Snowy.
148150

149151
*On own computer* Only Pelle
150152

151153
If you want to connect to the Jupyter server running on Rackham/Snowy from your own computer, you can do this by using SSH tunneling. Which means forwarding the port of the interactive node to your local computer.
152154

153-
* On Linux or Mac this is done by running in another terminal. Make sure you have the ports changed if they are not at the default ``8888``.
155+
* On Linux or Mac this is done by running in another terminal. Replace ``p115`` with the actual node number you got in step 3. Make sure you have the ports changed if they are not at the default ``8888``.
154156

155157
.. code-block:: sh
156158
157-
$ ssh -L 8888:r486:8888 username@rackham.uppmax.uu.se
159+
$ ssh -L 8888:p115:8888 <username>@pelle.uppmax.uu.se
158160
159161
* If you use Windows it may be better to do this in the PowerShell instead of a WSL2 terminal.
160162
* If you use PuTTY - you need to change the settings in "Tunnels" accordingly (could be done for the current connection as well).
161163

162-
* On your computer open the URL you got from step 3. on your webbrowser but replace r486 with localhost i.e. you get something like this
164+
* On your computer open the URL you got from step 3. on your webbrowser but replace p115 with localhost i.e. you get something like this
163165

164-
``http://localhost:8888/?token=5c3aeee9fbfc75f7a11c4a64b2b5b7ec49622231388241c2``
166+
``http://localhost:8888/lab?token=73178b5ec897ae9bed6ae4b1815137d83dff671562574989``
165167
or
166-
``http://127.0.0.0:8888/?token=5c3aeee9fbfc75f7a11c4a64b2b5b7ec49622231388241c2``
168+
``http://127.0.0.1:8888/lab?token=73178b5ec897ae9bed6ae4b1815137d83dff671562574989``
167169

168170
* This should bring the jupyter interface on your computer and all calculations and files will be on Rackham.
169171

0 commit comments

Comments
 (0)