|
This file describes how to enable publicly-accessible personal Web pages ("home pages"), that are served from your individual computer account on our central Unix systems. What is a home page?On the World Wide Web the term "home page" refers to the first document you come to in a collection of logically-related documents on a Web site. Once you learn the basics of HyperText Markup Language (HTML), you can create a personal home page within your account on our central Unix systems. It is easy to do. See for example:
We also have a list of pointers to more advanced authoring resources on the Web. Why create a personal home page?There are several kinds of home pages, depending on their logical focus. This document deals primarily with personal home pages. Pubpages is intended as a basic service, not to rival all the things you could do on a system of your own or with a commercial Internet Service Provider.
|
1. Login to your Unix account and exit from the menu to the shell
prompt (%) by selecting menu item 4. You can always return to the
menu by typing "menu" at the shell prompt. Confirm that
you have a directory in your home directory called "public_html".
If not, create one by:
mkdir public_html
2. Put all your HTML files and any needed graphics or other
files in the public_html directory. Remember, however that
this counts against your login quota (5 MB current default).
showquota
3. Allow access to the public_html directory and its files:
NOTE: All these commands must be given exactly as shown with
respect to use of spaces and lower case. The most
common problem people have is that they do not protect
their home directory to make it world readable. That
command (below) uses a tilde (located in the upper left
corner of most keyboards). Because Unix does not
normally confirm whether a command worked correctly or
not, the commands shown below are in sets, as the
basic command and then one to confirm that it worked.
Each line includes a comment beginning with "#" that you
do not type.
cd # move to your home directory
pwd # should end with your account name
chmod go+x ~ # make home directory world execute
ls -ld ~ # look for pattern "drwx--x--x"
chmod go+rx public_html # make public_html world read/execute
ls -ld public_html # look for pattern "drwxr-xr-x"
cd ~/public_html # move to home page area
pwd # should end with "/public_html"
chmod go+r * # make all files world readable
ls -l # look for pattern "-rw-r--r--"
WARNING: if you have any confidential files in your home
directory, you should either separately protect them
against world access, or you should move them into
a single directory and protect that. The normal
default protections on mail and other directories
protect them _if_ you haven't changed them.
4. From this point on the Uniform Resource Locator (URL) for
your home page is:
http://pubpages.unh.edu/~account
where "account" is your account name.
5. The default is for you to name your home page "index.html".
If you choose another name, then that other name must be
explicitly included in the URL for your page, e.g.,
http://pubpages.unh.edu/~account/somethingelse.html
6. To have your home page listed in our UNHINFO campus-wide
information server, send e-mail to unhinfo.help@unh.edu.
If you have a public_html directory, you
are automatically listed
(unless you ask to be excluded).
What about content?What should you put in your personal home page? Often people include a scanned color photograph of themselves and some information about their field of study or interests. Many home pages also act as a "jump station" with links to other Internet resources of interest to the owner. Browse and look at what others have done. Are there any do-not's? Well, your prime directive should be to use common sense. We (technical support staff in Computing & Information Services) do not monitor the content. So don't be the cause of serious complaints that we will have to investigate and don't generate so much traffic that it will interfere with the normal operation of the system. We will follow the computing code of ethics and other University rules and our own common sense if complaints about content come in. We do keep traffic logs of the server activity on the "pubpages.unh.edu" system, to be able to trouble-shoot technical problems and to track usage volume. Summaries of these stats are linked on the list of UNH personal Web pages for anyone to view. Occasionally asked usage questions.
|