CS 55.13 - PHP Programming
Section 4191
David Pearson
Fall 2009

Exercise 01.02

Preparing Your Production Environment

To set up your production environment you will make sure your Student Server account is set up to serve web pages and web applications and then set up the assignment project directories.

Preparing Your Student Server Account

First check to see of you Student Server account has been set up to serve web pages. Using your favorite SSH terminal program log in, in your home directory get a directory listing using the command ls -laF, you'll get a listing that looks like this: dir listing.
Look for the public_html symbolic link, if it exists skip to "Set up Assignment Project Directories", otherwise please follow the instructions at http://student.santarosa.edu/wwwme.html.

Set up Assignment Project Directories

Like you created a directory structure in your development environment to work on your code, you also need to create a matching directory structure on the Student Server where you will upload your code for grading.

  1. Prepare your student account for uploading assignments.

    Each assignment will be uploaded to a unique directory. This will allow the student gallery to work and keep your assignments separated.

    The following process can only be completed after you have established your student account.

    Using your preferred Secure File Transfer program (Fugu, Secure Shell File Transfer Client, Filezilla, etc.):

    1. Inside your public_html directory on the student server create a "2009fall" directory.
    2. Inside the "2009fall" directory create a "cs5513" directory.
    3. Inside the "cs5513" create eight directories "assn01" through "assn18".
    4. Your end results should look like in your "cs5513" directory.