folder

CT310

Recitation 1 - Environment Setup

In this recitation, we will:


What you should expect from recitations:

Lab Assignments:

Programming Quizzes

Etiquette

Useful Resources

  1. public_html

  2. Having a directory called "public_html" allows the department's server to find your web page files that are saved in it. Anything placed under this directory will be public and accessible from the web.

    Create a public_html subdirectory in your home folder with permissions of 711. Run the following commands to do so:

    • cd
    • mkdir public_html
    • chmod 755 ./public_html

  3. local_html

  4. In contrast, anything in "local_html" is only accessible while on-campus, on a server running on port 4444. However, that's the only difference. Set up is the exact same

    • cd
    • mkdir local_html
    • chmod 755 ./local_html

    All of your work will be graded in this directory, so be sure to place assignments in "local_html".

  5. Test Your Work

  6. Save this file in your "public_html" directory and rename it "index.html"

    Save this one in your "local_html" directory and rename it "index.html", as well.

    Open your web browser and navigate to

    • For public_html: http://www.cs.colostate.edu/~EID
    • For local_html: http://www.cs.colostate.edu:4444/~EID

    Here is an example of each: