-->
CS Web Pages - How To Create Student Web Pages

CS Web Pages - How To Create Student Web Pages

  1. Once logged into unix if you typed 'ls -l', you would be shown all your folders in that directory.

    fig01
    Fig 01

  2. You need to create a directory in the root of your Unix acount named 'web_home'. (Read following or observe figure 02 below)
    To create the folder so the World can see your webpage you must do the following (In Unix).
    • cd ~
    • chmod o+x . (NOTE: You must enter period and have one space after x before period)
    • mkdir web_home
    • chmod 755 web_home


    fig02
    Fig 02

  3. To observe the permissions of your files you can enter 'ls -l'. (Example output shown below in figure 03)
    Note how your 'web_home' directory will have some extra letters which are for the outside worlds' permissions.

    fig03
    Fig 03

  4. Every web_home folder must have a webpage named index.html
    So now you need to create your webpages and your main page should be named index.html
    (Extremly Basic index.html page source shown below in figure 04)

    fig04
    Fig 04

  5. After pages are finished (save them OR ftp them) into your web_home directory.
    (Fig 05 below shows web_home directory with index.html saved in it)

    fig05
    Fig 05

  6. Now you need to change all the permissions of files in web_home(See figure 06 below or read following)
    • Once logged into unix enter following at prompt
    • cd web_home
    • chmod 704 *


    fig06
    Fig 06

  7. Now you can view your webpage the url will be dependent on your classification.
    (Figure 07 below shows url for student with username: jneal)
    • http://students.cs.tamu.edu/username/
    • http://faculty.cs.tamu.edu/username/
    • http://staff.cs.tamu.edu/username/


    fig07
    Fig 07

(Note: This web site will allow static content only. If you require dynamic content, you should either create a web project site, or utilize a different server.)


To Top of Page To Top Of Page Printer Friendly Version

©CSG Helpdesk

Valid CSS!