This is a lab exercise that has you figuring out how to set up a web page on sand.truman.edu, the place that Math/CS students can create web pages. When you have successfully completed this lab you will have a simple web page on sand.
vh222004:~$
For the
rest of this lab, I will indicate the prompt using just a dollar
sign ($). (So don't type the dollar sign at the beginning of the
commands that follow.)$ ls -l
to see a directory
listing. You may not have many files at this point.
Type $ mkdir public_html
to create your top level web
directory. Before we can get web pages to work we also have to
change the protections on a few directories and files. For now this
is just a magic incantation that you need to do to make everything
work. Type $ chmod o+x .
(note the very
small period (dot) at the end of this command) while still
connected to your home directory. Then type
$ cd public_html
to connect to the web
directory that you
created earlier. In this directory type
$ chmod o+rx .
(another dot here)Choose Applications ==> Internet ==> Firefox to open my favorite web browser. Go to the class web page in this browser, then connect again to this lab page. It will just be easier to do everything from sand at this point.
Use the web browser to download index.html and localstyle.css to your public_html directory by right clicking, and choosing Save Link As... Be sure to call the first file index.html and the second localstyle.css You may need to change the permissions on these files as you did with the directories. chmod o+r index.html for example.
http://sand.truman.edu/~abc1234/index.htmlwhere abc1234 is your Truman network username. Note the tilda in the URL. Note that the public_html directory is necessary, but its name does not appear in the URL.