Setting Up your Environment

A Walkthrough

Files. All of the programs and files mentioned for the last part of the course can be found in the /courses/cs3410 directory in the CSUG (or in standard locations on most linux machines for things like xxd and cat). You should copy these files to your VM (for consistency sake, your home folder). You should also vary the server as to evenly distribute the load. Try your netid mod 15 for example. Specifically, in your VM terminal type:

  $ cd
  $ rsync -avzr* ./mipsel-linux
  $ rsync -avzr* ./pa4-sim
  $ rsync -avzr* ./pa4

Permissions. Change the permissons of your pa4 directory using the following commands and do not change the permissions back. Failing to change the permissions of your pa4 directory as stated here is a violation of academic integrity.

  $ cd
  $ chmod -R g-rwxs pa4
  $ chmod -R o-rwx pa4
  $ chmod -R g-rwxs pa4-sim
  $ chmod -R o-rwx pa4-sim

$PATH. Now add these files to your PATH so that your shell knows where to find the ksimulate program and all of the mipsel-linux tools. This means that you can just type ksimulate as opposed to /home/[user]/pa4-sim/ksimulate every time you want to run something. In the following commands replace [user] with your username. If you are using the CSUG machines, use the appropriate paths (note you don't need to copy the files in that case)