CNT4603 - 2012 Spring
Assignment 2
Journals Due Wednesday, June 6, at the beginning of class.

Assignment: Create a website




Your objective is to set up a website on your Debian machine that is a clone of the Computer Science Department's current front web page (you don't have to copy the whole website, it's huge.)

Your first step is to install nginx on your machine. Please use the Debian repository — you don't need to compile this from source.

You can test it locally with http://127.0.0.1 (there's a default webpage installed initially); you can help other students test theirs by using their ip number. Remember, firewalls might exist that block access to port 80 and you may have to remove any such blocks.

The next step is to copy over the department's webpage into the default website directory for nginx. Many tools exist for such copying; perhaps the simplest is wget, but feel free to use any one that you are comfortable with. Make sure that your website is available from the top level as http://YOUR_IPNUM/index.html (nginx is actually flexible and it's possible to do this in many ways, but I recommend using the very simplest: just put it in the default website directory.)

We will visit your copy of the department's website next Wednesday, so please make sure that your machine is up and that the website is available prior to class.




A journal is due for this assignment. Make sure that you document in your journal all of the steps that you went through, following the guidelines on the class home page. Please turn in a printed copy of this assignment at the beginning of class on Wednesday, June 6.