Hi.
In this video we'll learn more about Jupyter Notebooks configuration.
You have probably noticed that in the Simple Notebooks interface,
we do not see any way how to edit some configuration.
This is because the configuration for Jupyter Notebook is stored in
various files.
Adjusting the configuration is for more advanced users.
But even if you are a total beginner and you are starting to work with Jupyter
Notebooks, I would like to tell you at least where and what to look for.
Now, let's go to our Jupyter.
First thing, which I would like to show you, is how to change the passport.
That's the easy one. You just look out of the Jupyter server.
Go to the logging page. And here at the bottom
we set the new passport. Uh, remember that our token was docker
and we set the new passport
now to the more advanced part where we will change Jupyter configuration
file.
One thing which I do not like in the file browser,
is that it is not showing hidden files and hidden folders.
Uh, these are the files and folders starting with the dot.
Uh, let's check it in the terminal.
We see that in our home folder. There are a lot of hidden folders.
Now let's check, uh, where are the configuration files stored?
We can use two commands to get this information.
First command is Jupiter with parameter parts
Here. In addition to the folders where the configuration files are stored,
we see also where other Jupiter data is stored.
The configuration folders are ordered by precedents.
That means if same option is set in multiple places,
is value is taken from config with the highest precedents.
Now let's print our current Jupyter Notebook configuration.
We can do this with this command ru repeater notebook with
parameter show config.
We,
our options taken only from one file from this one.
If we did changes in multiple files, we will see them here as well.
These changes were set in the definition of the docker image.
Now let's go to the config folder with the highest precedents.
This, this one
we see here two configuration files.
Let's open the Jupyter Notebook config PI with the nano
editor.
And the configuration, which we are looking for is the contents manager.
Do all hidden now press F six, uh,
to search for strings and input the text.
Okay, we are here and now let's commend this line and, uh,
change the value to True.
Remember about the indentation because it is a Python script. Now
press Ctrl O enter
and CTL X to exit.
We have to now to restart the container.
Okay, and it seems it is working.
We see here all of the hidden folders.
And that is it for this video. Uh,
you can find more about configuration of Jupyter Notebook and Jupyter Server in
provided links. To summarize our module,
we have learned how to work with the file browser. We used File Editor.
We also got the basics about terminal.
We learned the basics of Python environments and package management with
Anaconda and pip.
We installed our package for using Jupiter contributors extensions.
We activated few extensions and we also learned how to change
Jupiter's configuration. In our next video,
we will learn how to work with the notebook finally, and we will start,
uh, with exploring its interface.