|
Note: If you are a Lower Division
student using ITlabs for a specific course, ask the consultants whether
your files will be deleted at the end of the quarter. If so, be sure to
transfer any web files you care about to another account.
-
Login to ITlabs. From your itlabs account, execute
the commands (where '%' is the Unix prompt):
% cd
% mkdir .www
This MaKes a DIRectory called .www in your
account. This is where your homepage will reside.
-
Now, make this account readable by the world:
(HTML files cannot be seen by the world unless the operating system
knows that this is all right.)
% chmod 755 .www
This uses the CHange MODe command to set the
file permissions on your.www directory.
- Now, go into the directory by typing:
% cd .www
- Use any text editor to create your html files,
starting with your homepage file which should be named index.html. For
those new to Unix, we recommend the very basic Pico text editor because
it has a limited command set and all the commands are listed at the
bottom of the screen. Invoke by
% pico index.html
To interpret the commands at the bottom of
the editor screen, note that ^X means hold down the control key while
pressing the letter X. If you are new to Pico, after entering the
editor, do a ^G to get the help screen.
You can also use vi or emacs, two popular
Unix editors.
-
Change the permissions on all your html files
with this command. (Your must do this to ensure your web content can
be seen by all.)
% chmod 664 *.html
-
Now check out your page! Open Netscape, and type
your web address into the location field. Your address will look something
like this:
http://www.itlabs.umn.edu/~user0001/
where you replace "user0001" with your itlabs
username. Don't forget the http: at the beginning. If you don't like
what you see, use your editor to change the file.
- Welcome to the web!
|