Step 2: Create a www Directory
To create a WWW directory, follow the appropriate steps for:
Course Pages
Your Web documents will be stored in a www directory in your Project Volume. Later, when you "publish" your pages, the server copies these files from your www directory to the server.
Follow this procedure to create a www directory:
- Login to your Andrew account. If you are using a Macintosh or a Windows computer, you will need to use a telnet client to login to your account. We recommend using the following telnet clients:
- Windows: Tectia
- Mac: Terminal
Use the following settings to establish your telnet connection:
Host: unix.andrew.cmu.edu
Userid or User Name: Your Andrew UserID
Password: Your Andrew Password
- Type the following command to change your working directory to the Project Volume for the course:
cd pathname
where pathname is the pathname you were given when you requested your Project Volume.
- At the prompt, type the following unix command to create the WWW directory:
mkdir www
This creates a www directory.This is the directory in which your web pages will be stored before they are published. You'll also need to complete the following step to set access rights. Access rights gives the server read access to your www directory. Failure to perform this step will cause your pages to be unreadable after published.
- While still at the top level of your www directory, type the following UNIX command:
fs sa www system:anyuser rl
Personal Pages
All Carnegie Mellon affiliates are provided space on the Andrew File Server (AFS). Your personal web pages are stored in this directory and must be within a directory named "www". When you "publish" your pages, the server copies these files from your www directory to the server.
Follow this procedure to create a www directory:
- Login to your Andrew account.
If you are using a Mac or Windows computer, you will need to use a telnet client. We recommend using the following telnet clients:
Use the following settings to establish your telnet connection:
Host: unix.andrew.cmu.edu
Userid or User Name: Your Andrew UserID
Password: Your Andrew Password
- At the prompt, type the following unix command to create the www directory:
mkdir www
This creates a www directory.This is the directory in which your web pages will be stored before they are published.
If you generate a message mkdir: cannot create directory 'www': File exists your WWW directory has already been created.
You'll also need to complete the following step to set access rights. Access rights gives the server read access to your www directory. Failure to perform this step will cause your pages to be unreadable after published.
- While still at the top level of your www directory, type the following UNIX command:
fs sa www system:anyuser rl
Last Updated: 6/3/13