|
|
Here, I will be presenting the way it worked for me, thus, it might not be working the same exact way for you.
|
|
|
|
|
|
Installing and configuring Jupyter
|
|
|
---
|
|
|
- I connect to the iap computers by using crlogin.iap.kit.edu, it seems obvious but if I use augerlogin.iap.kit.edu it doesn't work for some reason.
|
|
|
- I'm not sure about this being necessary but I did everything into the following folder:
|
|
|
|
|
|
`cd /cr/data03/bertrand/higgs-build/`
|
|
|
- Then, install jupyter as follow:
|
|
|
|
|
|
`pip3 install --user jupyterlab`
|
|
|
|
|
|
`jupyter-lab --generate-config`
|
|
|
|
|
|
`jupyter notebook --generate-config`
|
|
|
|
|
|
Once this is done, it is important to modify one line in the installed .py files.
|
|
|
- Open those files:
|
|
|
|
|
|
`nano /cr/users/bertrand/.jupyter/jupyter_lab_config.py`
|
|
|
|
|
|
`nano /cr/users/bertrand/.jupyter/jupyter_notebook_config.py`
|
|
|
|
|
|
Uncomment and set as "True" the line `#c.ServerApp.allow_remote_access = False` in the first file.
|
|
|
|
|
|
Same for this line `#c.NotebookApp.allow_remote_access = False` in the second file.
|
|
|
|
|
|
Now, with all this, it should be ready to operate.
|
|
|
|
|
|
Launching Jupyter
|
|
|
---
|
|
|
- Click the Tunneling button.![tunnellingonglet](uploads/1b8302f60ac163f3cbca15c873ed22d6/tunnellingonglet.png)
|
|
|
- Create a new SSH tunnel and use those settings: ![SSHSettingTunnel](uploads/76004ad28040804b6cf75f76428e472e/SSHSettingTunnel.png)
|
|
|
I had some issues there because of the port 8888 already used, but it's the only one that finally worked among the ones I tried.
|
|
|
- Then go back on the terminal, type:
|
|
|
|
|
|
`ssh -L localhost:8888:localhost:8888 bertrand@iklx289.ikp.kit.edu`
|
|
|
|
|
|
`jupyter-lab --port=8888 --no-browser --ip=0.0.0.0`
|
|
|
|
|
|
Copy the last link suggested, and you should be good to go. |
|
|
\ No newline at end of file |