 |
Setting up your own little place on the web is really pretty easy.
Follow these instructions, and you can have a home page in about 10
minutes. It won't be fancy, it won't be beautiful, but it's a
starting point, and you can expand it gradually from there. All you
need is an account on the Department Suncluster and basic knowledge
of a text editor (vi, emacs, textedit, whatever).
First, a little basic vocabulary.
- A browser is a program that lets you read web pages
and hop from one to the next. Netscape is the browser of
choice on the Suncluster, but Mosaic is still kicking
around somewhere, and a lot of the websurfing public
uses Microsoft Internet Explorer. These instructions
assume you're using Netscape.
- HTML is the ``language'' (actually just a bunch of
``tags'', or formatting markers) in which web pages are
written. HTML documents are just plain text files with
a particular format and content.
- A URL (Uniform/Universal Resource Locator) is sort
of like an email address, but it specifies a particular
document (often an HTML file) on a web server. URLs usually
start off with ``http://''.
And now, on with the show.
- Make a copy of these instructions, so you can use your
main browser window to set up your page. Either:
- Print hardcopy -- choose ``Print'' from the
``File'' menu, and enter lp -d ps as the print
command, or
- Spawn a second web browser window -- do ``New
Window'' from the ``File'' menu.
- Start up your favorite browser (if not already running),
and log into your Sun account with a standard text window.
- In your home directory, create and move into a new
directory for your pages:
- cd ~
- mkdir public_html
- cd public_html
- Go to the homepage
template that I've created.
- Save the source code of this page to your public_html directory.
- Choose ``Save As'' from the ``File'' menu.
- Set ``Format for saved document'' to ``Source''.
- Enter the filename as ~xyz/public_html/index.html.
(Replace ``xyz'' with your username.)
- Click OK.
- Edit the index.html file.
- Open up the index.html file with your
favorite text editor.
- Replace Hubble's name with your own (three
places), and alter other text as you see fit.
Don't muck around with the tags (the things
in angle brackets) just yet.
- Save the file (but don't quit the editor).
- Back in your browser, call up your new page.
- Choose ``Open Location'' or ``Open Page'' from the ``File'' menu.
- Enter http://www.astro.caltech.edu/~xyz/ (where xyz is again your username).
- Press the ``Open'' or ``Open in Navigator'' button.
- Your page should appear. Marvel at it.
- To make modifications, edit the HTML source, save the
file, and then press the ``Reload'' button in your browser.
If you're feeling adventurous, you can experiment with the
tags and try to figure out what they really do.
- Mail your friendly webmeister at webmaster@astro.caltech.edu and say ``I've got a page
now! Link me in to the astro pages -- my URL is http://astro.caltech.edu/~xyz/. Wow, this
stuff is so cool!'' It sure is.
- Make your homepage your default startup page.
- Select ``Preferences'' from the ``Edit'' menu.
- Choose ``Navigator'' from the menu at the left of the window.
- Click on ``Location'', and enter your URL in the text field.
- Hit OK.
|