Documentation of software tools used in CS 240:

CS 240 Computing Environments

Spring 2020: Computing During Remote Instruction

During remote instruction, most students should use the csenv appliance, a self-contained virtual machine you can install on your computer. It includes all necessary software tools for CS 240, allowing you to work while offline.

If you are unable to install the appliance, you can still work via SSH access to the CS server/workstations while connected to the internet. If using SSH, you should plan to use the pure-text interface (learn the Emacs keybindings). Depending on your location and internet connection, sending the graphical interface over SSH is likely too laggy to be pleasant or usable.

If neither option is working, please be in touch.

First-Time Account Setup

Spring 2020: Account setup for the csenv appliance

After installing the csenv appliance, you must complete the Account Setup tasks for Git and CodeTub once by running:

$ cs240 auth -i s20

You will be prompted to enter your CS username and password. Since you are acting as the user u within your appliance, you will be prompted to confirm the CS username you enter. This will give you access to the same Git repositories you have used previously.

Whether you are using the appliance or SSH, you do not need to repeat the setup instruction below.

A CS account is required for all computing options. Request one if needed (on campus only).

Account setup for the CS GNU/Linux server/workstations

Completing these steps on one workstation sets up the account that you use on all workstations (and cs.wellesley.edu).

  1. Start with the lab activities on the Linux command line, Emacs, and C if you did not finish those during lab.

  2. To configure your CS account permanently1 to find CS 240 tools, open a terminal and run the command:

    source /home/cs240/live/env/init/account.sh

  3. Complete the Account Setup tasks for Git and CodeTub.

General Tools

C and x86

  1. If you prefer to use the CS 240 tools only in the current shell session, then run the command source /home/cs240/live/env/init/session.sh instead; run this command in each shell session where you want to use the CS 240 tools. If you need to remove the permanent account configuration, edit ~/.bash_profile to remove the lines marked as related to CS 240.