Editing the Default Home Page: "index.html"
- Use telnet software to connect to the WebCity server
(webcity.arc.losrios.cc.ca.us)
Mac: BetterTelnet PC: Telnet.exe
- login: (enter your login here)
password: (enter your web password here:
123456)
- To get oriented to your account, use the following command to get a list
of files and directories:
ls (or ls
-la)
- Change to the public_html directory (all web pages must be stored
here):
cd public_html (cd, followed by
the name of the directory)
- Open an existing HTML file named "index.html". Use the text processor
pico:
pico index.html (pico, followed by
the name of the HTML file you wish to create)
- Edit the file "index.html" with pico. Use the editor to replace text like
"==Enter Your Name Here==" with specific information about yourself. There
should be no "=="'s when you are done.
- To save your file PERIODICALLY in pico, use the Control key and the O key
pressed simultaneously. Follow the directions. To save your file and EXIT the
pico software, press the Control key and the X key simultaneously. Follow the
directions.
- To end your session with the WebCity server, type the following command at
the prompt:
exit
- To view your web page, open a browser and type in the following
URL:
http://webcity.arc.losrios.cc.ca.us/~login/index.html
- The file name "index.html" is the default file name for each directory.
Notice that the following URL is the same as the one
above.
http://webcity.arc.losrios.cc.ca.us/~login/
Note: wherever it says login, enter your specific login. For
example:
Wayne Thomas:
login=thomasw
Namrata Singh:
login=singhn
Anna Portillo:
login=portila
Sukhee Kwon:
login=kwons