JupyterHub Installation and Configuration
Obtain administrative rights by requesting root access:
Install the package for JupyterHub
Generate a JupyterHub configuration file in /etc
by:
Use nano to edit the newly created configuration file:
Copy and paste the following into the configuration file:
Use CTRL+O then enter to overwrite the document and CTRL+X to exit.
💡 For having access to the JupyterHub admin interface, at least one administrator has to be specified in the configuration file, e.g. admin1
. Additional administrators can be assigned/removed from the JupyterHub admin interface by existing administrator.
Make JupyterHub a system service, so that JupyterHub will run at system startup and continue to run after the system administrator logs out. To do so, create a service file:
Copy and paste the following into the document as depicted below:
Use CTRL+O then enter to overwrite the document and CTRL+X to exit.
Link the newly created service file to the /etc/systemd/system
directory:
Reload the system daemon and run JupyterHub as a system service:
Check JupyterHub status (optional):
💡 Your JupyterHub server should be up and running at http://<your instance IP address>:8000
. Make sure that :8000
is included in your address. See Add a Custom Domain to attach your JupyterHub to a registered domain name instead.
You are running an unsecured instance of JupyterHub. For network security, see below.
Last updated