
If https is enabled, then the address to access the server would be otherwise it is http://.8888. Move custom configuration files ( in the user-settings folder) to ~/.jupyter/lab/.īy default, the server is listening on port 8888. This establishes a tunnel between port 8888 on your computer and the jupyter port on the compute node. The default jupyter port number is 8888, but dont worry if its different.
Open jupyter_notebook_config.py and set the following parameters: # Set options for certfile, ip, password, and toggle off browser auto-openingĬ.NotebookApp.certfile = '/absolute/path/to/your/certificate/mycert.pem' # optionalĬ.NotebookApp.keyfile = '/absolute/path/to/your/certificate/mykey.key' # optionalĬ.NotebookApp.open_browser = False # optionalĪfter the above setup, start the server with: jupyter lab # Specify the `-allow-root` option if the server need to be run as root. Replace theNow there are multiple ways to run, Activate this environment and run jupyter lab (Recommended) Make an alias and put it in your. Run JupyterLab or Notebook Note: replace lab with notebook, if you want landing page localhost:8888 default to notebook server. To enable https, generate some certificate files with the following command then optionally set a password: openssl req -x509 -nodes -days 9999 -newkey rsa:2048 -keyout mykey.key -out mycert.pem # optional Note: This shellcommand setting allows to start terminal in Jupyter Lab with fresh bash login shell.

If jupyter_notebook_config.py (usually located at ~/.jupyter/) does not exist, generate a new one with: jupyter notebook -generate-config # optional
