Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The Biomedical Research Computing Facility (BRCF) and the Bioinformatics Consulting Group (BCG) are CBRS core facilities that support local research computing.Note that

Anna's philosophy

Anna is not a Unix guru – there's a world of things she doesn't know! But she knows enough to be considered expert-ish (smile). And her knowledge has been hard-won, making many mistakes – even now!

Mistakes are not bad – they're your friend! One of Anna's favorite sayings is:

  • Good judgement comes from experience
  • Unfortunately, experience comes from bad judgement!
  • So go out and start making your first 10,000 mistakes!

Anna's philosophy for teaching Unix is not just to show you how to do thing, but to explain how things work and why. This understanding will greatly help you when you're troubleshooting your own (many!) mistakes. So put on your thinking caps!

About you

Who has had command-line experience before? (E.g. Linux, Unix/Mac Unix, DOS)

...

If you choose to follow hands-on, you'll be using the BRCF "GSAF pod", a set of 3 2 compute servers attached to a large, shared storage server.

Image RemovedImage Added

Accounts and servers

...

The password for these accounts is provided on the whiteboard and in the Chatchat.

Warning

These credentials are active for the next few weeks, but will be de-activated on Sunday May 12, 2024, in the eveningin mid-May 2025.

With your studentNN account you can ssh into one of the following servers:

...

this server:

  • gsafcomp02.ccbb.utexas.edu – even number studentNN accounts


Info
titleUT VPN

If you For those in the FNT classroom, make sure you're on the UTexas network, not the Guest network where SSH is blocked.

For those associated with UT Austin and are not on the UT campus network, you'll need to have the UT VPN service active in order to connect to these servers via SSH. See How to Connect to the UT VPN

Folks not associated with UT Austin, or do not have the UT VPN service installed, can use an alternate web-based method, described below.

Logging in via SSH

You can access the servers using ssh in a Terminal program that runs on your computer. On Macs, this program is called Terminal. On Windows (Windows 10 or later) it is called Command Prompt or PowerShell. Find and open this program now on your computer.

...

ssh is an executable program that runs on your local computer and allows you to connect securely to a remote computer. We're going to use ssh to access the compute server on the GSAF pod:

Code Block
languagebash
# From the UT campus network, or if you have the UT VPN active:
ssh student02@gsafcomp02student01@gsafcomp02.ccbb.utexas.edu
  • Answer yes to the SSH security question prompt
    • this will only be asked the 1st time you login
  • Enter the class password at the password prompt, then press Enter.
    • for security reasons, the text that you enter will not be displayed

...

Expand
titleLogging in with PuTTY

If you're using PuTTY as your Terminal from Windows:

  • Double-click the Putty icon
  • In the PuTTY Configuration window
    • make sure the Connection type is SSH
    • enter gsafcomp01gsafcomp02.ccbb.utexas.edu for Host Name (or gsafcomp02.ccbb.utexas.edu)
      • Optional: to save this configuration for further use:
        • Enter gsafcomp into the Saved Sessions text box, then click Save
        • Next time select gsafcomp from the Saved Sessions list and click Load.
    • click Open button
    • answer Yes to the SSH security question
  • In the PuTTY Terminal
    • enter your student account name after the "login as:" prompt, then Enter
    • enter the password associated with our student accounts
      • for security reasons, the text that you enter will not be displayed


Tip

If your Terminal has a dark background, the default shell colors can be hard to read. Execute this line to display directory names in yellow.

Code Block
languagebash
export LS_COLORS=$LS_COLORS:'di=01;33:'

We'll see later how to set this environment variable in your login script (~/.profile) so that it gets executed every time you login to this server.

For now, just copy the appropriate line above, paste it into your Terminal window (after logging on), then press Enter.

Logging in via RStudio web

If you're attending remotely and or do not have access to the UT VPN, you can use the Terminal functionality in the RStudio web application.

...

...

To access the Terminal built into RStudio Server.

  • Click on

...

...

...

  • Enter your studentNN account name and our password, then click the Sign In button
  • In the RStudio web application, select the Terminal tab above the type-in area

You should now see a command line in the RStudio type-in area.

Tip

If your Terminal has a dark background, the default shell colors can be hard to read. Execute this line to display directory names in yellow.

Code Block
languagebash
export LS_COLORS=$LS_COLORS:'di=1;33:fi=01:ln=01;36'

In the RStudio Terminal

, yellow is

if the default color for directories

, which can be

is difficult to see against its white background

. Execute

, execute this line to display directory names in blue.

Code Block
languagebash
export LS_COLORS=$LS_COLORS:'di=1;34:fi=01:ln=01;36:'

You can use nano We'll see later how to set this environment variable in your login script (~/.profile to edit your login script so this ) so that it gets executed every time you login to this server.

But for For now, just copy the appropriate line above, paste it into your Terminal window (after logging on), then press Enter.

...