Here are some exercise to help one get use to programming on the ischool clusters.
Exercise
get warmed up on ischool.berkeley.edu
- login with your ischool account — you all have a
~/public_htmldirectory — e.g.,/home/rdhyee/public_html
- add test.php to your directory
~/public_html
<?php
echo “hello — how are you? This year is 2009″;
?>
See
http://people.ischool.berkeley.edu/~rdhyee/test.php
- download source code from Apress
in ~/public_html type
mkdir Book
cd Book
curl -o Source.zip http://www.apress.com/resource/bookfile/3901
unzip Source.zip
get the permissions right: chmod -R o+rX Ch* R*
get flickrsearch.php working in Chapter 6
http://people.ischool.berkeley.edu/~rdhyee/Book/Chapter06/flickrsearch.php
setfacl -m u:apache:r–,o:—,m:rwx flickrsearch.php
e.g., http://people.ischool.berkeley.edu/~rdhyee/Book/Chapter06/flickrsearch.php
Leave a Reply
You must be logged in to post a comment.