|
|
test |
|
|
\ No newline at end of file |
|
|
# Introductory information to Jupyter Notebooks
|
|
|
For information of Jupyter Notebooks see:
|
|
|
* https://jupyter.org/
|
|
|
|
|
|
# Start jupyter server and Firefox client with one command
|
|
|
|
|
|
This is the fastest way to startup using Jupyter Notebooks.
|
|
|
On the machine where you want to run server and client, cd to the root folder for your notebooks and issue the command
|
|
|
```
|
|
|
eltdev: > jupyter-notebook
|
|
|
```
|
|
|
This will first start the jupyter-server and the an instance of Firefox with the entry page of the server.
|
|
|
|
|
|
# Start the jupyter server on one host and then connect to it from any browser also on other machines
|
|
|
|
|
|
You can instead just start the jupyter server on the machine where you want you notebooks to be executed and later on connect to that server from another machine and with the desired browser.
|
|
|
|
|
|
On the machine where you want to run the server, cd to the root folder for your notebooks and issue the command
|
|
|
```
|
|
|
eltdev: > jupyter-lab --no-browser --ip=0.0.0.0
|
|
|
```
|
|
|
This start just the jupyter-server.
|
|
|
The console where the server runs will tell how to attach the client:
|
|
|
|
|
|
```
|
|
|
[I 11:55:48.397 LabApp] The Jupyter Notebook is running at:
|
|
|
[I 11:55:48.397 LabApp] http://elthlccd23:8888/?token=019b2a3cc9f8610b88d7d6b40976844fea310cbc4469ae34
|
|
|
[I 11:55:48.397 LabApp] or http://127.0.0.1:8888/?token=019b2a3cc9f8610b88d7d6b40976844fea310cbc4469ae34
|
|
|
[I 11:55:48.397 LabApp] Use Control-C to stop this server and shut down all kernels (twice to skip confirmation).
|
|
|
[C 11:55:48.401 LabApp]
|
|
|
|
|
|
To access the notebook, open this file in a browser:
|
|
|
file:///home/eltdev/.local/share/jupyter/runtime/nbserver-394842-open.html
|
|
|
Or copy and paste one of these URLs:
|
|
|
http://elthlccd23:8888/?token=019b2a3cc9f8610b88d7d6b40976844fea310cbc4469ae34
|
|
|
or http://127.0.0.1:8888/?token=019b2a3cc9f8610b88d7d6b40976844fea310cbc4469ae34
|
|
|
|
|
|
```
|
|
|
To connect from any browser, just open the browser and and go to the URL with the given token.
|
|
|
In this case:
|
|
|
|
|
|
```
|
|
|
http://elthlccd23:8888/?token=019b2a3cc9f8610b88d7d6b40976844fea310cbc4469ae34
|
|
|
```
|
|
|
|
|
|
|
|
|
|