The labs are all Jupyter Notebooks. Please get set up with them as soon as possible: I've left Lab 1 up to allow you to test.
There are two basic options: remotely logging in to a lab machine or locally installing Python (not supported).
First, follow these instructions to set up the VPN. Then, follow these guidelines provided by IT Services to set up a Linux Remote Desktop. Should work on Mac, but apparently the required XQuartz software doesn't work well. This is supported by IT, so any issues with this software can be sent to [email protected].
If you are running an X server already (i.e. because you're running Linux locally), then open a shell on your machine, and type this command:
ssh -X -J [email protected] [email protected]
This method will not work on Windows Linux Subsystem (WSL), you can use Option 3 in WSL, or Option 1 in Windows, instead.
If you can get it working, this method will give the lowest latency.
This allows you to open Jupyter Notebook in a browser on your local machine while still running it on a lab machine.
- Map a free port on your machine (e.g. 6006) to a free port on the lab machine (e.g. 7373)
ssh -L 6006:localhost:7373 -J [email protected] [email protected]
- Run Jupyter Notebook on the port mapped to your local machine: 7373
/opt/anaconda3-4.4.0/bin/jupyter notebook --no-browser --port 7373
- Open localhost:6006 in a web browser on your local machine and enter the token provided by Jupyter Notebook.
This is not supported!
Follow instructions in: https://www.anaconda.com/products/individual
Open a terminal, and enter:
/opt/anaconda3-4.4.0/bin/jupyter notebook
Jupyter should automatically open a webpage. If not, open your favourite web browser and go to: localhost:8888/notebooks.
This allows you to clone the lab sheet to lab machine using terminal.
-
Open the terminal in the Linux remote desktop, or through
ssh(option 3) from your local machine. -
Clone the lab repository from Github to your lab machine.
git clone https://github.com/LaurenceA/COMS20011_2020.git
- Pull the repository each time before the lab to get the latest updates of the repository.
cd COMS20011_2020
git pull
| Labsheet link | Labsheet answers |
|---|---|
| [Labsheet 1] | [Answers 1] |
| [Labsheet 2] | [Answers 2] |
| [Labsheet 3] | [Answers 3] |
| [Labsheet 4] |