<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet href="http://feeds.feedburner.com/~d/styles/rss2full.xsl" type="text/xsl" media="screen"?><?xml-stylesheet href="http://feeds.feedburner.com/~d/styles/itemcontent.css" type="text/css" media="screen"?><rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0">

<channel>
	<title>Aldenta: Handcrafting the Web</title>
	
	<link>http://www.aldenta.com</link>
	<description>Handcrafting the Web by John Ford</description>
	<pubDate>Thu, 25 Sep 2008 19:38:26 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6.2</generator>
	<language>en</language>
			<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" href="http://feeds.feedburner.com/Aldenta" type="application/rss+xml" /><item>
		<title>Phusion Passenger (mod_rails) Memory Management</title>
		<link>http://feeds.feedburner.com/~r/Aldenta/~3/403082307/</link>
		<comments>http://www.aldenta.com/2008/09/25/phusion-passenger-mod_rails-memory-management/#comments</comments>
		<pubDate>Thu, 25 Sep 2008 19:38:26 +0000</pubDate>
		<dc:creator>John Ford</dc:creator>
		
		<category><![CDATA[Technology]]></category>

		<category><![CDATA[Tips]]></category>

		<category><![CDATA[Apache]]></category>

		<category><![CDATA[Linux]]></category>

		<category><![CDATA[mod_rails]]></category>

		<category><![CDATA[Phusion Passenger]]></category>

		<category><![CDATA[Ruby on Rails]]></category>

		<guid isPermaLink="false">http://www.aldenta.com/?p=72</guid>
		<description><![CDATA[I&#8217;ve been using Phusion Passenger (mod_rails) for about a month to run a production and staging machine with a Ruby on Rails app.  So far things have been going really well.  Installation was smooth and it&#8217;s been really peppy.
However, the app just got hit by a lot of people at once and stopped [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve been using <a href="http://www.modrails.com/">Phusion Passenger (mod_rails)</a> for about a month to run a production and staging machine with a Ruby on Rails app.  So far things have been going really well.  Installation was smooth and it&#8217;s been really peppy.</p>
<p>However, the app just got hit by a lot of people at once and stopped responding.  I didn&#8217;t realize the default setting in Passenger is to spawn a max of 6 Rails instances simultaneously.  The documentation recommends 2 instances for a VPS with 256MB of memory (almost exactly what I&#8217;m running).  So, my server spawned the max and then ran out of memory which made it unresponsive.</p>
<p>I hit a couple of small walls while getting  this working so I wanted to share the process.</p>
<p>On linux based machines you can run <code><a href="http://www.modrails.com/documentation/Users%20guide.html#_inspecting_phusion_passenger_s_internal_status">passenger-status</a></code> to find out the number of Phusion Passenger application instances that are running.</p>
<pre>
----------- General information -----------
max      = 6
count    = 3
active   = 0
inactive = 3

----------- Applications -----------
/u/apps/myapp/releases/20080921194503:
  PID: 8792      Sessions: 0
  PID: 8789      Sessions: 0
  PID: 8784      Sessions: 0
</pre>
<p>You can see that the output show the default max value of 6.  To change this number you need to edit your httpd.conf and set the <code><a href="http://www.modrails.com/documentation/Users%20guide.html#_passengermaxpoolsize_lt_integer_gt">PassengerMaxPoolSize</a></code> option. <strong>Make sure this is outside of your VirtualHost or it won&#8217;t work</strong>&#8230; which, I obviously ran into.  It should probably look something like this:</p>
<pre>
LoadModule passenger_module /usr/local/lib/ruby/gems/1.8/gems/passenger-2.0.3/ext/apache2/mod_passenger.so
PassengerRoot /usr/local/lib/ruby/gems/1.8/gems/passenger-2.0.3
PassengerRuby /usr/local/bin/ruby
PassengerMaxPoolSize 2
</pre>
<p>Once you&#8217;re done with that restart Apache and Passenger.  Now, to take a look at the memory that Apache and Passenger are using run <code><a href="http://www.modrails.com/documentation/Users%20guide.html#_inspecting_memory_usage">passenger-memory-stats</a></code>.  You&#8217;ll see something like this:</p>
<pre>
------------- Apache processes -------------
PID   PPID  Threads  VMSize   Private  Name
--------------------------------------------
5842  1     1        10.3 MB  0.2 MB   /usr/local/apache2/bin/httpd -k start
8757  5842  1        10.4 MB  0.3 MB   /usr/local/apache2/bin/httpd -k start
8784  5842  1        10.4 MB  0.2 MB   /usr/local/apache2/bin/httpd -k start
9137  5842  1        10.3 MB  0.2 MB   /usr/local/apache2/bin/httpd -k start
9141  5842  1        10.4 MB  0.2 MB   /usr/local/apache2/bin/httpd -k start
9143  5842  1        10.3 MB  0.2 MB   /usr/local/apache2/bin/httpd -k start
9147  5842  1        10.4 MB  0.3 MB   /usr/local/apache2/bin/httpd -k start
9155  5842  1        10.4 MB  0.3 MB   /usr/local/apache2/bin/httpd -k start
9163  5842  1        10.4 MB  0.3 MB   /usr/local/apache2/bin/httpd -k start
9506  5842  1        10.4 MB  0.3 MB   /usr/local/apache2/bin/httpd -k start
9510  5842  1        10.3 MB  0.2 MB   /usr/local/apache2/bin/httpd -k start
9623  5842  1        10.4 MB  0.3 MB   /usr/local/apache2/bin/httpd -k start
9629  5842  1        10.3 MB  0.2 MB   /usr/local/apache2/bin/httpd -k start
9631  5842  1        10.3 MB  0.2 MB   /usr/local/apache2/bin/httpd -k start
9633  5842  1        10.3 MB  0.2 MB   /usr/local/apache2/bin/httpd -k start
9750  5842  1        10.3 MB  0.2 MB   /usr/local/apache2/bin/httpd -k start
9752  5842  1        10.3 MB  0.2 MB   /usr/local/apache2/bin/httpd -k start
9865  5842  1        10.3 MB  0.2 MB   /usr/local/apache2/bin/httpd -k start
### Processes: 18
### Total private dirty RSS: 4.36 MB

-------- Passenger processes ---------
PID   Threads  VMSize   Private  Name
--------------------------------------
8749  20       6.0 MB   0.5 MB   /usr/local/lib/ruby/gems/1.8/gems/passenger-2.0.3/ext/apache2/ApplicationPoolServerExecutable 0 /usr/local/lib/ruby/gems/1.8/gems/passenger-2.0.3/bin/passenger-spawn-server  /usr/local/bin/ruby  /tmp/passenger_status.5842.fifo
8758  1        5.5 MB   2.9 MB   Passenger spawn server
8789  1        61.6 MB  53.7 MB  Rails: /u/apps/myapp/releases/20080921194503
8792  1        61.8 MB  53.9 MB  Rails: /u/apps/myapp/releases/20080921194503
### Processes: 4
### Total private dirty RSS: 111.03 MB
</pre>
<p>Now, that may look like a lot of Apache instances running but you can see the &#8220;Total private dirty RSS&#8221; (<strong>real</strong> memory usage of the processes) is only 4.36 MB which is nothing in the scheme of things.  More importantly, the real memory that the Rails instances are taking is 111.03 MB which my server can handle.  Remember, you&#8217;ll probably have MySQL and other applications running along with these processes, so don&#8217;t up the <code>PassengerMaxPoolSize</code> to the point of bringing your server to its knees.</p>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~f/Aldenta?a=nF6IL"><img src="http://feeds.feedburner.com/~f/Aldenta?i=nF6IL" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/Aldenta?a=SQhfL"><img src="http://feeds.feedburner.com/~f/Aldenta?i=SQhfL" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/Aldenta?a=uBAkl"><img src="http://feeds.feedburner.com/~f/Aldenta?i=uBAkl" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/Aldenta?a=ruR4L"><img src="http://feeds.feedburner.com/~f/Aldenta?i=ruR4L" border="0"></img></a>
</div>]]></content:encoded>
			<wfw:commentRss>http://www.aldenta.com/2008/09/25/phusion-passenger-mod_rails-memory-management/feed/</wfw:commentRss>
		<feedburner:origLink>http://www.aldenta.com/2008/09/25/phusion-passenger-mod_rails-memory-management/</feedburner:origLink></item>
		<item>
		<title>Happy Birthday WordPress!</title>
		<link>http://feeds.feedburner.com/~r/Aldenta/~3/298817214/</link>
		<comments>http://www.aldenta.com/2008/05/27/happy-birthday-wordpress/#comments</comments>
		<pubDate>Tue, 27 May 2008 04:00:44 +0000</pubDate>
		<dc:creator>John Ford</dc:creator>
		
		<category><![CDATA[Horn Tooting]]></category>

		<guid isPermaLink="false">http://www.aldenta.com/?p=71</guid>
		<description><![CDATA[
photo by kirtaph
A very happy 5th birthday to WordPress.  Thank you for the late nights and all of the love you&#8217;ve given me.
Update: And a happy 3rd birthday to the swissmiss blog!
]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.flickr.com/photos/kirtaph/2245666305/sizes/m/#cc_license"><img src="http://farm3.static.flickr.com/2191/2245666305_272f1dd62c.jpg" alt="Happy 5th Birthday" /></a><br />
<small>photo by <a href="http://www.flickr.com/photos/kirtaph/">kirtaph</a></small></p>
<p>A very happy 5th birthday to <a href="http://wordpress.org/">WordPress</a>.  Thank you for the late nights and all of the love you&#8217;ve given me.</p>
<p><strong>Update</strong>: And a happy 3rd birthday to the <a href="http://swissmiss.typepad.com/weblog/2008/05/swissmiss-3.html">swissmiss blog</a>!</p>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~f/Aldenta?a=OkFXpH"><img src="http://feeds.feedburner.com/~f/Aldenta?i=OkFXpH" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/Aldenta?a=04KtKH"><img src="http://feeds.feedburner.com/~f/Aldenta?i=04KtKH" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/Aldenta?a=7MmJOh"><img src="http://feeds.feedburner.com/~f/Aldenta?i=7MmJOh" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/Aldenta?a=BTttvH"><img src="http://feeds.feedburner.com/~f/Aldenta?i=BTttvH" border="0"></img></a>
</div>]]></content:encoded>
			<wfw:commentRss>http://www.aldenta.com/2008/05/27/happy-birthday-wordpress/feed/</wfw:commentRss>
		<feedburner:origLink>http://www.aldenta.com/2008/05/27/happy-birthday-wordpress/</feedburner:origLink></item>
		<item>
		<title>WordPress 2.5 is officially out</title>
		<link>http://feeds.feedburner.com/~r/Aldenta/~3/260365393/</link>
		<comments>http://www.aldenta.com/2008/03/29/wordpress-25-is-officially-out/#comments</comments>
		<pubDate>Sat, 29 Mar 2008 19:24:31 +0000</pubDate>
		<dc:creator>John Ford</dc:creator>
		
		<category><![CDATA[Programming]]></category>

		<category><![CDATA[Technology]]></category>

		<category><![CDATA[Tools]]></category>

		<category><![CDATA[cms]]></category>

		<category><![CDATA[PHP]]></category>

		<category><![CDATA[web development]]></category>

		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://www.aldenta.com/2008/03/29/wordpress-25-is-officially-out/</guid>
		<description><![CDATA[
It&#8217;s official. WordPress 2.5 is now out with a crisp new admin interface and great new features.  They&#8217;ve even redone the website.  Here are some of my favorite changes:

A beautiful new admin interface.
A much more intuitive flow when making a post.
Multiple instant file uploads.
Thumbnail, medium and full-sized image options (and you can change [...]]]></description>
			<content:encoded><![CDATA[<p><img src='http://www.aldenta.com/wp-content/uploads/wordpress_25.png' alt='WordPress 2.5' /></p>
<p><a href="http://wordpress.org/development/2008/03/wordpress-25-brecker/">It&#8217;s official</a>. WordPress 2.5 is now out with a crisp new admin interface and <a href="http://wordpress.org/development/2008/03/wordpress-25-rc2/">great new features</a>.  They&#8217;ve even <a href="http://wordpress.org/">redone the website</a>.  Here are some of my favorite changes:</p>
<ul>
<li>A beautiful new admin interface.</li>
<li>A much more intuitive flow when making a post.</li>
<li>Multiple instant file uploads.</li>
<li>Thumbnail, medium and full-sized image options (and you can change the image dimensions in Settings).</li>
<li>A quick way to display your photos as a gallery</li>
<li>Easily add/edit tags so no more plugins are needed.</li>
<li>A visual editor that doesn&#8217;t break your code (this one is great for my clients).</li>
<li>Search now looks at posts and pages.</li>
</ul>
<p>I&#8217;ve always thought that WordPress is one of the best blogging and content management systems.  It&#8217;s incredibly intuitive for the user (even more so now) and extremely flexible for developers.</p>
<p>Thanks so much to everyone who has helped with WordPress!</p>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~f/Aldenta?a=A0kejI"><img src="http://feeds.feedburner.com/~f/Aldenta?i=A0kejI" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/Aldenta?a=xw383I"><img src="http://feeds.feedburner.com/~f/Aldenta?i=xw383I" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/Aldenta?a=4Cd1Si"><img src="http://feeds.feedburner.com/~f/Aldenta?i=4Cd1Si" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/Aldenta?a=JFYhEI"><img src="http://feeds.feedburner.com/~f/Aldenta?i=JFYhEI" border="0"></img></a>
</div>]]></content:encoded>
			<wfw:commentRss>http://www.aldenta.com/2008/03/29/wordpress-25-is-officially-out/feed/</wfw:commentRss>
		<feedburner:origLink>http://www.aldenta.com/2008/03/29/wordpress-25-is-officially-out/</feedburner:origLink></item>
		<item>
		<title>Meetup: Free Web Consultation</title>
		<link>http://feeds.feedburner.com/~r/Aldenta/~3/227328529/</link>
		<comments>http://www.aldenta.com/2008/02/01/meetup-free-web-consultation/#comments</comments>
		<pubDate>Fri, 01 Feb 2008 16:17:12 +0000</pubDate>
		<dc:creator>John Ford</dc:creator>
		
		<category><![CDATA[Gatherings]]></category>

		<category><![CDATA[demystifying the web]]></category>

		<category><![CDATA[Glenn Ford]]></category>

		<category><![CDATA[Greensboro]]></category>

		<category><![CDATA[High Point University]]></category>

		<category><![CDATA[John Ford]]></category>

		<category><![CDATA[Meetup]]></category>

		<category><![CDATA[Triad]]></category>

		<category><![CDATA[workshop]]></category>

		<guid isPermaLink="false">http://www.aldenta.com/2008/02/01/meetup-free-web-consultation/</guid>
		<description><![CDATA[

Do you have a website you&#8217;re thinking about building? Want suggestions on how to make your site better? Stumped on a technical project? Have a web related question? Want to hear what questions other people are asking?
Bring your questions and ideas to the next meetup because we&#8217;ll be giving our free professional (and personal) advise. [...]]]></description>
			<content:encoded><![CDATA[<div class="vevent"><a href="http://www.meetup.com/r/inbound/0/0/shareimg/http://webdesign.meetup.com/97/?a=shareimg"><img  alt="Triad Web Meetup" src="http://img.meetup.com/img/logo/small/w/webdesign.png" style="float: right;" /></a>
<div class="description">
<p>Do you have a website you&#8217;re thinking about building? Want suggestions on how to make your site better? Stumped on a technical project? Have a web related question? Want to hear what questions other people are asking?</p>
<p>Bring your questions and ideas to the next meetup because we&#8217;ll be giving our free professional (and personal) advise. We&#8217;ll answer questions, give pointers, and get feedback from the rest of the group. We&#8217;ll try to give 10-15 minutes per question to get through as many as we can. Any web related (or technology related) question is welcome!</p>
<p>Even if you&#8217;re not asking a question make sure you join because it&#8217;s a great opportunity to hear website tips, design tricks, suggestions and expand your thinking.</p>
</div>
<p>What: <span class="summary">Free Web Consultation</span><br />
When: <abbr class="dtstart" title="20070213T1900-0500">February, 13th 2008 7:00pm</abbr> - <abbr class="dtend" title="20070213T2030-0500"> 8:30pm</abbr><br />
Where: <span class="location">High Point University, Congdon Hall - Room 138 (it&#8217;s the building with the purple awnings and signs will be posted to help guide you to the room)</span><br />
RSVP: <a class="url" href="http://webdesign.meetup.com/97/calendar/7075905/">Triad Web Meetup</a></p>
</div>
<p>These events are always free and everyone is welcome so please spread the word!</p>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~f/Aldenta?a=dmUxzI"><img src="http://feeds.feedburner.com/~f/Aldenta?i=dmUxzI" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/Aldenta?a=9OFUvI"><img src="http://feeds.feedburner.com/~f/Aldenta?i=9OFUvI" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/Aldenta?a=HoJD3i"><img src="http://feeds.feedburner.com/~f/Aldenta?i=HoJD3i" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/Aldenta?a=AuziyI"><img src="http://feeds.feedburner.com/~f/Aldenta?i=AuziyI" border="0"></img></a>
</div>]]></content:encoded>
			<wfw:commentRss>http://www.aldenta.com/2008/02/01/meetup-free-web-consultation/feed/</wfw:commentRss>
		<feedburner:origLink>http://www.aldenta.com/2008/02/01/meetup-free-web-consultation/</feedburner:origLink></item>
		<item>
		<title>Plugin Update: PDF Bookmark for Adobe Reader 8</title>
		<link>http://feeds.feedburner.com/~r/Aldenta/~3/204132447/</link>
		<comments>http://www.aldenta.com/2007/12/21/plugin-update-pdf-bookmark-for-adobe-reader-8/#comments</comments>
		<pubDate>Fri, 21 Dec 2007 16:36:13 +0000</pubDate>
		<dc:creator>John Ford</dc:creator>
		
		<category><![CDATA[Example Code]]></category>

		<category><![CDATA[Programming]]></category>

		<category><![CDATA[Tools]]></category>

		<category><![CDATA[Acrobat Reader]]></category>

		<category><![CDATA[Adobe Reader]]></category>

		<category><![CDATA[JavaScript]]></category>

		<category><![CDATA[Michael Hartl]]></category>

		<category><![CDATA[PDF]]></category>

		<category><![CDATA[plugin]]></category>

		<guid isPermaLink="false">http://www.aldenta.com/2007/12/21/plugin-update-pdf-bookmark-for-adobe-reader-8/</guid>
		<description><![CDATA[Some of you may already be using the PDF bookmark plugin I put together for Adobe Reader. It provides a quick and easy way to bookmark the page your on and return back to that spot later. It&#8217;s especially handy when reading large PDF books.
Thanks to the input of Michael Hartl, I updated the plugin [...]]]></description>
			<content:encoded><![CDATA[<p>Some of you may already be using the PDF bookmark plugin I put together for Adobe Reader. It provides a quick and easy way to bookmark the page your on and return back to that spot later. It&#8217;s especially handy when reading large PDF books.</p>
<p>Thanks to the input of <a href="http://michaelhartl.com/">Michael Hartl</a>, I updated the plugin to work properly with Adobe Reader 8.  Adobe turned on some security settings by default in the new Adobe Reader which broke the previous version of the plugin.</p>
<p>See the <a href="http://www.aldenta.com/2006/09/15/plugin-bookmark-a-page-in-your-pdf/">full details and download the plugin</a>.</p>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~f/Aldenta?a=6HLr4I"><img src="http://feeds.feedburner.com/~f/Aldenta?i=6HLr4I" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/Aldenta?a=lR1qtI"><img src="http://feeds.feedburner.com/~f/Aldenta?i=lR1qtI" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/Aldenta?a=vtQrZi"><img src="http://feeds.feedburner.com/~f/Aldenta?i=vtQrZi" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/Aldenta?a=mYKrwI"><img src="http://feeds.feedburner.com/~f/Aldenta?i=mYKrwI" border="0"></img></a>
</div>]]></content:encoded>
			<wfw:commentRss>http://www.aldenta.com/2007/12/21/plugin-update-pdf-bookmark-for-adobe-reader-8/feed/</wfw:commentRss>
		<feedburner:origLink>http://www.aldenta.com/2007/12/21/plugin-update-pdf-bookmark-for-adobe-reader-8/</feedburner:origLink></item>
		<item>
		<title>Installing ImageMagick/RMagick on Leopard</title>
		<link>http://feeds.feedburner.com/~r/Aldenta/~3/190826807/</link>
		<comments>http://www.aldenta.com/2007/11/26/installing-imagemagickrmagick-on-leopard/#comments</comments>
		<pubDate>Mon, 26 Nov 2007 18:08:32 +0000</pubDate>
		<dc:creator>John Ford</dc:creator>
		
		<category><![CDATA[Programming]]></category>

		<category><![CDATA[Tips]]></category>

		<category><![CDATA[ImageMagick]]></category>

		<category><![CDATA[Leopard]]></category>

		<category><![CDATA[OnRails.org]]></category>

		<category><![CDATA[RMagick]]></category>

		<category><![CDATA[Ruby on Rails]]></category>

		<category><![CDATA[Solomon White]]></category>

		<guid isPermaLink="false">http://www.aldenta.com/2007/11/26/installing-imagemagickrmagick-on-leopard/</guid>
		<description><![CDATA[I&#8217;ve heard many horror stories of developers trying to install ImageMagick/RMagick to manipulate images.  Fortunately, when I needed to install RMagick to use with the attachment_fu plugin, I ran across a fantastic script at OnRails.org by Solomon White (many thanks).  It gave the steps to install RMagick from source without MacPorts or Fink.
I [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve heard many horror stories of developers trying to install ImageMagick/RMagick to manipulate images.  Fortunately, when I needed to install RMagick to use with the <a href="http://svn.techno-weenie.net/projects/plugins/attachment_fu/">attachment_fu plugin</a>, I ran across <a href="http://onrails.org/articles/2007/11/03/installing-rmagick-on-leopard-without-macports-or-fink">a fantastic script</a> at <a href="http://onrails.org/">OnRails.org</a> by Solomon White (many thanks).  It gave the steps to install RMagick from source without MacPorts or Fink.</p>
<p>I made the following minor changes to get it working for me and posted the script below.</p>
<ul>
<li>Changed &#8216;wget&#8217; to &#8216;curl -O&#8217;</li>
<li>Updated a couple of links that weren&#8217;t working for me</li>
<li>Updated sourceforge links to the east coast</li>
<li>Updated links to latest version of source code (as of today)</li>
</ul>
<pre>
#!/bin/sh
curl -O http://download.savannah.gnu.org/releases/freetype/freetype-2.3.5.tar.gz
tar xzvf freetype-2.3.5.tar.gz
cd freetype-2.3.5
./configure --prefix=/usr/local
make
sudo make install
cd ..

curl -O http://superb-east.dl.sourceforge.net/sourceforge/libpng/libpng-1.2.23.tar.bz2
tar jxvf libpng-1.2.23.tar.bz2
cd libpng-1.2.23
./configure --prefix=/usr/local
make
sudo make install
cd ..

curl -O http://www.ijg.org/files/jpegsrc.v6b.tar.gz
tar xzvf jpegsrc.v6b.tar.gz
cd jpeg-6b
ln -s `which glibtool` ./libtool
export MACOSX_DEPLOYMENT_TARGET=10.5
./configure --enable-shared --prefix=/usr/local
make
sudo make install
cd ..

curl -O ftp://ftp.remotesensing.org/libtiff/tiff-3.8.2.tar.gz
tar xzvf tiff-3.8.2.tar.gz
cd tiff-3.8.2
./configure --prefix=/usr/local
make
sudo make install
cd ..

curl -O http://superb-east.dl.sourceforge.net/sourceforge/wvware/libwmf-0.2.8.4.tar.gz
tar xzvf libwmf-0.2.8.4.tar.gz
cd libwmf-0.2.8.4
make clean
./configure
make
sudo make install
cd ..

curl -O http://www.littlecms.com/lcms-1.17.tar.gz
tar xzvf lcms-1.17.tar.gz
cd lcms-1.17
make clean
./configure
make
sudo make install
cd ..

curl -O http://superb-east.dl.sourceforge.net/sourceforge/ghostscript/ghostscript-8.61.tar.gz
tar zxvf ghostscript-8.61.tar.gz
cd ghostscript-8.61/
./configure  --prefix=/usr/local
make
sudo make install
cd ..

curl -O http://mirror.cs.wisc.edu/pub/mirrors/ghost/GPL/current/ghostscript-fonts-std-8.11.tar.gz
tar zxvf ghostscript-fonts-std-8.11.tar.gz
sudo mv fonts /usr/local/share/ghostscript

curl -O ftp://ftp.imagemagick.org/pub/ImageMagick/ImageMagick-6.3.7-1.tar.gz
tar xzvf ImageMagick-6.3.7-1.tar.gz
cd ImageMagick-6.3.7
export CPPFLAGS=-I/usr/local/include
export LDFLAGS=-L/usr/local/lib
./configure --prefix=/usr/local --disable-static --with-modules --without-perl --without-magick-plus-plus --with-quantum-depth=8 --with-gs-font-dir=/usr/local/share/ghostscript/fonts
make
sudo make install
cd ..
</pre>
<p>To test that ImageMagick was installed properly you can check the version number.</p>
<pre>
convert -version

[you should see something like this]
Version: ImageMagick 6.3.7 11/26/07 Q8 http://www.imagemagick.org
Copyright: Copyright (C) 1999-2007 ImageMagick Studio LLC
</pre>
<p>To test that ImageMagick is working properly you can run the following test.  It will create a copy of the ImageMagick logo.</p>
<pre>
convert logo: logo.gif
</pre>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~f/Aldenta?a=adYy8I"><img src="http://feeds.feedburner.com/~f/Aldenta?i=adYy8I" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/Aldenta?a=muWI1I"><img src="http://feeds.feedburner.com/~f/Aldenta?i=muWI1I" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/Aldenta?a=l2Kw0i"><img src="http://feeds.feedburner.com/~f/Aldenta?i=l2Kw0i" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/Aldenta?a=inmmAI"><img src="http://feeds.feedburner.com/~f/Aldenta?i=inmmAI" border="0"></img></a>
</div>]]></content:encoded>
			<wfw:commentRss>http://www.aldenta.com/2007/11/26/installing-imagemagickrmagick-on-leopard/feed/</wfw:commentRss>
		<feedburner:origLink>http://www.aldenta.com/2007/11/26/installing-imagemagickrmagick-on-leopard/</feedburner:origLink></item>
		<item>
		<title>The newest member of the crew</title>
		<link>http://feeds.feedburner.com/~r/Aldenta/~3/184946255/</link>
		<comments>http://www.aldenta.com/2007/11/14/the-newest-member-of-the-crew/#comments</comments>
		<pubDate>Thu, 15 Nov 2007 00:29:06 +0000</pubDate>
		<dc:creator>John Ford</dc:creator>
		
		<category><![CDATA[General]]></category>

		<category><![CDATA[Horn Tooting]]></category>

		<category><![CDATA[business process]]></category>

		<category><![CDATA[collaboration]]></category>

		<category><![CDATA[Glenn Ford]]></category>

		<category><![CDATA[Glenn Fu]]></category>

		<category><![CDATA[Ruby on Rails]]></category>

		<guid isPermaLink="false">http://www.aldenta.com/2007/11/14/the-newest-member-of-the-crew/</guid>
		<description><![CDATA[
For years my brother, Glenn, and I have talked about working together. I&#8217;m ecstatic to say that it finally happened!  Glenn started his own business, Glenn Fu, and we&#8217;re teaming up on projects.  He&#8217;s a strong developer and getting his feet wet in the small-business/freelance world.  Right away, he picked up Ruby [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.flickr.com/photos/john-ford/2025493822/" title="Glenn Fu &amp; Aldenta by John Ford, on Flickr"><img src="http://farm3.static.flickr.com/2173/2025493822_f61a31ff20.jpg" width="500" height="375" alt="Glenn Fu &amp; Aldenta" /></a></p>
<p>For years my brother, Glenn, and I have talked about working together. I&#8217;m ecstatic to say that it finally happened!  Glenn started his own business, <a href="http://www.glennfu.com/">Glenn Fu</a>, and we&#8217;re teaming up on projects.  He&#8217;s a strong developer and getting his feet wet in the small-business/freelance world.  Right away, he picked up <a href="http://www.rubyonrails.org/">Ruby on Rails</a> and is making sure our code is solid by keeping us on track with <acronym title="Behavior Driven Development">BDD</acronym> and using <a href="http://rspec.rubyforge.org/">RSpec</a>.  It&#8217;s extremely refreshing working with Glenn who makes me challenge my business process and development style.  Every business could use that type of shot in the arm.</p>
<p>I&#8217;m so happy working with you Bro!</p>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~f/Aldenta?a=D4XbDI"><img src="http://feeds.feedburner.com/~f/Aldenta?i=D4XbDI" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/Aldenta?a=Vu3IiI"><img src="http://feeds.feedburner.com/~f/Aldenta?i=Vu3IiI" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/Aldenta?a=Rh2CNi"><img src="http://feeds.feedburner.com/~f/Aldenta?i=Rh2CNi" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/Aldenta?a=4vXX6I"><img src="http://feeds.feedburner.com/~f/Aldenta?i=4vXX6I" border="0"></img></a>
</div>]]></content:encoded>
			<wfw:commentRss>http://www.aldenta.com/2007/11/14/the-newest-member-of-the-crew/feed/</wfw:commentRss>
		<feedburner:origLink>http://www.aldenta.com/2007/11/14/the-newest-member-of-the-crew/</feedburner:origLink></item>
		<item>
		<title>Sir Ken Robinson: Do schools kill creativity?</title>
		<link>http://feeds.feedburner.com/~r/Aldenta/~3/176215544/</link>
		<comments>http://www.aldenta.com/2007/10/28/sir-ken-robinson-do-schools-kill-creativity/#comments</comments>
		<pubDate>Sun, 28 Oct 2007 13:21:55 +0000</pubDate>
		<dc:creator>John Ford</dc:creator>
		
		<category><![CDATA[General]]></category>

		<category><![CDATA[children]]></category>

		<category><![CDATA[creativity]]></category>

		<category><![CDATA[education]]></category>

		<category><![CDATA[Sir Ken Robinson]]></category>

		<category><![CDATA[TEDTalks]]></category>

		<guid isPermaLink="false">http://www.aldenta.com/2007/10/28/sir-ken-robinson-do-schools-kill-creativity/</guid>
		<description><![CDATA[
&#8220;Creativity expert Sir Ken Robinson challenges the way we&#8217;re educating our children. He champions a radical rethink of our school systems, to cultivate creativity and acknowledge multiple types of intelligence.&#8221;
(via swissmiss)
]]></description>
			<content:encoded><![CDATA[<p><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="320" height="285" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="id" value="VE_Player" /><param name="align" value="middle" /><param name="FlashVars" value="bgColor=FFFFFF&amp;file=http://static.videoegg.com/ted/movies/SIRKENROBINSON_high.flv&amp;autoPlay=false&amp;fullscreenURL=http://static.videoegg.com/ted/flash/fullscreen.html&amp;forcePlay=false&amp;logo=&amp;allowFullscreen=true" /><param name="quality" value="high" /><param name="allowScriptAccess" value="always" /><param name="bgcolor" value="#FFFFFF" /><param name="scale" value="noscale" /><param name="wmode" value="window" /><param name="src" value="http://static.videoegg.com/ted/flash/loader.swf" /><embed type="application/x-shockwave-flash" width="320" height="285" src="http://static.videoegg.com/ted/flash/loader.swf" wmode="window" scale="noscale" bgcolor="#FFFFFF" allowscriptaccess="always" quality="high" flashvars="bgColor=FFFFFF&amp;file=http://static.videoegg.com/ted/movies/SIRKENROBINSON_high.flv&amp;autoPlay=false&amp;fullscreenURL=http://static.videoegg.com/ted/flash/fullscreen.html&amp;forcePlay=false&amp;logo=&amp;allowFullscreen=true" align="middle"></embed></object></p>
<blockquote><p>&#8220;Creativity expert <a href="http://www.ted.com/index.php/speakers/view/id/69">Sir Ken Robinson</a> challenges the way we&#8217;re educating our children. He champions a radical rethink of our school systems, to cultivate creativity and acknowledge multiple types of intelligence.&#8221;</p></blockquote>
<p><em>(via <a href="http://swissmiss.typepad.com/weblog/2007/10/sir-ken-robinso.html">swissmiss</a>)</em></p>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~f/Aldenta?a=E9OjfI"><img src="http://feeds.feedburner.com/~f/Aldenta?i=E9OjfI" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/Aldenta?a=1ONyHI"><img src="http://feeds.feedburner.com/~f/Aldenta?i=1ONyHI" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/Aldenta?a=9qGfci"><img src="http://feeds.feedburner.com/~f/Aldenta?i=9qGfci" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/Aldenta?a=AoNe6I"><img src="http://feeds.feedburner.com/~f/Aldenta?i=AoNe6I" border="0"></img></a>
</div>]]></content:encoded>
			<wfw:commentRss>http://www.aldenta.com/2007/10/28/sir-ken-robinson-do-schools-kill-creativity/feed/</wfw:commentRss>
		<feedburner:origLink>http://www.aldenta.com/2007/10/28/sir-ken-robinson-do-schools-kill-creativity/</feedburner:origLink></item>
		<item>
		<title>Getting Apache &amp; PHP to work with Leopard (OS X 10.5)</title>
		<link>http://feeds.feedburner.com/~r/Aldenta/~3/176095289/</link>
		<comments>http://www.aldenta.com/2007/10/28/getting-apache-php-to-work-with-leopard-os-x-105/#comments</comments>
		<pubDate>Sun, 28 Oct 2007 05:13:46 +0000</pubDate>
		<dc:creator>John Ford</dc:creator>
		
		<category><![CDATA[Tips]]></category>

		<category><![CDATA[403 Forbidden]]></category>

		<category><![CDATA[Apache]]></category>

		<category><![CDATA[Leopard]]></category>

		<category><![CDATA[OS X]]></category>

		<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://www.aldenta.com/2007/10/28/getting-apache-php-to-work-with-leopard-os-x-105/</guid>
		<description><![CDATA[I ran into a snag today while trying to get the websites on my local machine running with Leopard.  The first thing was that the config file in the new version of Apache is in a different location (/etc/apache2/httpd.conf instead of /etc/httpd/httpd.conf).  Once I changed the settings I kept getting 403 Forbidden messages [...]]]></description>
			<content:encoded><![CDATA[<p>I ran into a snag today while trying to get the websites on my local machine running with Leopard.  The first thing was that the config file in the new version of Apache is in a different location (<em>/etc/apache2/httpd.conf</em> instead of <em>/etc/httpd/httpd.conf</em>).  Once I changed the settings I kept getting 403 Forbidden messages every time I loaded a page (the default in the new httpd.conf is &#8216;Deny from all&#8217; for all directories).  I finally figured things out and here&#8217;s what I did:</p>
<ol>
<li>Open the httpd.conf file for editing (<em>sudo vi /etc/apache2/httpd.conf</em>).</li>
<li>Uncomment the line<br />
<em>LoadModule php5_module &nbsp; &nbsp;    libexec/apache2/libphp5.so</em><br />
by removing the &#8216;#&#8217; from the front of the line. This will enable PHP 5.  The php5.conf file is loaded automatically from <em>/private/etc/apache2/other/</em>.</li>
<li>Create a file called _sites.conf in your Sites folder. I like to keep my site configuration in the Sites folder to make it more easily accessible as I&#8217;m doing development.</li>
<li>Add the following line to the very bottom of the httpd.conf file:<br />
<em>Include /Users/yourusername/Sites/_sites.conf</em><br />
That will make Apache load all the configuration settings from your _sites.conf file.</li>
<li>Add the following information to your _sites.conf file.</li>
</ol>
<pre>
# Enable named virtual hosts
NameVirtualHost *:80

# Override the default httpd.conf directives.  Make sure to
# use 'Allow from all' to prevent 403 Forbidden message.
&lt;Directory />
	Options ExecCGI FollowSymLinks
	AllowOverride all
	Allow from all
&lt;/Directory>

# A basic virtual host config
&lt;VirtualHost *:80>
	# Add yoursite to your /etc/hosts file so you can
	# type it directly in your browser
	ServerName yoursite

	DocumentRoot /Users/yourusername/Sites/yoursite
&lt;/VirtualHost>
</pre>
<p>Now you just need to start/restart Apache and the sites should load.  PHP should be working and no more 403 Forbidden message.</p>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~f/Aldenta?a=oJirKI"><img src="http://feeds.feedburner.com/~f/Aldenta?i=oJirKI" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/Aldenta?a=Uve96I"><img src="http://feeds.feedburner.com/~f/Aldenta?i=Uve96I" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/Aldenta?a=Q0V3Pi"><img src="http://feeds.feedburner.com/~f/Aldenta?i=Q0V3Pi" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/Aldenta?a=li4i7I"><img src="http://feeds.feedburner.com/~f/Aldenta?i=li4i7I" border="0"></img></a>
</div>]]></content:encoded>
			<wfw:commentRss>http://www.aldenta.com/2007/10/28/getting-apache-php-to-work-with-leopard-os-x-105/feed/</wfw:commentRss>
		<feedburner:origLink>http://www.aldenta.com/2007/10/28/getting-apache-php-to-work-with-leopard-os-x-105/</feedburner:origLink></item>
		<item>
		<title>OS X Leopard</title>
		<link>http://feeds.feedburner.com/~r/Aldenta/~3/175594827/</link>
		<comments>http://www.aldenta.com/2007/10/26/os-x-leopard/#comments</comments>
		<pubDate>Fri, 26 Oct 2007 23:12:23 +0000</pubDate>
		<dc:creator>John Ford</dc:creator>
		
		<category><![CDATA[Technology]]></category>

		<category><![CDATA[Apple]]></category>

		<category><![CDATA[CompUSA]]></category>

		<category><![CDATA[Leopard]]></category>

		<category><![CDATA[OS X]]></category>

		<guid isPermaLink="false">http://www.aldenta.com/2007/10/26/os-x-leopard/</guid>
		<description><![CDATA[CompUSA is running a $30 rebate special today and tomorrow on OS X 10.5 (Leopard).  Now is a great time to pick up a copy if you&#8217;re planning on upgrading.  As you can see, I&#8217;ll be installing mine after I finish this post (and backup my stuff).

]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.compusa.com/">CompUSA</a> is running a $30 rebate special today and tomorrow on OS X 10.5 (Leopard).  Now is a great time to pick up a copy if you&#8217;re planning on upgrading.  As you can see, I&#8217;ll be installing mine after I finish this post (and backup my stuff).</p>
<p><img src='http://www.aldenta.com/wp-content/uploads/osx_leopard.jpg' alt='OS X Leopard' /></p>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~f/Aldenta?a=9qqfgI"><img src="http://feeds.feedburner.com/~f/Aldenta?i=9qqfgI" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/Aldenta?a=en5L7I"><img src="http://feeds.feedburner.com/~f/Aldenta?i=en5L7I" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/Aldenta?a=oEwPyi"><img src="http://feeds.feedburner.com/~f/Aldenta?i=oEwPyi" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/Aldenta?a=CjqtJI"><img src="http://feeds.feedburner.com/~f/Aldenta?i=CjqtJI" border="0"></img></a>
</div>]]></content:encoded>
			<wfw:commentRss>http://www.aldenta.com/2007/10/26/os-x-leopard/feed/</wfw:commentRss>
		<feedburner:origLink>http://www.aldenta.com/2007/10/26/os-x-leopard/</feedburner:origLink></item>
	</channel>
</rss>
