Publishing Your Web Pages

CS 14

Apr. 25, 1997

Your Web pages will be ``published'' to the web server on keystone. Keystone is used for instruction in several of the upper-level CS major courses. It is a Unix system ( groan). What that means is that it's not the easiest system in the world to use. But, it's where the web server is. Oh well. Fortunately, we'll rarely have occasion to deal with it directly. If all works out well, you'll only need to telnet to keystone to do one thing: Change you password. You won't even have to do that if you don't mind using the randomized password you've been assigned. Just keep the password in a safe place where no one can see it and guard it carefully. Your usage of keystone is governed by the documents available at http://keystone.westminster.edu/guidelines.html .

Logging into Keystone

To log-in to keystone, you must telnet to it. Here's how:

  1. Open the OS/2 folder. Then, open the Internet folder. Find the Telnet PM application and open it.

  2. From the telnet window, open the Connection menu and choose Open Session. For Hostname, enter keystone . For Emulator, choose VT100 . Click OK.

  3. You should have a login prompt in the telnet window. Type in your username and press return. If you make a mistake, just press return until you get another login prompt.

  4. You should now have a password prompt. You have to be careful about typing your password because you can't see what you've typed and Unix is case sensitive --- `` b'' is not the same as `` B'' as far as Unix is concerned. If you think you've made a mistake, don't try to use backspace or delete, they won't work. Instead, press and hold the Ctrl key and type one u character. Release both keys and re-type your password. If this doesn't work, press return until you get another login prompt and start over. If your username/password combination doesn't seem to work at all, call me over.

  5. You should be logged-in to keystone now.

  6. If you want to change your password, do so before logging out. Read the next section.

  7. To log-out from keystone, type logout and press return.

Changing Your Password

  1. Telnet to keystone, if you're not already there.

  2. Type the command passwd. You will be asked to type in your old password, to prove to keystone that you're who you say you are. Then, you'll be asked to type in your new password twice. Please follow the guidelines I gave in class for choosing a password. If your Novell password is a good password, use that one. See http://keystone.westminster.edu/password.html to review the guidelines.

  3. Only one person at a time may change their password. If keystone gives any complaints about the password file being locked, wait a minute and try again. Keystone will also complain if you try to choose a password that's too easy to crack. Please heed the warnings.

  4. You can now use your new password.

  5. Log-out from keystone.

Publishing Your Files to Keystone

Before publishing a page or pages, you must have the page (or one of the pages) loaded into the Netscape editor. So, do that first. Then follow these instructions:

  1. Press the Publish button on the toolbar. It is a lightning bolt with a page behind it.

  2. Under Local Files, if you want to publish all the pages in your web directory, click All files in document's folder. The highlighted files in the file list are the ones which will be published.

  3. For the Publishing location, enter:
       ftp://keystone/home1/userid/public_html/
    
    Replace userid with your userid (e.g., kelliher, banfikr, etc.). Of course, carefully verify what you've typed in.

  4. For the Username, enter your userid.

  5. Leave the Password field blank.

  6. Press Ok. A warning dialog box will pop up. Press OK. Another dialog box will pop up. You will be asked to enter your keystone password in this second dialog box.

  7. The files should begin to be published.

  8. If the files were successfully published, you'll be told how many files were published.

Practice

  1. Publish the three Web files (two pages and one image) that you've created.

  2. Remember your URL:
       http://keystone.westminster.edu/~userid/
    
    Again, replace userid with your userid. Remember, the .westminster.edu is optional on campus. It is required for off-campus access, however.

  3. Enter your URL into the browser and verify that your pages published correctly. If not, call me over.



Thomas P. Kelliher
Wed Apr 23 11:21:33 EDT 1997
Tom Kelliher