|
ITS User Services Home Page
Computer Consulting Center
FAQs (Frequently Asked Questions)
Documentation (Self Help)
PC & Software Purchasing
Software for Downloading
SCC's (ITS Public Labs)
Use Statistics
Training
Employment
|
|
How To Get Started Creating A Personal Web Page at UNI
Basic Requirement: A SUNNY account
All Students, Faculty and Staff can get an account on UNI's central UNIX
computer, SUNNY. This is where most UNI web pages are stored. To get an account on
this system, go to room 36 ITTC Building and fill out and/or bring this
Application.
Training is available!
Free two-hour workshops are offered by ITS-Training for students, faculty, and
staff wanting help creating web pages. Follow these links for the current month's schedule and a description of workshops.
Making Your SUNNY Account Work for Web Pages
The following instructions assume that you have successfully logged in to SUNNY using your own account. When you do so, you will be in your "home directory." Your home directory has the same name as your
UNI
Username. If your Username is smith99, your home directory will also be called smith99.
- For personal accounts, we recommend that you upload files directly to your home directory. When you
store your HTML files in your home directory, the URL (web address) for your web page is
http://www.uni.edu/[your Username], for example
"http://www.uni.edu/smith99"
. If you prefer to put your HTML files in a folder called "web" (i.e.
http://www.uni.edu/[your Username]/web), then your URL would be
"http://www.uni.edu/~smith99".
- In order to make your home directory, and the files in it "world" searchable
and readable, and allow people at other computers to see (but not change or
delete) these files with a web browser. You must first make the
changes to the directory protections.
Type the following commands at a UNIX prompt in your home directory to set the
protections on your home directory. They can done using PuTTY which is a command
based FTP, or another specified secure FTP client.
- $ chmod 701 .
***NOTE***: there is a space between chmod, 701, and the period.
- Create an HTML file in the home directory using one of the text editors on SUNNY (pico, ee,
vim, vi).
- Another way to transfer a home directory from another source (such as your PC)
is to use a Secure FTP
Client. FTP stands for File Transfer Protocol.
For more information about Secure FTP Clients and to download FTP programs for Windows or Macintosh, follow this link to
UNI's Downloadable Software Site
- An easier way to create webpages is to use a graphical based program such as Nvu
(available on the software download site), Dreamweaver or Contribute. These programs also let
you edit the HTML code directly. However, you will no longer be able to use the publish
button to directly to transfer to your "sunny.uni.edu" account. You must transfer your page using a Secure FTP Client
(see above)
The ITS public labs (SCCs- Student Computer Centers) have Adobe DreamWeaver and
Composer available.
- Now that you have a file in the directory, you can set the file protections
to "world readable".
More About HTML
HTML stands for HyperText Markup Language. It is a file format that web browsers like
Firefox and Internet
Explorer (IE) understand. Here are some of the basic things you need to know about it.
- index.html is the file a web browser, such as IE, will automatically display when it is
directed to a web directory. For example, if someone using IE types
http://www.uni.edu/smith99 in the address area, the browser will
display index.html just
as if the person had typed in http://www.uni.edu/smith99/index.html for the location.
If there is no index.html in the directory, the person using the web browser may see a
listing of the files in the directory, which you probably don't want them to see, or get an error message.
Many other World Wide Web servers are set up this way as well.
- For this and other reasons, we highly recommend you use index.html as
your personal "home" indexing file and have it link to any other files you add to your site.
- You can create an HTML document in any word processor capable of saving files as ASCII text (most are).
You can also create HTML files in a specialized web development program. You may follow these links (out of
UNI's webspace) for more information about a few such programs.
- If you choose to write HTML documents in a word processor, be sure to save it as a "plain text" or
"text only" file and change the file's "extension" to either .html or .htm. For example,
if your word processor would ordinarily name your file index.doc, or index.txt when you
save it as a text file, change the name to index.html or .htm should be used if your operating
system or word processor will not allow a four character extension.
- After transferring copies of the files into your SUNNY account with your
secure FTP program, you can rename them if necessary.
If you are using CoreFTP simply select the file and right-click the mouse and Rename the file. You
can also use the UNIX command MV while logged in from a terminal using a telnet program.
- To change a file named index.htm to index.html, you would need
to type the following at a UNIX prompt in the
directory where the file is stored.
- If you need to change from your home directory to your web directory to do this, type the following.
- Keep in mind that if you change the name to the name of an existing file, the
previously existing file will be permanently and irreversibly replaced.
- If you would like to know more about writing HTML, please follow one of these links:
Testing Your Page
Once you have an HTML document in your web directory, test it using a web browser. This will let you know if the permissions for the folder are set right (see item 2 above) and if the page looks the way you want. Remember that the
"~" points the web browser to your web directory. Leaving the "~" out points the browser to your home directory.
- To test your page using a browser:
- Choose [Open Location] under the [File] menu.
- Type In: http://www.uni.edu/[your Username] where "[your Username]" is your Username.
For example, if your Username was "smith99," the address, or "URL," of
your web site at UNI will be http://www.uni.edu/smith99.
|