Running Jupyter Lab - Gibbons-Lab/wiki GitHub Wiki

You can run jupyter lab on moneta and access it from within the ISB or the VPN. To do so use the following steps:

1. SSH into moneta

ssh [email protected]

Substitute user for your username within the ISB (short E-mail prefix).

2. Run jupyter lab

Choose your lucky number between 1 and 99. Fill in leading zeros, so 1 becomes 01. Then start the jupyter server with:

jupyter lab --config=/proj/gibbons/software/config.py --port=80XX

You can now access your notebook at https://moneta.systemsbiology.net:80XX. The password will be shown in the console when you start the server (long string of letters and numbers).

This will require you to remain logged in otherwise the notebook will die. You can either use tmux or screen if you are familiar with those tools or use nohup:

nohup jupyter lab --config=/proj/gibbons/software/config.py --port=80XX > jupyter.log

Look at jupyter.log to get the login link and/or password.

less jupyter.log

You can exit by pressing q.

3. Stop the jupyter server

If you started the jupyter server with nohup and would like to manually kill it you can use:

killall jupyter