Setting up a Web Site on the Economics Unix machines
This is designed to tell you how to create and modify the necessary folders to allow you to create and publish web pages on the economics Linux machine. When creating web pages, remember you are still bound by the university regulations regarding content and copyright.
First you need to have a Unix account. If you don't have one, contact Brad
Log on to grizzly.econ.psu.edu
At the prompt enter the following commands:
chmod 755 .
mkdir public_html
chmod 755 public_html
This is all it takes to set up a site for your web pages. Anything put in
the public_html folder is accessible if the file permissions are set to
755.
The default web page is index.html. If you don't have a page with this name then anyone trying to access your site will
get a 403 Forbidden Error.
Your pages are accessible at:
http://www.econ.psu.edu/~unixid
Files need to have their permissions set to 755 to be accessible, if the
file is to be
modified by more than one person then the permission needs to be 775. To
set or change permissions using ssh, right-click on the file and choose
properties. At the bottom is a permission mask where you can enter the
number.
You may create your web pages anyway you like.
The department has Dreamweaver available for use in writing web pages. The ITS labs have other
programs to help you create web pages if you want to use them.
