Quickstart (original) (raw)

Prerequisites#

Before installing JupyterHub, you will need:

Before running the single-user notebook servers (which may be on the same system as the Hub or not), you will need:

Installation#

JupyterHub can be installed with pip (and the proxy with npm) or conda:

pip, npm:

python3 -m pip install jupyterhub npm install -g configurable-http-proxy python3 -m pip install jupyterlab notebook # needed if running the notebook servers in the same environment

conda (one command installs jupyterhub and proxy):

conda install -c conda-forge jupyterhub # installs jupyterhub and proxy conda install jupyterlab notebook # needed if running the notebook servers in the same environment

Test your installation. If installed, these commands should return the packages’ help contents:

jupyterhub -h configurable-http-proxy -h

Start the Hub server#

To start the Hub server, run the command:

Visit http://localhost:8000 in your browser, and sign in with your Unix credentials.

To allow multiple users to sign in to the Hub server, you must startjupyterhub as a privileged user, such as root:

Run JupyterHub without root privileges using sudodescribes how to run the server as a less privileged user. This requires additional configuration of the system.