Here are some exercise to help one get use to programming on the ischool clusters.
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:
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_htmldirectory — e.g.,
- add test.php to your directory ~/public_html :
<?php echo "hello -- how are you? This year is 2010"; ?>
Downloading code for Pro Web 2.0 Mashups from Apress.
- Make a directory in ~/public_html by typing
mkdir ~/public_html/Book cd ~/public_html/Book
- now get the source code:
- 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
curl -o Source.zip http://www.apress.com/resource/bookfile/3901 unzip Source.zip
4 Responses to “S10 Programming Setup”
Leave a Reply
You must be logged in to post a comment.