Get the App
SLTechnology News&Howtos  ›  Servers  › 

How to set up the user interface in Littlest JupyterHub

Shulou Source: shulou.com Published: 2022-06-01 00:53:48 09月22日 Update

Editor to share with you how to set up the user interface in Littlest JupyterHub. I hope you will get something after reading this article. Let's discuss it together.

By default, TLJH uses the classic Jupyter Notebook interface, but there are two other interfaces available in TLJH for users to choose from:

1. JupyterLab: https://jupyterlab.readthedocs.io/en/stable/

2. Nteract: https://nteract.io/

Temporary modification

When entering Jupyter Hub for the first time, you can notice that the format of URL is: / user//tree, where / tree means to use the classic Jupyter Notebook interface.

/ user//lab: indicates the use of JupyterLab

/ user//nteract: indicates the use of nteract

By changing the URL, you can convert between the three interactive interfaces.

Modify the default interface

As an administrator, you can modify the JupyterHub interface that is opened by default by modifying the config.yaml file, as follows:

1. Log in as an administrator and open the command line. If you use JupyterHub as the default, enter the command:

Sudo tljh-config set user_environment.default_app jupyterlab

2. If you use nteract as the default, enter the command:

Sudo tljh-config set user_environment.default_app nteract

3. Restart JupyterHub

Sudo tljh-config reload hub

After the user restarts the service, it will enter the default interface

JupyterLab

Nteract

After reading this article, I believe you have some understanding of "how to set up the user interface in Littlest JupyterHub". If you want to know more about it, you are welcome to follow the industry information channel. Thank you for reading!

Tags: Interface user command administrator article classic management input can be passed done situation document more format step knowledge first time industry information information channel Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno macOS MySQL Docker OPPO Reno MariaDB