Array
University of Oregon

Create a 110 WebSite Folder on uoregon.edu

This is what you will do in your 110 lab week 1, with GE assistance.

You do not have to complete these steps before your week 1 lab (but you are welcome to give it a try).

Follow these steps to create a 110 website folder on uoregon.edu.

  1. Read how to Login to shell.uoregon.edu. Then connect to shell.uoregon.edu by following the instructions. Note that Windows Users must first download the PuTTY app, and then run it to connect to shell.uoregon.edu. Mac Users will use their built-in Terminal app, as described.

  2. Once you are connected to the shell.uoregon.edu command line, Enter this command: pwd
    The pwd command (print working directory) writes the full pathname of the current working directory.
    Memorize the path to your home directory. You’re a web developer now, & need to know.
    Example: /home7/susanQ/


  3. Follow theses steps to create your personal 110 website on the server.
    1. Copy this wget command:
      wget http://CIT:CIT@pages.uoregon.edu/michaelh/bin/110-setup.rb
      
    2. Paste the wget command into the shell, and hit Enter. That copies a program named 111-setup.rb into your home directory on the server.
    3. Verify that this file is in your home directory with this command:  ls
      ls is a shell command that lists the contents of the current directory.
    4. Run the program by typing this Unix command into the shell, and then hitting Enter:
      ruby 110-setup.rb
      
    5. When prompted to enter an .htaccess password, enter the middle three digits of your UO 95#.
      IMPORTANT! When you enter the three digits, they will not be echoed (i.e., displayed on the screen), for security.Just type in your three digits and then hit Enter.You will be asked to enter the digits one more time. Type in the digits again and hit Enter.
    6. Hit Enter to any remaining prompts to finish out this interactive script.

The Ruby script creates a web directory named 110 in your public_html directory on the uoregon.edu server.

The web directory on the server is password-protected by the htAccess protocol (hypertext-Access). To access your 110 website in a browser, you will have to authenticate using these credentials:

htAccess-userName: 110
htAccess-password: the middle three digits of your UO 95#


Make Sure your .htAccess Password is Correct

If you made a mistake setting your .htAccess password and it is something other than the middle three digits of your 95#, then your 111 projects cannot be accessed for grading.

You will get zeros (0) on your projects until this blocked access is fixed.

See your instructor or GTF asap to get this fixed.

Skip to toolbar