Building Your Bridge to the WWW |
||||||||||||||||||||||||||||||||||
TASK
1
Setting Up Your HTML Directory on Mason TASK 2 TASK 3 CHECK IT OUT! ADDED BONUS How to make changes to an existing page ESSENTIAL UNIX COMMANDS Here's a small chart to help you with the basic UNIX commands you'll need for webpage management
|
TASK ONE -- Setting Up an HTML Directory on MASON The first step in setting up your homepage is to create a directory for it in your mason/osf1 account. Not only do you need to create this directory, but you also need to change your account itself so that other people can read your homepage file but not other files in your account (like your e-mail files). Follow the directions below to do both these things. A. Log onto your mason account (use Telnet) B. Type the following commands EXACTLY. (You only do this part once...you only have to create this directory once. Once you have this directory created, you store all your html files and subdirectories here.)
** The yellow marks mean "type an empty space." chmod 711 .
TASK TWO -- Creating Your First HTML File (Homepage) A. Now you must put an HTML file (a webpage file) into the directory you created above. Your homepage file will be called index.html and Pico is the editing program that allows you to create and make changes to this file. To make this file, after the osf1 prompt type:
B. Type the following exactly (expect for the items in italics...include your specific information in place of the bolded and italicized words). The information in the <> marks is html mark-up. This makes this file a WWW file.
"http://www.ncsa.uiuc.edu/General/Internet/WWW/HTMLPrimer.html">
"http://www.learnthenet.com/"> Learn the Net</a>
</ul>
"http://www.cnn.com/">CNN</a> "http://www.washingtonpost.com/"><i>The Washington
"http://mason.gmu.edu/~eli">The English Language
"mailto: your e-mail address">your e-mail address</a> </body> </html> C. When you are done typing, press the control key and the X key at the same time (the exit command at the bottom of your screen--^X). When you are prompted, answer y for yes to exit pico and to save the file. When the computer asks you if you want to save the file as index.html press the return key (that means you are answering yes).
TASK THREE -- Making Your Homepage Accessible At the osf1 prompt, type the following :
A. Your new homepage is complete! Your file called index.html is used as the default page when visitors look at your account. Your page 's address (URL) is:it is best to create a subdirectory within your public_html directory and put the sub-page in this new subdirectory so that in the following example, directoryX = the name of the subdirectoy you create, and filename.html = the name of the new subpage, making the address (or URL) for the new page as follows: http://mason.gmu.edu/~username/directoryX/filename.html B. Test out your page. Start Netscape and use the Open command. Type in your URL:
ADDED BONUS -- Making Changes to a Homepage You can make changes to any homepage you have in your public_html directory. To do this, type the following after the osf1(mason) prompt:
Make any changes you want to make and use either the exit (^X) or the writeout (^O) commands to save the changes you have made. Be sure to use the full file name (public_html/index.html) when you save the file and to answer yes when the computer asks you if you want to overwrite the file. EXTRA DOUBLE BONUS -- Essential Unix Commands Mason uses the Unix operating system (that's its language, and unfortunately it hasn't taken any ELI classes, so it doesn't know any English). So, to communicate effectively with mason, you need to know the following vocabulary. Be sure to type an empty space between the command and any file or directory name you want the command to "take place on." For example, to change the persmissions on a file named bridge.html, you would type: chmod 755 bridge.html
|
|||||||||||||||||||||||||||||||||