hi

Enmei Tu (屠恩美)

Assistant Professor, Shanghai Jiao Tong University (SJTU)

Preface: This note is not a complete tutorial about Linux system. Rather, it is just a short reference for the lab students to run their algorithms on the MLKD-Server with a minimal requirement of Linux knowledge. An elegant tutorial of Unix/Linux system given by Sean Kross can be found HERE

Frequently used Linux commands

(Note: bold words mean commands and italic words mean user specified terms)

Run and debug Python codes

Python packages/environments management

“Conda is an open-source, cross-platform, language-agnostic package manager and environment management system. “ – from Wikipedia.

With conda, you can quickly create a virtual environment and install specific version packages for your different python algorithms. A virtual environment is an isolated configuration that is usually not visible in system scope. So, you can safely install/manage different versions of a python package (e.g. python 2.x and python 3.x) and make them co-exist in a system without interfering with each other (e.g. you want to run several python algorithms simultaneously but each of them needs a different version of python).

Remote Linux server connection and data transferring

Run/debug Python code on a remote server

Finally, you are welcome to contact me if you have any question.