CSC 369H: Setup for OS/161 on CDF

There aren't very many step to getting things set up on CDF because all of the tools are already installed. The only software you need to install is the operating system code itself which you will get from your SVN repository.

Setting up your account

You will need to add to your PATH variable the directory that contains all of the programs related to os161. If you use tcsh as your shell, you should add the following line near the end of the ~/.cshrc file:

        setenv PATH /u/csc369h/fall/pub/tools/bin:$PATH

If you are using bash as your shell you should add the following line near the end of the ~/.bashrc file.

        export PATH=/u/csc369h/fall/pub/tools/bin:$PATH

(NOTE: If you don't understand what the PATH variable is all about, see you instructor or TA immediately, or review the shell material from CSC209.)

For reasons that will become clear later, you want to be able to identify the machine you are logged into. If you don't already do this, you can edit the set prompt line to be something like:

      % set prompt = "%m:%~ %!> "

Getting OS/161

For the first assignment, every student will have their own SVN repository that contains the os161 source code. (The repositories won't be created until I get a class list. If you don't appear to have a repo after the first few days of the term, particularly if you have registered late, please send your instructor a note.)

It is recommended that you create a directory csc369 in your home directory on CDF. In csc369 run the following command to check out your repository:

 svn co https://stanley.cdf.toronto.edu/svn/csc369-2011-09/USERID

where USERID is replaced by your cdfid.

Now you are ready to configure and compile your operating system.