Open the virtual box and hit new to create a new VM.
Type in any name you want in the "name" field
Then choose "Linux" in the "Type" drop-down.
Then, in the "Version" drop-down choose "Fedora (64 bit)"
Hit "Continue"
Choose the Memory Size that you'd like to allocate. Hit "Continue".
Select "Use an existing virtual hard disk file" and then browse and select the image file that you
downloaded from the course web-page.
Then you should be able to launch the VM from the list that is displayed when you launch VBox.
You need to run the script (setup.sh) above after you lauch the VM to set the VM up. You may need to change the permission first ("chmod u+x setup.sh")
If you want to ssh into your VM, you need to change your network setting on VM to "Bridged Adapter"
The VM doesn't have yacc installed. You need to type "sudo yum install byacc" in terminal to install it manually
How run the program and watch the video from the browser?
Please check sec 2.1 for general guidance.
You need to run network simulation as specified in writeup section 4.3
You need to run your proxy as sepcified in writeup section 2.2.4
Then you can open the firefox, type in the url specified in 2.2.4, and debug from there!
Test scripts
As said in writeup, we will provide you with test scripts and autolab will only be used for submission. You can check back this page for test scripts releases.
Extract the script using "tar -xf cp1_grader.tar".
This will extract a folder named "bitrate-project".
In the same directory as this folder, copy the "proxy" file that your code compiles into. So, when you "ls" in the folder you should see : "bitrate-project proxy". The folder and executable MUST BE in the same directory.
Now do "cd bitrate-project/grader/"
This directory will have the grader files.
Run this command : "sudo ./grader_cp1.py".
Type in the super user password : "proj3", if prompted.
When the test ends, your score will be displayed as the last line of the output.