ATLAS Experiment OpenData – My Hacks I

Update: Corrected two typos/errors. First, the filename was replaced by the correct filename atlas-jupyter.service. Second, the notebook option is called –no-browser not –nobrowser.

In this video the ATLAS Experiment explains how to log on to the virtual machine and start the Jupyter server

There is a way to automate this, of course, so that the Jupyter server starts automatically at boot-up of the virtual machine.

Here’s how I did it.

First, I adapted the script to the following:

source /home/student/ROOT/build/bin/
/home/student/.local/bin/jupyter notebook --ip= --no-browser --notebook-dir=/home/student

Then I sudoed to root and went to the directory /lib/systemd/system and created a file called atlas-jupyter.service with the following contents:

Description=ATLAS Jupyter Notebook Service



Then I saved this file and enabled the service with

sudo systemctl enable atlas-jupyter.service

After that I could start it by typing

sudo systemctl start atlas-jupyter.service

And the Jupyter server now starts without problem every time I boot the virtual machine and I don’t have to log in and can also start the virtual machine in headless mode, meaning no console (GUI) necessary.