Creating a Personal Home Page on mason/osf1
(Note: Commands to be typed are in bold print!)
Important commands to know before you create your page
-
cd directoryname: changes directories
- mv filename directoryname: moves a file to another directory
- rm filename: removes a file from your directories
Creating a VERY Basic Page
-
If you don't already have one, get an account on The Mason Cluster or the
SITE
Cluster.
Instructions are available.
-
Important! Make your home directory world-executable
(don't forget the trailing space & period) at the system prompt.
-
Create a public_html directory in your account:
- mkdir public_html (return)
- chmod 711 public_html (return)
-
Change into this new directory.
- Using the pico editor, edit the file "index.html" to include
the following text. You'll need to type pico index.html, hit
return, and then and then type the text below. The pico editor mirrors the
pine program
you use for your e-mail, so the commands are the same.
<HTML>
<HEAD>
<TITLE>My Home Page</TITLE>
</HEAD>
<BODY>
Hello World!
</BODY>
</HTML>
- Hit control-X to save the file (you want to type Y for
"yes")and give it a name (you've already
named it index.html, so you can just hit return when it prompts you with
"File Name to write")
- At the system prompt, make the file
world readable (in other words, this lets other people see what you've
created):
- chmod 755 index.html (return)
Now invoke a WWW browser (lynx, Netscape, or Mosaic) and take a look!
Your URL should read as follows:
http://mason.gmu.edu/~YOUR_USER_NAME where your user name is the name you
login with.
- If you've done everything correctly, you will see this.
Here are two "learning HTML"links:
Please send questions and suggestions to:
webmaster@gmu.edu
Last Modified on August 12, 1998