Home Page Instructions

(updated 6/11/2009)

Step by step instructions for setting up directories and files for web pages on calclab machines...

  1. Login into calclab1.math.tamu.edu using ssh or a secure login (such as PuTTy).

  2. type the command "cd" after the prompt, as in the line below
    calclab1% cd
    to "change directory" to your home directory.

  3. type
    calclab1% ls -l
    You should see a list of all the files in your directory.

  4. If you don't see a directory called "public_html", you must create it... [Note: the underscore "_" is critical. Without it your web directory will not appear!]
    calclab1% mkdir public_html

  5. After you create it, it must have the right "privileges"
    calclab1% chmod 755 public_html

  6. Now change directories into the public_html directory
    calclab1% cd public_html

  7. Create an index.html file with the following lines
    <html>
    <head>
    <title>Home Page</title>
    </head>
    <body>
    Hello World!
    </body>
    </html>
    

  8. To create a text file, use one of the following text editors on calclab1.math.tamu.edu
    1. vi - for unix veterans
    2. emacs - for die-hard unix users
    3. pico - for the rest of us
    You can also create a file on your home machine, and ftp it to calclab1.math.tamu.edu using iXplorer from http://i-tree.org/, or scp on unix machines.

  9. Make sure it has the right permissions
    calclab1% chmod 644 index.html

  10. Check it out in your browser at
    http://calclab.math.tamu.edu/~your_login_name/index.html