Before you can use the UNIX host machine as a server, your account must be prepared. You must give people the right to access your html files and these files must be placed in a directory named "public_html." All UVMers now receive a public_html directory when they receive their zoo accounts.
If you do not, or if you see a "no such page at UVM", continue on:
A note about file permissions:
There are three types of users who can access a file: the owner; a
member of the owner's group; and everyone else or all/world
. A person may access a file in three different ways: read the file, write
to the file, or execute the file (i.e. run a program or open a folder).
File permissions are set using the chmod utility. Chmod sets access permissions for the owner, the group, or all people. Permissions may be added or removed. The three permissions that may be granted are read, write, and execute.
2) Your computer should connect to Zoo. Login with your zoo user
ID and password. Press "enter" until you get to the Zoo prompt.
Give 'all people' 'execute' access to your home directory by typing:
chmod 755 ~ <enter>
Remember, execute access means that others may obtain a listing of your directory, but they cannot read or alter the files themselves.
3) Create a new directory called public_html by typing:
mkdir public_html <enter>
4) Give 'all people' 'execute' access to this directory by
typing:
chmod 755 public_html <enter>
(If you are curious about what the numbers mean read this note from Wesley Wright about UNIX rights settings .)
Now your zoo account is ready to accept the web files you will create in this tutorial. Continue the tutorial by selecting your path:
Copyright by
Hope Greenberg
(Hope.Greenberg@uvm.edu
).
Created/updated: 1996/2002