The The heading goes here
This page will enable you to have a simple web document on the
SUNY Oswego server. In your browser go to the 'view' menu at the
top of the window and click the option that says 'page source' or
'document source'. This will display the HTML code for this document.
HTML is the code that is used for writing documents, like this one, on the
web. When your page is working you may use this file as a
template, by editing out all of the information and replacing it with
your own information.
Next
start up a rocky session, you should be in your home directory, type:
mkdir public-html
This will create a new directory that you will
put your web page into. Next type:
chmod go+rx public-html
This command gives the world permission to view your document. Then
change to the new directory by typing
cd public-html
This is where you will create the file called index.html. First start the
text editor in UNIX by typing:
pico index.html
You will now type the source code of this file into the pico
editor, or
you can use your windows cut and paste features to place the source into
pico. Then you will save the file in pico by holding down the Ctr key
and pressing the 'o'. Next exit pico by holding the Ctr key and typing an
'x'. Once you are out of pico the next thing to do is type
chmod go+rx index.html
This will make your file readable to the world. Now you have a web page,
congratulations!! even though it is an exact copy of this boring page. To
access your page type the url into a web browser, your url will look like
this:
http://www.oswego.edu/~yourusername
(Where yourusername is the username you use to login to rocky.)
To make your page more interesting by learning a
little HTML
click
here.
Comments to the author, Sean Kraft
kraft@oswego.edu