CS 3733 Operating Systems, Fall 2006 Assignment 5 Instructions
On Wednesday, November 29, we will meet in the Main Lab in the Science Building.
If you think your server and client are working (or close enough to test)
follow the instructions below. Otherwise, make sure the cover sheet of
your assignment has been filled in and hand you assignment to your instructor
in the Main Lab. You are then free to go.
To demonstrate your program, make sure your cover sheet is filled out and
your assignment is ready to hand in. Do the follow up to step 13 (running the
server, but not the client) and wait for me to come over and watch you
run your program.
- Log into one of the Linux machines in the Main Lab.
- Create a directory for testing this project.
- In that directory, download the following files:
makedirs
clientdir.tar
serverdir.tar
Note: These files will not be available until just before noon on
November 29.
- Change the permissions of makedirs to make it executable:
chmod makedirs 700
- Run makedirs:
./makedirs
- Check to see that you have created to directories called
serverdir and clientdir.
These should each have a subdirectory called testfiles.
Do not modify anything in the testfiles directories.
- Copy your server executable into the serverdir directory and
your client executable into the clientdir directory.
Each of these directories will now have one executable file and a
subdirectory called testfiles.
- Open two windows which will be referred to as the client window and the
server window.
- In the server window, ssh into another Linux machine in the lab
and make the serverdir directory your current directory.
- Execute both:
ls -la testfiles and
md5sum testfiles/*
in this directory.
Cut and paste the results into a file.
- In the client window, make the clientdir directory the
current directory.
- Execute both:
ls -la testfiles and
md5sum testfiles/*
in this directory.
Cut and paste the results into a file.
- In the server window, start the server.
- In the client window, run the client with using the testfiles directory
as the last command line parameter:
./client hostname port testfiles
- In the server window, exit the server. Execute both:
ls -la testfiles and
md5sum testfiles/*
in this directory.
Cut and paste the results into a file.
- You should have a file with three parts pasted into it, the server
before executing, the client, and the server after executing. Each
part will have a directory listing and a list of checksums. Edit the
file so that each part is appropriatedly labeled. The first line of the
file should have your name on it. Print out this file.
Look at the contents of the file and write (by hand) on the sheet you
printed out why or why not this indicates that your program
performed successfully.
Hand in this sheet with your assignment.