Hallahan Course Resources

Instructions for CSU Student Web-sters

Prepare Your Holly Account | Create a New Document | Change a Document | FTP Procedures

For assistance in writing HTML documents, begin with HTML-in-a-Nutshell

To prepare a holly account for a student home page:

  1. If you don't already have a holly computer account: Obtain the necessary form and complete the directions to obtain a student computer account on the holly mainframe (Academic Computing and Networking Services, 221 Weber Building)
  2. After the account is established, sign on by providing your logon and password. At the TERM=(vt100) prompt, hit ENTER.)
  3. At the $ prompt (% on other UNIX mainframes), type exactly chmod 711 . and ENTER.
  4. Type mkdir public_html and ENTER.
  5. Type chmod 711 public_html and ENTER.
  • Type logout and ENTER to exit holly.

    To create a new document

    You can transfer files created on other systems to your holly account, or you can create a document direct on holly itself (not recommended, unless the document is small).

    Transfer Method

    1. Prepare the text on your own computer or campus terminal using HTML or use an HTML editor, such as those available from Microsoft or WordPerfect. Text can be produced on any system, but must be stored as an ASCII file prior to transferring the file to holly. Ideally, all corrections should be made before you make the transfer. Most computer programs provide for storing documents in ASCII by using the SAVE AS function.

      Hint: If you don't have access to an HTML editor, an easy way to prepare your original is to use the Notepad program that is part of Microsoft Windows. It stores all text as an ASCII file automatically. You can save your document, then simply minimize the Window. Then, open the same file using Netscape.

      • This procedure allows you to preview your HTML content as it will appear on your browser before transferring it to your holly account. You also can easily switch back and forth between Netscape and Notepad in order to make corrections without logging off/on each time.
      • Be sure to use the RELOAD button on the top toolbar of your browser every time you want to view corrected HTML content.
      • While in Netscape, you can also use the VIEW button on the top toobar to read your input--an easy way to spot errors while your Netscape page remains on the screen. To do so, use the pull-down menu and select SOURCE. Return to Netscape by hitting OK.

    2. Transfer the file using a FTP (file transfer protocol) program. FTP programs are located on most campus computers, including JT lab in C-254 Clark.

    3. After the transfer is complete, sign on to your holly account. Enter your logon and password. At the TERM=(vt100) prompt, hit ENTER.

    4. At the $ prompt, type in exactly: chmod 744 * and ENTER.
      • Note the spaces between chmod and 744, and between 744 and the asterisk. This sets the permission for people to see the new file(s) you have just added; this permission step must be completed after every new file is transferred.

    5. If your main (default) file is not named correctly, change the name now. At the $ prompt type exactly mv index.htm index.html and ENTER. This command will rename the file to provide an .html extension. Remember, for most Web browsers to load your home page automatically, it must be named index.html

    6. To verify that the permission has been accepted, while you are still on holly (optional): At the $ prompt, type exactly: ls -al and hit ENTER.
      • Note the space between ls and -al.

      Entries for each document listed (except the top two documents) should be preceded by a code that reads: -rwxr--r-- . If this code appears correctly, permissions have been set properly: If the code is incorrect, at the $ prompt, repeat the chmod 744 * step until corrected.

    7. Exit holly: At the $ prompt, type logout.

    8. Use the Netscape (or other) browser to test the new documents, including ALL links to or from your new document. To look at your home page, open your browser and type in your WWW address (URL--uniform resource locator): http://holly.colostate.edu/~yourlogon. If needed, make changes to your document.

      Direct Production Method

      You can produce a document directly on holly using a UNIX text editor such as pico. To do so:

      1. Sign onto your holly account by giving your logon and password. At the TERM=(vt100) prompt, hit ENTER.

      2. At the $ prompt, type cd public_html
        • Note the space between the cd and public and the single underline (no spaces) between public and html. This allows you to enter the public_html subdirectory.

      3. Type pico followed by a space and the name of the document you want to create. Example: $ pico document.htm
        • Your document name should can be any length, but should be all lower-case and should be followed by a .htm extension.
        • If the document you are creating will be the first or main page of your document, you must name it index.html This will allow users to go to your home page using a shortened WWW address (URL): For example, http://holly.colostate.edu/~smith is the same as as http://holly.colostate.edu/~smith/index.html.

      4. Begin your document with the same HTML headings used you used in creating the document elsewhere: <html>, <head>, <title>..</title>, <body> ... etc. (See HTML-in-a-Nutshell.

      5. Write your document, providing all necessary HTML tags in pointed brackets.

      6. Close your document with the standard closing instructions: </body>, </html>.

      7. To save your work, use pico's exit command: CTRL-X (^X). When asked if you want to save your document, type Y for Yes. The name of the document will appear in the black bar below. Hit ENTER.

      To view your document, it is necessary to close your holly screen and then call up Netscape. This process is more cumbersome that using a combination of Notepad and Netscape off line, or using an HTML editor.


      To make changes to an existing document on holly:

      Changes or corrections to an HTML can be made on holly itself. This involves using a UNIX text editor such as "pico."

      • To make extensive revisions, it might be easier to use the FTP program to transfer your file back to your PC. Upon making all necessary corrections, simply FTP the file back to holly.

      Here's how to make corrections:

      1. Sign on to your holly account by giving your name and password. At the TERM=(vt100) prompt, hit ENTER.

      2. At the $ prompt, type in cd public_html.
        • This step is necessary every time you enter your subdirectory to make changes.

      3. At the next % prompt, type in (lower case) pico followed by a space and the the exact name of the document to be edited (including the .htm or .html extender). Hit ENTER.

      4. The document should appear, ready to be edited. Make all necessary changes. Proof carefully.

      5. Upon completion, use pico's EXIT command: CTRL-X (^X). When asked whether to keep the changes, answer Y for Yes. The name of your document to be saved will appear in the black bar below. Then hit ENTER.

      6. At the $ prompt, type logout to exit.

      7. Use the Netscape (or other) browser to verify your changes.
        • If the changes did not work, Netscape allows you to check your the instructions on holly. Select the VIEW button on the top toolbar and use the pull-down menu to select SOURCE to view the underlying source document. Find the error and hit OK to exit the SOURCE document screen. Then minimize Netscape and call up your lamar account to make needed corrections.

      File Transfer Protocol (FTP) Procedures
      To Transfer Files To/From Holly

      The following procedures are based on the Trumpet Winsock WS_FTP program, which is loaded on the terminals in the Journalism and Technical Communication lab in C-254 Clark. Other campus computer centers use other FTP programs. Contact Academic Computing and Networking Services for assistance in using other FTP programs..

      To make an FTP transfer using WS_FTP:

      1. Select the FTP icon on your Windows screen. An Session Profile screen will appear that requests you to type in information (or use a pull-down menu) needed to transfer your file(s) to/from your local pc and your remote host (holly).

        • Set Profile Name: WS_FTP (use pull-down menu)

        • Set Host Name (type in): holly.colostate.edu
        • Set Host Type: UNIX (use pull-down menu)
        • Set User ID: Your holly logon name
        • Set Password: Your holly password
        • Set Account: (leave blank)

          Set initial directories:

        • Remote Host (holly): your logon/public_html (note forward slash and underline between public and html)
        • Local PC: Filepath (drive and directory) where document is located on your PC. Example: C:\windows\)

      2. Click OK. The FTP program will connect to holly.
        • If calling in from off-campus, it will be necessary to establish a TCP/IP connection to campus first.

      3. A new FTP split-window screen will appear. One window will show all the files on your PC directory; the other will display all the files in your public_html holly subdirectory. If either of the subdirectories shown is incorrect, locate and highlight the correct one using your mouse. The listing of documents will then change. (When transferring your first document to holly, your public_html subdirectory window should be empty.)

      4. In the window showing your local PC subdirectory, use your mouse to highlight the file(s) you want to transfer.
        • To transfer more than one file at a time, hold down the CTRL key, until you have selected all files to be transferred.

        Important: Also choose the format in which the file(s) should be stored on holly by selecting the appropriate button on your FTP screen:

        • Text must be in ASCII;
        • Graphics (.jpg or .gif only) must be in BINARY.

        The two types of files must be transferred separately.

      5. Click on the arrow pointing from the PC file list to the remote host file list.

        The transferred document file name(s) should appear on the listing of documents in your public_html subdirectory on holly. This indicates that your file has been transferred successfully.

        • Make sure that all document names are lower-case with an .htm extension. (Exception: the index or main page of your home page should have an .html extension, e.g. index.html. Before leaving FTP, use the RENAME function on FTP to make this change. To do so, highlight the newly transferred file name as it appears on the window displaying your holly content, and then hit the adjacent RENAME button. Then, type in the new name (with the extension) in the screen that appears. The retitled file name should appear in the holly window.)

      6. After all documents are transferred, and file names have been checked, hit the EXIT button on the FTP screen. Then, continue with the transfer procedures



      Updated October 10, 1996
      Kirk Hallahan