Notebook Directory for Jupyter Server

Q

What is the Notebook Directory of the Jupyter Server?

✍: FYIcenter.com

A

The Notebook Directory of the Jupyter Server is a directory on the server computer to store Notebook files and other files.

By default, Notebook Directory is the directory where you starts the "jupyter notebook" command.

You should specify a fixed directory as Notebook Directory in the configuration JSON file.

fyicenter$ vi ~/.jupyter/jupyter_notebook_config.json
  ...
  "NotebookApp": {
    ...
    "notebook_dir": "/shared/notebooks"

Or specify it in the configuration Python file.

fyicenter$ vi ~/.jupyter/jupyter_notebook_config.py

## The directory to use for notebooks and kernels.
#  Default: ''
c.NotebookApp.notebook_dir = '/shared/notebooks'

Restart the Jupyter Server.

fyicenter$ jupyter notebook

...
[I NotebookApp] Serving notebooks from local directory: /shared/notebooks
[I NotebookApp] Jupyter Notebook 6.3.0 is running at:
[I NotebookApp] http://192.168.1.10:8080/

 

Start Jupyter Server at Boot Time

Turn on Password Protection on Jupyter Server

Installing and Running Jupyter

⇑⇑ Jupyter - Frequently Asked Questions

2022-02-04, 637🔥, 0💬