How to Build a Home Page in Ten Minutes
- Login to the SUN network in Ayer 303/304 using
a Gateway Linux PC or a SUN workstation.
- chmod 711 ~
- mkdir public_html (This directory should be
created under your login directory).
- chmod 711 public_html
- pwd (Remember the output of the command, which
should be the full path of your login directory).
- cd public_html
- mkdir as_pa1 as_pa2 as_pa3 as_pa4 as_pa5 (Create
a few subdirectories for future use).
- chmod 711 *
- For PC Windows users, go to step 22. You still
need to complete steps 1-8 for the initial setup of the server.
- Steps 11-21 are for UNIX users in Ayer
303/304.
- ow (To start the window's manager).
- Run Netscape. (Linux: Programs->Internet->Netscape.
SUN: right click on the background, then select Local->Netscape).
- Use Netscape to read http://www.cs.uakron.edu/~xiao/web/sample.html
.
- In Netscape, use "File->Save As" to save
sample.html under /the-full-path-of-your-login-directory/public_html/.
- Start a terminal window. (Linux: Programs->System->GNOME
terminal. SUN: right click on the background,
then select Programs->Shell Tool).
- In the terminal window, cd to /the-full-path-of-your-login-directory/public_html/.
- chmod 644 sample.html
- Use any text editor (vi, emacs, ...) to modify
sample.html.
- Save the changes.
- Use Netscape to read the page at http://www.cs.uakron.edu/~your-login-name/sample.html.
- Go to step 30.
- Steps 23-29 are for Windows users (at
home or in the labs).
- Start a web browser.
- Use the browser to read http://www.cs.uakron.edu/~xiao/web/sample.html
.
- In the browser, use "File->Save As" to save
sample.html to your local drive.
- Edit sample.html using Notepad and save the
changes.
- FTP the sample.html to kay.cs.uakron.edu under
the directory /the-full-path-of-your-login-directory/public_html/ using WS_FTP.
WS_FTP can be downloaded from shareware.com.
and it is already loaded on all the PCs in Ayer 301 and 305 (Programs->Ws_ftp->WS_FTP).
When ftping, you need set the mode to ASCII. If you are working at home, you
also need to connect through UANet in order to ftp or telnet to the university.
- Telnet to kay.cs.uakron.edu, chmod 644 public_html/sample.html.
- Use the browser to read the page at http://www.cs.uakron.edu/~your-login-name/sample.html.
- The following steps are for both UNIX
and Windows users.
- To make any page your home page, just name the
page as index.html and leave it under public_html.
- To read your home page, just use http://www.cs.uakron.edu/~your-login-name
as the URL.
- You can publish a web page to a subdirectory
of your home page by putting the file under the subdirectory in public_html.
For example, to publish as_pa1.html into as_pa1 subdirectory, just put as_pa1.html
under /the-full-path-of-your-login-directory/public_html/as_pa1 and change
its mode to 644. To read the page, use http://www.cs.uakron.edu/~your-login-name/as_pa1/as_pa1.html
as the URL.
- Have fun!