Authoring Intro: Day 1 Exercise 1


In this exercise, you will be creating your web space and viewing your new home page.

Part 1.1: Running w3setup

  1. Login to the Network Server
    Note: there are many ways to login to the Network Server; any of them will work for this exercise.
  2. At the main LUNA prompt, enter:
    /w3setup
    You will see:
    Creating/checking web directory...
            Done.
    Setting AFS permissions...
            Done.
    Default home page created.
    Your home page is the file:
            /afs/cc.lehigh.edu/home/userid/public/www-data/userid.html
    The URL for this page:
            http://www.lehigh.edu/~userid/userid.html
    Press Return to continue.
    
  3. Copy down the information displayed after your home page has been created. This is the filename and address of your home page at Lehigh.
  4. After completing these steps, you have an inital home page.

Part 1.2: View page in Lynx on the Network Server

  1. Lynx is a text-based WWW browser available on the Network Server. To use Lynx, type lynx at the Network Server prompt.
  2. To go to a specific URL in Lynx, press G
  3. Enter the URL of your page.
    Your page's URL is: http://www.lehigh.edu/~userid/userid.html
    Be careful: UNIX commands are case sensitive.
  4. When you are finished viewing your page, you can exit Lynx by pressing Q and responding y when asked if you want to quit.

Part 1.3: Fill in the blanks in your home page

There are many ways you can edit your new page. We'll start by using the Network Server editor.
  1. Begin by entering edit at the Network Server (LUNA) prompt.
  2. At Enter name of file to edit, put in the location of your home page file: /ahome/userid/public/www-data/userid.html
    (Note: /ahome/ means that the document is in AFS space.)
  3. The file will look like this:


    <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
    <HTML>
    <HEAD>
    <!-- Lehigh University Default Personal Homepage -->
    <!-- Template created 12 Sep 1996 by SDR -->

    <!-- Page title goes here (and below, as well) -->
    <TITLE> Your Name's Page </TITLE>
    </HEAD>
    <BODY>
    <!-- Page title goes here also -->
    <H1 ALIGN="center"> Your Name </H1>
    <P><I>Created on Fri Sep 13 16:45:16 EDT 1996 on
    <A HREF="http://www.lehigh.edu/">
    Lehigh University's Web Server</A></I>.</P>
    <!-- Please fill in the following information -->
    <P>
    <BR> Dept/Major:

    <BR>Personal Information:

    <!-- For example, position title, class/year, interests -->
    <BR>Contact Information:

    <!-- For example, telephone/fax, postal address -->
    </P>
    <P> To contact me, send electronic mail to
    <A HREF="mailto:intext@lehigh.edu">
    <CODE>intext@lehigh.edu</CODE></A>.</P>
    <HR>
    <SMALL><ADDRESS>
    URL: http://www.lehigh.edu/~intext/intext.html</ADDRESS>
    <!-- Please change the date below whenever you edit this file -->
    <Last Modified: Fri Sep 13 16:45:16 EDT 1996.
    </SMALL>
    </BODY>
    </HTML>

  4. Fill in the blanks in the file, after the Dept/Major, Personal Information, and Contact Information sections. Items within <!-- ... --> markings are comments -- if you delete them, be sure to delete the WHOLE comment.
  5. Save the file-- i.e., use F3 to exit.

Part 1.4: View page in Netscape

You can also view your pages in Netscape while editing them.
  1. Start up Netscape. Double-click on Netscape on your Windows 95 desktop.
  2. Choose "Open Location" from the File menu.
  3. Type in the URL of your page:
    http://www.lehigh.edu/~userid/userid.html
  4. Take a look at your new page.

Part 1.5: Make and view changes

  1. In the Network Server, go back into editing your home page.
  2. Begin by entering edit at the Network Server prompt.
  3. At Enter name of file to edit, put in the location of your home page file: /ahome/userid/public/www-data/userid.html
  4. Now make any little changes you want to make. (You'll notice that extra spaces, carriage returns, etc, do not make a different in the appearance of the page on the browser.)
  5. Save the file, by pressing F3 and exiting.
  6. On Netscape, press the Reload button, and view your changes.
  7. Repeat as often as necessary.

 Prev  Top  Next
JAH, 13 Sept 1996.