Publishing Your Home Page
Next, you will publish your home page.
What does “Publishing Your Home Page” mean?
Publishing your home page MEANS putting it into the correct place, so that
it appears on the web.
What is the ‘correct place’?
The correct place is a ‘directory’ located on one of the computers in the
math department, within the place where your ‘home’ directory is
located.
What is my home directory? And, where is my ‘home’ directory located?
Your ‘home’ directory is your unique ‘unix’ directory, on a specific machine in the math department, which is owned by you.
To find out where it is located, you will need to know the ‘name’ of the machi the Mathematics Computing Group (who you will usually see on the helpdesk), or someone in the Student Affairs Office.
Briefly, if you are grad student, this machine is called ‘walnut.math.ucla.edu’.
If you are a staff member, this
machine is called ‘julia.math.ucla.edu’.
If you are a faculty member, visitor, or guest, this
machine is called ‘cedar.math.ucla.edu’.
Your ‘home’ directory is located on one of those machines, in a ‘very
specific’ place which we will discuss shortly. Within that place (i.e., the
home directory), there is ‘another’ directory which needs to exist (if it
already isn’t there).That
directory is called “public_html”.
You will be shown later how to see if it’s there, or create it if it
isn’t there.
How do I put my homepage I just created into the correct place? Into the place on one of the machines listed above?
In order to do this, you will have to use one of the following resources:
Secure Shell (called SSH), or Sambamath (**use ONE or THE OTHER, but
not both**).
What is Secure Shell (SSH)?
Secure Shell (SSH ) is a program that lets you copy any files on your computer,
to the ‘CORRECT’ location on the machine which is listed above.
To do this, you will first have to
download a copy of Secure Shell onto your computer. On our website, we have a
copy of Secure Shell that you can download.
Just go the following site:
http://www.math.ucla.edu/computing/software/ssh/index.shtml
What will I be doing, once I have Secure Shell on my computer now?
What you will be doing is “Transferring Files” (we call it “File Transfer”, or FTP) from your computer to that ‘correct’ place.
How do I “Transfer Files”?
Go to http://www.math.ucla.edu/computing/software/ssh/instructions.shtml, and
then click on the File Transfer link, to learn how to transfer files
from your computer to the ‘machine’ where the ‘correct place’ is
located. Remember that your machine name should be one of the ones listed above, and the username should be your ‘email’ name in the math department.
Now I have the File Transfer window open. What should be on the left side pane,
and what should be on the right side pane?
On
the ‘left side’, you should see a list of files and directories, and your
‘newly created’ index.html file, and that folder that might have been
created, should be there. If
they’re not there, you should navigate to where the file index.html is
located.
On
the ‘right side’, you should see what is, FINALLY!, your ‘home
directory’. Now that you know
that, try to find a ‘directory’ called ‘public_html’.
If it’s NOT there, you have to create
it. How do you create it? To
create it, there is a little icon that looks like a folder, next to the “X”
symbol, on the right side. This
is ‘create new folder’. Click on
it, and then a window pops up so that you can type in a name.
Type in the name ‘public_html’.
Hit return.
Once you create it, then ‘click on it’.
NOW YOU HAVE FOUND THE CORRECT
PLACE! This should be on the
right side pane.
OK, what file or files am I transferring, and where?
You will be transferring the file “index.html”, and that ‘folder’ that was created when you created your “Web files” above, from the left side window of the Secure Shell File Transfer window, to the right side.
I’ve transferred my files, but they still don’t show up on the web. What do I do?
There’s
a good chance that the permissions on the files are not set correctly.
The files are there, but the
permissions have to be set properly so that the files are readable from the
web. If you don’t know how to
change permissions, please see the following page:
http://www.math.ucla.edu/computing/computing-new/usr_support/internet/www/classpage.shtml