homepage.html and page2.html help
This page is linked to from Computer Skills and
Concepts web page. It provides information about how to work
on your web page.
This page is broken down into 4 categories, but
no matter where you choose to work on your web page, be sure to
look through all four of the topics
for additional information and examples that will apply to your situation.
WILL BE UPDATING SOME OUTDATED PARTS OF THIS PAGE!!!!!!!!
- Working in Wright 110 or Wright 112 or Wright 339 lab.
- One of the main advantages of working here is that you can save files
directly into your home directory on cowboy.cns.uni.edu and into the
web folder,
where they need to be for your web stuff to be published and
accessible.
- Your Z: drive refers to your home directory on cowboy. The
Web folder you have on the Z: drive is accessible from Windows
programs like the easy to use Notepad editor, which is part of the
Accessories group on most Windows machines.
- You can double click on My Computer,
double click on Z:, double click on web folder icon and see what files
are in your web directory.
- Start menu, Programs, Accessories, Notepad is the route to use to
start up the Notepad program. If you just double click on your
homepage.html or your page2.html file (from the My Computer window),
the page will open up in a browser window instead of in Notepad.
- If you are working in Internet Explorer, you can do the View menu
Source command to look at your homepage.html or your page2.html file
in the Notepad editor program. However, be careful and do File menu,
Save As and be sure to Save the file back to your Z:\web folder.
File menu, Save will NOT save it as Z:\web\homepage.html !!
- You may do the pico editor. See the instructions for Working from
the SCC labs for more details on pico editor, etc.
- To see a screen snapshot of the pico editor in use, as well as a
review of the 1st hands-on class, click here. Note the list of commands at the bottom
of the pico editor window.
- Suppose I have right-clicked on an image and saved that image into
my web folder on the Z: drive. The image is named uniCampus.gif,
for example.
- To save uniCampus.gif into your web folder,
change the Look In: list to the Z: drive,
then double click to open the web folder.
Let the Web Browser program attach the .gif
or the .jpg suffix.
- The permissions for the uniCampus.gif file
need to be changed with the chmod command.
chmod 644 uniCampus.gif
- Start menu, Programs, Internet, Telnet, Telnet
to cowboy and then login to your cowboy account
using your Wright 112 lab Windows NT/cowboy
user id and password (NOT ACAD UNI USER ID)
- cd web (after you are logged in to cowboy)
ls -l (to list your files and permissions)
chmod 644 uniCampus.gif (to make is web
readable, for the permissions).
- Working from SCC labs (Student Computer Center labs) like
the UNI library.
- You can telnet to cowboy.cns.uni.edu from any SCC lab
on the UNI campus. Use the same program you use for
connecting to COBRA, but specify cowboy.cns.uni.edu
instead. The lab monitor will know how to help with
connecting to computers other than COBRA.
- Using cowboy, from the login prompt, you will do the
following commands:
- cd web (see your UNIX handout!)
- ls -l (see the filenames and permissions)
- pico homepage.html
- ^X (control+X) to exit pico and save your
changes....
- ^O to WriteOut your changes, but stay in pico
editor.
- chmod 744 homepage.html must be done at some
point. Either chmod 744 or chmod 644 is OK.
Do this command from the cowboy prompt, but be
sure you are inside the web folder.
- logout
- If you want to download a graphic file from an SCC
lab, you will have to save it to your diskette or
to the hard drive of the computer you are working at.
You cannot save a file directly into your Z: cowboy
home directory. There is no Z: drive in an SCC
lab. Any lab monitor at an SCC lab should be
able to help you ftp (upload by file transfer protocol)
the .gif or .jpg file to your cowboy home directory.
The alternative to this is to come over to Wright 112
lab and easily copy the .gif or .jpg file from your
A: diskette to your Z:\web folder.
- You need to ftp to cowboy.cns.uni.edu! When
you ftp a file from your diskette or computer to
student.cns.uni.edu, you are transferring the file
to cowboy.cns.uni.edu.
- Working from a computer at home, without an Internet
connection or a modem.
- Use the Start menu, Programs, Accessories, Notepad
command to start up Notepad.
- Save your work on a diskette.
- Bring your page2.html and your homepage.html files
on diskette to the Wright 112 computer lab.
- Copy the files from your diskette (the A: drive) to
the Z:\web directory. The Z: drive is your chaos
account. The web folder is where your web pages must
reside.
- Start menu, Programs, Internet, Telnet, Telnet to chaos
and login to your chaos account (Windows NT user id and
password, NOT COBRA or UNI user id!)
- chmod 711 web YOU ONLY DO THIS ONCE ALL
SEMESTER
chmod 711 ~ ONE TIME ALL SEMESTER
cd web EVERY TIME YOU LOGIN TO CHAOS
ls -l
chmod 644 homepage.html
chmod 644 page2.html
- After doing the above chaos command, you can look at your
web page by typing
http://www.cns.uni.edu/~yourChaosID/homepage.html or
http://student.cns.uni.edu/~yourChaosID/homepage.html
as the URL. Using student instead of www is better!
- Use Notepad in Wright 112 to make additions and
corrections. See the directions for working in Wright 112 above.
- Use the web browser and the right-mouse click technique
to download a graphic from the web to your web folder
on the Z: drive.
Working from a computer at home, when it has a modem and
dial-up connection to the UNI modems or you have an Internet
Service Provider
WILL BE UPDATING THIS PART!!!!!!!!
- You can use the Start menu, Run command with Windows.
See the Run dialog box screen snapshot shown here to the
right.
- 273-5555 is a phone number of the CCC (UNI Computer
Consulting Center), if you have problems.
- Use the pico editor to work on your web page from home
over the modem while connected to chaos. Note: Might
be called nano editor instead of pico.
- See the above directions for when to use the cd web
command. There are also tons of handouts on this matter.
The chmod and cd commands and how to use pico in this
context are explained above throughout this web page
and thus will not be repeated here.
- You cannot save a graphic file (that you web browsed to
and right-clicked upon to download) directly into your
chaos home directory and into its web folder. You will
have to ftp it or upload it from your PC hard drive or
diskette to your chaos account and web folder. Another
option is to bring the graphic file on a diskette to
the Wright 112 lab and finish the transfer.
- There are too many possibilities for software and modem
or CFU or other internet service provider to cover here,
so talk with me for advice or call 273-5555 for advice
on specifics.