10 Feb 2010 06:04 am

Here are some exercise to help one get use to programming on the ischool clusters.

Installing software

SSH clients

You might want to set up SSH / SCP clients for your local machines to enable command line access to ischool.berkeley.edu (or harbinger or people.ischool.berkeley.edu) and also GUI-based file transfers:

Windows: WinSCP
Mac: ssh built-inĀ  Fugu or Fetch for graphical file transfer.

Text editors

You might want to have a local editor to help you edit files instead of using the Unix based editors. There are many. On OS X, campus has a license for TextMate. I also enjoy the free Komodo Edit, which runs on multiple platforms.

Making Sure PHP is working for you on people.ischool.berkeley.edu

Get warmed up on ischool.berkeley.edu

  • login with your ischool account — you all have a ~/public_html directory — e.g., /home/rdhyee/public_html

Downloading code for Pro Web 2.0 Mashups from Apress.

  1. Make a directory in ~/public_html by typing
    mkdir ~/public_html/Book
    cd ~/public_html/Book
  2. now get the source code:
  3. curl -o Source.zip http://www.apress.com/resource/bookfile/3901
    unzip Source.zip
  4. get the permissions right:
    chmod -R o+rX Ch* R*
  5. get flickrsearch.php working in Chapter 6 http://people.ischool.berkeley.edu/~rdhyee/Book/Chapter06/flickrsearch.php:

    cd Chapter06
    setfacl -m u:apache:r--,o:---,m:rwx flickrsearch.php

4 Responses to “S10 Programming Setup”

  1. on 13 Feb 2010 at 10:14 pm emily

    FYI, the end of the curl command in step 2 is “…/3901”. (no period, no quotes, no ellipses)

  2. on 14 Feb 2010 at 7:18 pm ddt

    So, I’ve been trying to ssh into ischool.berkeley.edu and people.ischool.berkeley.edu using Terminal, Fugu, Transmit. On two different computers. I get all sorts of errors, but no access. Is this something we can do only when on AirBears? I don’t think that should be the case… .

  3. on 16 Feb 2010 at 10:54 am ddt

    Yup, seems you (or I, at least) need to be on AirBears.

    In Step 1, there needs to be a space after “cd” and before the tilde.

  4. on 16 Feb 2010 at 3:45 pm ddt

    Is it telling too much to say you need to redo the permissions change as a final-final step?

Trackback this Post | Feed on comments to this Post

Leave a Reply

You must be logged in to post a comment.