running a CentOS 5.2 server using VMWare Fusion on Mac OS X 10.5


  • An installation of VMWare Fusion Version 1.1 (62573)
  • A Mac w/ OS X 10.5.2 installed


  1. get CentOS
    a) Go to CentOS’s site and navigate to a download of this first install disk, e.g., “Downloads” -> “CentOS-5 ISOs” -> “i386” -> “” -> “CentOS-5.3-i386-bin-1of6.iso”.  I downloaded the torrent “CentOS-5.3-i386-bin-1to6.torrent”, but deselected all except the torrent for disk 1, i.e., it says “1to6”, but you can specify any or all of them, and we only need the first one.
  2. Once the iso is downloaded, launch VMware and create a new virtual machine
    a) Launch the wizard by clicking “File” -> “New…”
    b) Select “Linux” and “Red Hat Enterprise Linux 5” for the operating system and version, respectively, and click “Continue”
    c) Accept the defaults for name and location and continue
    d) Accept the default size for the virtual hard disk, e.g., 8GB, and continue
    e) Leave “Start virtual machine and install …” checked, select “Use operating system installation disk image file”, browse to the location of the iso you downoaded in step 1, and click “Finish”
  3. VMWare will now boot CentOS off the install disk.  Follow this guide ( ) regarding the configuration details of a bare-bones server installation.  Once the installation is complete, you’ll be prompted to reboot and, ba-boom, you’ll have a CentOS virtual machine running on your Mac.

possible next steps

building an RSS consolidator w/ Yahoo! Pipes


Consolidate the feeds from my Flickr, WordPress,, etc accounts


Use Yahoo! Pipes

Intended Audience:

Pipes newbies


Create a pipe

  1. Go to and log in, or create an account if you don’t already have one
  2. Click the “Create a pipe” button
  3. In the editor, click and drag a “Fetch Feed” object onto the stage
  4. Open a new browser tab or window, head over to, and log in, or create an account
  5. Click on the “Your photostream” link to view your photostream
  6. Scroll to the bottom of the page and copy the “Latest” RSS feed URL
  7. Switch back to the Pipes editor and paste the Flickr URL into the text field in the “Fetch Feed” object on the stage
  8. On the bottom on the “Fetch Feed” object, there is a circular attachment point.  Click on it an drag to start forming a new pipe
  9. Drag the pipe to the attachment point on top of the “Pipe Output” object at the bottom of the stage.
  10. Release the pipe when the “Pipe Output” attachment point glows.
  11. Click the “Save” button to name and save your new pipe
  12. Click the “Back to my Pipes” link next to the save button
  13. Click on the name of your pipe in the list of your pipes.  This will display the output of your pipe.
  14. Click the “More Options” link and then “Get as RSS” in the drop-down.  This will open the RSS feed in your browser if you’re using Safari or Firefox.
Build page
  1. Following an example from Rasmus Lerdorf’s Open Hack talk (, use simplexml to parse the RSS feed:
$url = '';
$xml = simplexml_load_file($url);
$num_items = count($xml->channel->item);
for($i = 0; $i channel->item[$i]->title;
    $date = $xml->channel->item[$i]->pubDate;
    $desc = $xml->channel->item[$i]->description;
    $link = $xml->channel->item[$i]->link;

   echo "
   echo "
<h3><a href='$link'>$title</a></h3>
   echo "$date";
   echo "$desc";
   echo "</div>
  1. Go back to the browser tab displaying the output from your pipe and copy the URL
  2. Paste this URL into your index.php file as the value for the variable “$url”
  3. Change the beginning of the URL from ‘feed://…&#8217; to ‘http://…&#8217;
  4. Load your page and you should see the output defined above.  Note: var_dump the ‘$xml’ object to see the other available fields.
Extend pipe
  1. Back in the Pipes editor, drag another “Fetch Feed” object onto the stage
  2. Copy and paste another RSS feed into it
  3. From under the “Operators” heading in the list on the left, drag out a “Union” object
  4. Run the pipes from the two “Fetch Feed” objects into the union and pipe the output to the “Pipe Output” object
  5. To add more feeds, drag out additional “Fetch Feed” objects and connect them to the union