Step 2: Creating A Subdirectory for the Home Page on Odyssey
Once index.html has been created on your PC, it must be transferred to
the subdirectory "public_html" within your user area on Odyssey.
Since October 1997, all members automatically had the directory public_html
created in their user area on Odyssey. If you don't fall into this
category, don't worry, this article will show you how to create it.
If you are unsure, or just want to make sure the directory exists, the
following shows you how to check.
Odyssey uses a variant of the UNIX operating system. To create
a subdirectory, or view the directory structure and file list in your user
area, you need to execute commands on Odyssey within this operating system,
similar to DOS. To execute these commands, you need to login to Odyssey
with your PC acting like a terminal. One way to do this is to execute
"telnet" software on your PC. As most of us are using Windows,
the easiest way to "telnet" in Windows 95 is to click "START,
RUN.
Enter 'telnet:odyssey.apana.org.au' CLICK OK. And you have
the login prompt. From here, you can log in as below. "Terminal",
in Microsoft Windows 3.1, or "HyperTerminal", in Microsoft Windows95 are
just 2 examples of "telnet" software; other examples can be found
in our Resources area
- Download and install the appropriate "telnet" software, though Windows 95 "telnet" is quite adequate.
- Execute the "telnet" software.
- Connect to Odyssey (if you are already logged on through your browser,
use the TCP/IP option in your "telnet" software rather than dialling up)
- Login with your user name and password (this will place you at the UNIX
command line prompt "bash>" if successful)
- Type pwd at the command line prompt (this will display the
working directory you are currently in and should be your user area)
- Type ls -l at the command line prompt (this will list all
files and directories in your user area, in long form [Note: those are
lower case L's not numeral 1's])
- If you see the directory "public_html" then you are all set, skip the next indented instructions:
- If not:
- Type mkdir public_html at the command line prompt (this will
create the public_html subdirectory in your current working directory [i.e.
your user area if you just logged on and didn't change directories])
- Note: you can also create other subdirectories below public_html at this
time too, if you wish. (e.g. mkdir ~/public_html/images will
create an images subdirectory below the public_html subdirectory in your
user area)
- Some other useful UNIX commands (refer to other internet sites for UNIX
command tutorials) are:
- rmdir directory (removes the named subdirectory within the
current working directory)
- cp file1 file2 (copies file1 to file2 within the current
working directory)
- rm file (removes the named file within the current working
directory)
- cd (change directory to your home directory, where you login
to, i.e. your user area)
- cd public_html (change directory to the public_html directory
from the current working directory [i.e. your home directory if you just
logged on])
- cd ~/public_html (change directory to the public_html directory
within your user area, regardless of the current working directory)
- cd .. (change directory to the parent directory of the current
working directory)
- pwd (will always indicate the current working directory you
are in)
- When you are finished, type logout at the command line prompt
and then exit the "telnet" software.
Disclaimer: This site is maintained by volunteers. We endeavour to keep the information up to date, but at
times this may not be the case. If you find something amiss or a broken link, please inform the Webmaster.