Scientific Computing ‐ Step 2: Setting Up Your Computing Environment - cogcommscience-lab/lab-docs GitHub Wiki

Step 1: Bookmark Some Resources on the Wiki (5 minutes)

Over the years, Richard has tried to create useful details about scientific computing. These quick links on the lab wiki will really help you. You'll poprobably return to them regularly. Consider bookmarking them in your web-browser

Step 2: Make an Account on the a Lab Workstation (5 minutes)

To to this, you will need to physically sit down in front of a lab workstation. Once there, follow these steps:

  1. Wake the computer display by clicking a mouse button or pressing a keyboard key

  2. If you've never signed into that workstation before, click "not listed"

  3. Enter your kerberos ID

  4. Enter your kerberos password

  5. Follow the prompts (do not share your data to improve Ubuntu)

Step 3: Mount the Lab Server on Your Lab Workstation (15 minutes)

It will probably be easiest for you to do this, for the first time, while physically sitting in front of the lab workstation. Simply follow these steps.

Step 4: Practice Remote Access (2 Hours)

Once you've created an account, it is time to figure out how to access the lab resources from home. To do this, you'll need to have the LS IT VPN installed and configured. If you haven't done this already, here are instructions for how to do it on Windows or macOS.

Once the VPN is installed, configured, and connected, complete these tasks:

Task 1: Mount the Lab Server on Your Personal Computer

Follow these instructions for:

Task 2: ssh Into Your Workstation

You’ll need to know the IP address of your workstation, You can find that on the lab wiki on the lab servers page.

Follow these instructions to ssh into your workstation.

Task 3: Set up a Cryptographic Keypair

Campus HPC has a great tutorial on this. Be SURE to make a passphrase.

Task 4: Log Into Your Lab Workstation Using Your Cryptographic Keypair

Follow these steps. NOTE: You’ve already done steps 1 and 2, so start at step 3.

Task 5: Create a Shortname for Your Lab Workstation

Follow these steps

Task 6: Learn How to Use tmux

Follow these steps

Task 7: Learn How to ssh Into marr

Follow these steps

Task 8: Learn How to scp Something From Your Local Computer to Your Remote Workstation

Follow these steps

Figure out how to tell if it worked (hint, you’ll need some basic bash commands like $ cd and $ ls)

Task 9: Learn How to rsync Something From Your Local Computer to Your Remote Workstation

Follow these steps

Figure out how to tell if it worked (hint, you’ll need some basic bash commands like $ cd and $ ls)

Task 10: Copy Your ssh Key to Your Lab workstation

You will need physical access to the workstation (i.e., be sitting in front of your workstation) to do this securely. Once in front of your workstation, follow these steps. The reason you made a passkey is because anyone with sudo access (all lab users) can have access to your ssh key, which they can use to impersonate you (unless, you made a passkey and keep this secret).