Using your SFU UNIX account to make a web page

Much of this information is compiled from the SFU web page "Install your pages on UNIX"
Dave Carmean carmean@sfu.ca


On a mac, go to your applications folder, in that is the Utilities folder, open Terminal. then type in
ssh youraccount@fraser.sfu.ca


1. Modify your UNIX (fraser) account
        (this must be done once only)

Telnet to your UNIX (Fraser) account  and type these 3 lines to make a new directory and change the settings:

mkdir pub_html
chmod 711 /home/accountname  (Replace accountname with your unix login)
chmod 755 pub_html

For Example:
2: carmean_fraser% mkdir pub_html
3: carmean_fraser% chmod 711 /home/carmean
4: carmean_fraser% chmod 755 pub_html



2. Create text and pictures
Write web pages:
Use a new, empty folder or directory. Name the starting or home text file index.html (or index.htm). All other text files should end in .html (or .htm). Pictures should end in .gif or .jpeg (.jpg).  You can start with this page

Write and edit your web pages with Netscape Composer (part of Netscape Communicator) (Additional Help).

and/or...

Write your document in Microsoft Word 97/98 and save the document as a web readable page (under 'Save As HTML...').

or....
You may write and format your document in your wordprocessor, save it as an RTF file (giving it a new name), and then drag it over the program TexttoHTML (or various programs like it) and it will be automatically converted to an HTML document.

or....

Find a simple page on the web that you like, then view it's code (use view document source or 'File, save as...' and save as source). Use your word processor to change their text and links to your text and links. After finishing the document, save it as text. View your document in Netscape by using 'open file' under the file menu or on the Macintoshes by dragging the file over the Netscape icon.
For relatively complete information on HTML code, see the NCSA HTML Primer or the Bare Bones guide.

Collect or scan pictures (respect copyrights):
Use images from the web or scan them in with the scanner in room B9216. See the scanner handout for more information.  Remember that computer screens are generally 72 dots per inch- higher resolution requires more disk space and time for downloads but does not result in a better picture picture on the screen.


3. Transfer text and pictures to your UNIX account

Put your files in the pub_html directory using FETCH or Rapidfiler. Transfer web text files as text, and pictures (gif, jpeg) as raw data.

With Netscape Composer, publish using your accountname and password and this address:
ftp://fraser.sfu.ca/home/accountname/pub_html/filename.html (filename.html is above in a different cell for the windows version)

For example:    ftp://fraser.sfu.ca/home/carmean/pub_html/index.html


4. View your Web Pages and Advertise them

http://www.sfu.ca/~accountname

Replace accountname with your Unix login name.  For example, http://www.sfu.ca/~carmean

If you get the error message "Forbidden, your client is not allowed..." reconnect to fraser.sfu.ca with telnet and change the settings (don't forget to change directories): 
cd pub_html
chmod 644 *.*   (this gives access to all files in pub_html)

  Use the tools of the World Wide Web Consortium to verify your HTML code and links. Use Bobby to identify and repair significant barriers to access by individuals with disabilities.

 Advertise. Look for 'Add URL' at your favorite search engines, including Google and Alta Vista.



For additional information see SFU's Install your pages on UNIX. Also see general help from SFU, How to get someone to e-mail you using a form, and how to password protect a web page.

Return to SFU biocomputing homepage
Go to top of this page