CEN4020: Software Engineering I up↑

How to Set up a Simple Web Page

 

These are basic instructions for anyone who has not set up a web page before on ww2.cs.fsu.edu. Many students will already know more than this, and those should feel free to go beyond this if they wish to.

  1. Log into ww2.cs.fsu.edu.
  2. Create a public-readable directory named "public_html", and go into it.
    mkdir public_html
    chmod 755 public_html
    cd public_html
  3. Create a publicly readable file named "index.html". touch index.html chmod 644 index.html
  4. Edit the file index.html, to contain the HTML code you want. You can use the "view source" operation on a browser to look at the HTML source for this page, or download and save the page, then use a plain text editor like emacs to view it. The following is the framiework for a very basic web page:
    <!doctype html public "-//W3C//DTD HTML 4.01 Transitional//EN">
    <html>
    <head>
    <title>index.html</title>
    <meta http-equiv="content-type" content="text/html; charset=iso-8859-1">
    </head>
    <body>
    
    ...put your text here...
    </body>
    </html>
    

    Note that if you want the character "<" to be seen as normal text is must be written as "&lt;".

  5. If your userid is "myid" the world should be able to view your home page now as either "http://ww2.cs.fsu.edu/~myid/" or "http://ww2.cs.fsu.edu/~myid/index.html".

For more information on HTML and CSS, including HTML and CSS validators, see http://www.w3.org.

($Id: webpages.html,v 1.1 2010/03/22 08:48:31 baker Exp $)