CS250 Class Setup and Compute Resources
In order to complete the labs for this class, please follow all of the steps
below as soon as possible. Note: you will need to email in both your "named"
account username and github.com username to email@example.com in order to do the labs.
We will be using Piazza as a sort of newsgroup to help facilitate discussion and share information. You can learn how it works by watching a video at piazza.com.
Github offers easy version control with Git, and is free for educational groups. Please follow the steps below:
- If you do not already have an account, you will need to signup for an account on github.com
- Setup private/public key pairing by following the instructions listed below.
- Login to github
- Send us an email (firstname.lastname@example.org) with your github username and we will setup a private repository for you
Instructional machine access
Every student needs an account for instructional machines. If you have not
used a named account before, please consult http://inst.eecs.berkeley.edu/~inst/new-users.html for
instructions. The easiest way is to probably visit 377 or 386 Cory Hall and ask
how to setup a "named" account.
- Open an SSH connection (eg. Terminal on OS X/Linux, Putty on Windows)
- Login to one of the machines listed at the bottom of this page (eg.
icluster16.eecs.berkeley.edu): "ssh -X icluster16.eecs.berkeley.edu"
- If you use Windows, you will need to download Xterm and in putty "Enable
- Edit .bash_profile, and at the bottom of the file, add the line: "source ~cs250/tools/cs250.bashrc"
- Send us an email (email@example.com) with your named account
username and we will give you access to the class machines
Our class has dedicated computers, but you probably won't want to have to go to the lab to use them. NoMachine is a very fast VNC and will allow you to run GUIs without any lag.
- Download NX
- Open NX (try if having problems with any other): Any client
- For NX Client (everyone except Lion)
- Enter your username/password
- Click "Configure"
- For "Host", enter icluster16.eecs.berkeley.edu (or any other machines...note: only 2 users per machine)
- Click "Key", and paste in the contents of "icluster.key" (sent in an email to the class)
- Make sure the display manager is Gnome (no other option will work)
- If you have a problem with NX Client (eg. keyboard sends gibberish), try NX Player
- For NX Player (OS X Lion)
- Enter icluster16.eecs.berkeley.edu (or any other machines...note: only 2 users per machine)
- Click on the "..." next to "Use NX Login", check "use an alternative server key", choose "icluster.key" (sent in an email to the class)
- Name connection
- Click the "x" then double cllick on your connection
- "Create a new session"
- Note..if things appear blury/stretched, press ctrl-alt-0, then click
on the 4th button from the left, then clock on 1:1. To change the
resolution, go to System | Preferences | Screen Resolution