How to use the dsci-lab

This page: A short guides roundtrip what you can expect from the dsci-lab

Update machine

Make sure that you work with an up-to-date Linux. Open a terminal:

  • hit Ctrl-Alt-t

sudo apt update; sudo apt upgrade

You have to confirm this comand by entering your password.

mount host file system to directory a

sudo mount  -t vboxsf -o uid=1000,gid=1000 abc123 ~/a

Hint: STRG-r mount will recall this command from the command history.

To allocate directory a and abc123 see build the dsci-lab by yourself > Gemeinsame Ordner.

Start jupyter

Some general introductions:

To start jupyter in the dsci-lab open a fresh terminal (e.g. with Ctrl-Alt-t):

cd
jupyter notebook &

(Don’t forget the ampersand “&” at the end of the line).

To stop jupyter, i.E. in order to kill broken kernels etc.:

cd
jupyter notebook stop

After you have started jupyter, jupyter will launch Firefox automatically. If firefox ist already running, a new tab will be opened).

Note:

  • The jupyter notebook environment in general will show the files within the directory you have started jupyter notebook.

  • In our dsci-lab the browser should point to http://localhost:8888/tree. Identify our directory dsci and go tho the directory http://localhost:8888/tree/dsci/dsci-lab/sandbox.

images/jupyter_tree_dsci_dsci-lab_sandbox_hello.png
  • Double-click the file hello.ipynb. A jupyter notebook will be opened.

  • Change the heading from Hello to Hello <your name>: Now you are able to recognize in the following steps whether you are really working with your local version of this file!

  • hit Strg-S to save the file.

(The file hello is part of the documentation you are reading currently. Identify this file at the navigation section at the left, click, inspect, an come back again to this page.)