Goal: Get the base software we need to run JupyterHub.
sudo apt update && sudo apt dist-upgrade
sudo apt install -y npm python3 python3-dev python3-pip
sudo python3 -m pip install --upgrade pip
python3 --version
npm --version
python3 -m pip --version
We now have the runtimes for Python and Node.js and can start installing the packages we need.
sudo npm install -g configurable-http-proxy
configurable-http-proxy --version
sudo python3 -m pip install --upgrade jupyterhub notebook
jupyterhub -h
jupyter notebook --version
We have:
- Runtimes for Python and node.js, which are needed to run JupyterHub
- The proxy used by JupyerHub (configurable-http-proxy, a node.js package)
- JupyterHub itself and the Jupyter notebook
This is everything that we need to run a basic installation of JupyterHub.
Next: Starting the Hub