Linuxlab setup instructions

CMSC 412, Fall 2008


You may do all of your development for this course on the Linuxlab cluster (see http://www.csic.umd.edu/linuxlab for information on how to login). Your account information is available by logging into the class grade web site (http://grades.cs.umd.edu) using your campus Directory ID and password. You will use that to access the cluster, and the lab. The lab is located in 3107 CSI (the Computer Science Instructional Center).

To access the cluster remotely, you have to use ssh (it doesn't accept telnet requests). The domain name is linuxlab.csic.umd.edu . So it will be something like:

ssh -X -l linuxlab.csic.umd.edu

1. Setup QEMU Path

After logging in, get the QEMU Emulator environment you need to set up your PATH to include the QEMU directory as follows:

If your shell is csh (default on Linuxlab), add them with
$ setenv PATH /usr/local/qemu-0.9.1/bin:$PATH
If your shell is bash, add them with
$ export PATH=/usr/local/qemu-0.9.1/bin:$PATH

2. Copy the Linuxlab Makefile

Download and untar the project tar.gz from the specification. cd into the project directory.
cd build
cp Makefile.linuxlab Makefile

Running QEMU in Cygwin

If you wish to run from a Windows machine with X, Cygwin, and Secure Shell installed.

First things first, Cygwin/X-server must be installed and running on your machine, and you must have an SSH client installed. A reasonable free X server for Cygwin is XFree 86. F-secure is a good SSH client and it can be downloaded for free on the OIT website. To test if the x-server is running, ssh into your linuxlab account and type the command

xclock &

at the prompt. If a separate window with a clock pops up, then X-server is running on your machine. If you get any error like "can't connect to server" or "can't open display", then X-server is not running on your machine or you haven't enabled X11 tunneling in your SSH client. Make sure you have X11 tunneling enabled in your SSH client otherwise you won't be able to open multiple windows.