Some Web Help in making a page!
In this exercise we will create a sub-directory
of your UNIX home directory called public_html and
set it up so that others can see the files you
publish there:
Setting
up your Directory
1.Log in to Copland.
2.Make your home directory executable
by others. At the UNIX prompt, type
chmod
o+X .
and press the RETURN key. Note that a space and a period (.) follow
the "o+X"
characters.
3.Create your public_html directory.
At the UNIX prompt, type
mkdir
public_html
and press the RETURN key.
4.Make your public_html directory
executable and readable by others. At the UNIX prompt,
type
chmod
o+rX public_html
5.Make your public_html directory
your current working directory by typing
cd public_html
6.Get the full path to your public_html
directory by typing
pwd
Copland will respond with something like
/home/base/usrc/46/18062/public_html
7.Write this down in a place where
you can find it again. You will need it later for publishing
your web page.
Publishing Your Page
After you have created
and saved your page, you are ready to publish your page. You now
have to transfer the
files to your public_html directory, which you created at the beginning
of
the class on Copland.
1.From
the "File" pull-down menu select "Publish."
2.In
the box labeled "http or ftp location to publish to" enter
ftp://copland.udel.edu/"path-to-your public_html"
where you substitute the full path to your public_html directory that you
saved from the
first exercise. Following the example you would enter
ftp://copland.udel.edu/home/base/usrc/46/18062/public_html
3.Fill
in the boxes for your user name and password.
Do
not check the box to remember
your password. Then click on "OK." Netscape Composer will
give the choice of publishing all the files in the same folder as the document
or all
related files. Or, you can select from a list the files to publish. It’s
a good idea to be
sure that you only have files you want to use on you Web page on the floppy
you are
using for your home page document.
4. Now
any one can load your web page on any web browser!
http://udel.edu/~yourusername
Publishing by FTP
Step
1. Setting up your account
1.Log on to telnet copland.
2.Make your home directory executable by others. Type
chmod o+X .
Note that a space and then a period follow
the X
3.Create your public_html directory. Type
mkdir public_html
4.Make your public_html directory executable and readable
by others. Type
chmod o+rX public_html
Step
2. FTP your files
1. Goto the windows FTP program. (goto find and
type ftp search the c: drive)
2. Logon and goto the public_html directoey.
3. Chang the other side to the a: drive go
into your web page folder.
4. Now copy you html files and pics to your
public_html dir
Step 3. The final chmod
1. Goback to copland
2. Goto your public_html directory by typing
cd public_html
3. type
chmod 755 *.*
4. Now
any one can load your web page on any web browser!
http://udel.edu/~yourusername