Skip to article frontmatterSkip to article content
Site not loading correctly?

This may be due to an incorrect BASE_URL configuration. See the MyST Documentation for reference.

Starting the Hub

Start JupyterHub

In a terminal, type:

jupyterhub --Authenticator.allow_all=True

or

jupyterhub --port 8080 --Authenticator.allow_all=True

to run jupyterhub on a port.

What happened?

We started JupyterHub! It’s running on the port we specified, or 8000 by default if you didn’t specify. It’s using almost all the default configuration, which should work.

Open the port specified, e.g. http://127.0.0.1:8000 if you ran it on the machine you are looking at, or the public IP if it is a remote machine.

You should see a login form that looks like this:

screenshot of JupyterHub login form

Authenticate with the Hub

We are now faced with a username and password. But what username and password?

JupyterHub uses something called an Authenticator that defines how users login. Generally, these defer to an external identity provider such as your local system or institution.

The default Authenticator that comes with JupyterHub uses PAM, which is the authentication mechanism for your local machine. This means that the information you need to enter is your username and password for the machine.

What happened?

JupyterHub has

you will see this progress page:

Spawn pending screen

after a short period, you should see the familiar JupyterLab UI.

TODO: screenshot of your server

What happened?

JupyterHub has

Explore the Hub and its User Interface

View JupyterHub log in the terminal

Proxy is started when typing jupyterhub. In this case, configurable-http-proxy is started.

TODO: log snippets

Unpack the URL

TODO: Explain: server/user/username/tree

Start and Stop a user’s notebook server

- Start and Stop Server for the User

Stop JupyterHub

Control-C in the terminal to stop JupyterHub


Key Concepts


Extend your learning

Modification: Set up an ssh tunnel [See assumptions above]


Next: Create a JupyterHub Configuration File