25 May 2016

Today's agenda

  • Who am I?
  • Who are you?
  • How do climate scientists use computers?: The command line
  • Logging in: 2FA, SSH, VNC
  • Getting help
  • A game!

Who am I?

I'm Patrick. You can find me in Room 319B of this building. My e-mail address is patrick.applegate@psu.edu.

I used to use computers to learn about how glaciers and ice sheets will change as the atmosphere gets warmer. Now I help other scientists to do the computer-related parts of their work more effectively.

Who are you?

Please tell us

  • your name
  • how you expect to use computers as part of your summer research project

Getting help

When you get stuck, try asking for help! You can ask

  • Google (always start with an Internet search)
  • the graduate students in your lab
  • your mentors
  • SCRiM's Scientific Programmers (me, Randy, or Kelsey)

Try to be as specific as possible when you ask a question.

How do climate scientists use computers?: The command line

This is really the same thing as

The command line looks confusing. Why do climate scientists use it?

One reason: Climate models run on big computers that use Linux (mostly). They don't have pretty graphical user interfaces. Doing serious work in climate science generally involves using the command line.

We'll play a game later that should make learning to use the command line more fun!

Pairing up

We should have one Chromebook for every two people. If you've used the command line before, please pair up with someone who has not.

Logging in

Let's make sure you can all log in on your Chromebooks. By now, you should all have

  • gotten a Penn State user account and visited a signature station
  • signed up for Two-Factor Authentication (2FA)

At least one person at each laptop should have a Google account.

Logging in to your Chromebook

  • Turn on your Chromebook
  • Choose the wireless connection called attwifi
  • Sign in with your Google account
  • Click on the little picture in the lower right
  • Change your wireless connection to psu
  • Change the settings as follows:
    • EAP method: EAP-TTLS
    • Phase 2 authentication: PAP
    • Identity: Your Penn State ID (not your Google username)
    • Password: Your Penn State password
    • Make sure that the box next to "Share this network with other users" is not checked!

Follow along

Follow along with me while we

  • install a piece of software called VNC
  • log in to a big computer called woju using VNC (woju.scrim.psu.edu:5999)
  • install an SSH client
  • log in to woju using SSH

Using the command line to make things nicer in VNC

From your prompt in SSH:

mkdir .vnc
ls
ls -a
wget -O .vnc/config http://bit.ly/20wmFRQ
cd .vnc
more config

Then try logging in to woju using VNC again. Your display should be much prettier.

A game!

Terminus by Michele Pratusevich; http://www.mprat.org/Terminus/

  • Object of the Game: Reach Paradise.
  • If you finish the game by this time next week, and bring me proof in my office (319B EES), there will be a small candy reward.
  • You can ask for help, either in person or by e-mail (patrick.applegate@psu.edu).

Playing Terminus will help you

  • learn to use the command line
  • practice asking questions the smart way
  • learn where you can go to ask for help