|
|
|
Note: The following directions are Louisiana Tech - specific, but with modifications could work elsewhere.
To create a home page, follow these instructions:
- UNIX accounts
- Give your home directory the appropriate permissions. This means search (execute) permissions for others. Type the following, once you are in Unix: cd ; chmod o+x .
- Create a directory in your home directory called public_html and give it the appropriate permissions. This is the directory in which you can put all of your HTML pages and graphics so that others can access them. cd ; mkdir public_html; chmod o+rx public_html
- VM/CMS Mainframe accounts
- If you are in the shared filesystem (SFS), you want to create a directory
named webshare: create dir .webshare. Follow the directions below for creating
HTML documents, and place them in the webshare directory. Use help sfs to
get information on managing SFS files and directories.
The following commands will create the webshare directory and access it
as your B disk.
create dir .webshare
access .webshare b
Now you can simply copy HTML files to disk B, i.e. from CMS:
copyfile * html a = = b
- If your account uses a minidisk, you need to create a file named webshare
filelist on your 191 (A) minidisk listing the files you want exported to
the web. Each entry should contain the filename, filetype, and file mode;
one per line, with a blank (space) in the first column.
Now it's time to actually create the home page. HTML pages are created using something called HTML (hypertext markup language). An excellent reference is A Beginner's Guide to HTML. It will give you instructions on how to create the page, using your favorite text editor (emacs, vi xedit...). Once you do that, save it in your public_html or webshare directory or on your 191 minidisk under the name index.html. (Index.html is the default file that the World Wide Web looks under in a directory if a file name isn't specified.) You can also check the HTML commands used to create any WWW page you see currently on your screen. To do that, pull down the File menu at the top of the page and click on View Source.
To access your pages, you will use one of the following URL's (Uniform Resource Locator):
http://www.latech.edu/~userid/ Unix systems
http://www.cc.latech.edu/~userid/ VM/CMS mainframe accounts.
Make sure you substitute your userid at Tech for userid, and be sure to include the ~.
Other people can access your page using the same address, too.
|
|