| | 113 | |
| | 114 | == Run Jupyter Notebook on totten == |
| | 115 | You can run Jupyter Notebook **on totten** (after `ssh` to the remote server) with the following command: |
| | 116 | {{{ |
| | 117 | #!sh |
| | 118 | jupyter notebook --no-browser --port=8080 |
| | 119 | }}} |
| | 120 | Keep this terminal alive, where you will need the token to access the Notebook. |
| | 121 | |
| | 122 | To access your notebook via the **browser from your local machine**, you just need to link the totten's port `8080` to your `localhost:8080` by the command (on your local machine) |
| | 123 | {{{ |
| | 124 | #!sh |
| | 125 | ssh -L 8080:localhost:8080 yourname@totten.dartmouth.edu |
| | 126 | }}} |
| | 127 | After this, open a web browser on your local machine, and access the Jupyter Notebook from ` http://localhost:8080/`. |
| | 128 | You might be asked to enter the token, which you can find in the terminal you kept alive for Jupyter Notebook. |
| | 129 | |