<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	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:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Web Architecture, Web Production, Web Marketing &#187; OS X / Unix</title>
	<atom:link href="http://www.usercore.com/category/os-x-unix/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.usercore.com</link>
	<description>Matt MacDougall - attempting to grok users, management, marketing, linux, subversion, coldfusion, os x and web geekery</description>
	<lastBuildDate>Thu, 03 Jun 2010 16:24:24 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=abc</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Recursively Remove Files By Extension</title>
		<link>http://www.usercore.com/recursively-remove-files-by-extension/</link>
		<comments>http://www.usercore.com/recursively-remove-files-by-extension/#comments</comments>
		<pubDate>Wed, 21 May 2008 05:50:13 +0000</pubDate>
		<dc:creator>Matt</dc:creator>
				<category><![CDATA[OS X / Unix]]></category>
		<category><![CDATA[Server Architecture]]></category>
		<category><![CDATA[Shell Script]]></category>

		<guid isPermaLink="false">http://www.usercore.com/?p=66</guid>
		<description><![CDATA[I&#8217;m finally getting around to cleaning out dreamweaver LCK files from a large website.  We have one developer that uses dreamweaver so these files are useless.  So we&#8217;ve got these LCK files all over the place in this site.  I&#8217;m just sick of looking at them.
Enter a shell one liner &#8230;
find . [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m finally getting around to cleaning out dreamweaver LCK files from a large website.  We have one developer that uses dreamweaver so these files are useless.  So we&#8217;ve got these LCK files all over the place in this site.  I&#8217;m just sick of looking at them.</p>
<p>Enter a shell one liner &#8230;</p>
<pre>find . -name '*.LCK' -type f -print0 | xargs -0 /bin/rm -f</pre>
<p>That command recursively looks in and under the directory I&#8217;m in for any files with the LCK extension and removes them.</p>
<p>Here&#8217;s a shell script you can save that will prompt you for an extension name to remove.</p>
<pre>#!/bin/sh

echo "Enter Extension"
read filepattern
echo "Files matching *.$filepattern will be removed."
echo "Is this correct? y|n"
read confirmation

if  [ $confirmation = y ]; then
	find $PWD -name "*.$filepattern" -type f -print0 | xargs -0 /bin/rm -f
else
	echo "quitting"
	exit;
fi</pre>
<p>Or if you don&#8217;t want any confirmation of the file extensions you&#8217;re about to delete.</p>
<pre>#!/bin/sh

echo "Enter Extension"
read filepattern
find $PWD -name "*.$filepattern" -type f -print0 | xargs -0 /bin/rm -f</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.usercore.com/recursively-remove-files-by-extension/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>MacHeist Cheap OS X Software Bundle 2008</title>
		<link>http://www.usercore.com/macheist-cheap-os-x-software-bundle-2008/</link>
		<comments>http://www.usercore.com/macheist-cheap-os-x-software-bundle-2008/#comments</comments>
		<pubDate>Mon, 14 Jan 2008 16:57:34 +0000</pubDate>
		<dc:creator>Matt</dc:creator>
				<category><![CDATA[OS X / Unix]]></category>

		<guid isPermaLink="false">http://www.usercore.com/2008/01/14/macheist-cheap-os-x-software-bundle-2008/</guid>
		<description><![CDATA[MacHeist&#8217;s software bundle may or may not live up to all the hype it received over the past few months.  Either way, I do feel it&#8217;s a good deal on software.  Pixelmator is an incredibly cool photo editing application.  It&#8217;s hand down one of the most beautifully crafted software apps out there both in user [...]]]></description>
			<content:encoded><![CDATA[<p><a href="https://www.macheist.com/buy/invite/38525">MacHeist&#8217;s software bundle</a> may or may not live up to all the hype it received over the past few months.  Either way, I do feel it&#8217;s a good deal on software.  Pixelmator is an incredibly cool photo editing application.  It&#8217;s hand down one of the most beautifully crafted software apps out there both in user interface and stability.  The fact that it uses your video card&#8217;s ram in order to work with images makes things so incredibly responsive.  That app in itself makes the bundle&#8217;s price of $49 worth it if you&#8217;re specific imagery needs are met by Pixelmator.   Unfortunately for some of the more mundane stuff I find myself needing to do with images like prepping for the web are a bit cumbersome in Pixelmator if not impossible in some instances, but as a secondary image app for creativity, it&#8217;s really cool.  I will also find myself using CSSEdit and Snapz Pro X for work.  I do already have Xyle Scope for css but CSEdit may work out a little better.  And I do not have an app like Snapz pro.  1Password has been interesting for password management and I may use that permanently for my personal passwords.  For work, we&#8217;ve been using the website <a href="http://www.passpack.com">http://www.passpack.com</a> as a shared, web based password management system.  That&#8217;s really worked out well.  But I&#8217;ve been finding that for two different sets of passwords, it&#8217;s handy to have two totally separate systems.  As for the rest of the MacHeist apps, I think it&#8217;s mostly fluff but I&#8217;m sure there&#8217;s some useful stuff to be had.</p>
<p>As of the writing of this post, there&#8217;s 9 days left to get the bundle at $49.  <a href="https://www.macheist.com/buy/invite/38525">If you check it out at this link, I&#8217;ll get some freebies too</a> <img src='http://www.usercore.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://www.usercore.com/macheist-cheap-os-x-software-bundle-2008/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>I would watch Darth Vader make hash browns</title>
		<link>http://www.usercore.com/i-would-watch-darth-vader-make-hash-browns/</link>
		<comments>http://www.usercore.com/i-would-watch-darth-vader-make-hash-browns/#comments</comments>
		<pubDate>Wed, 19 Dec 2007 03:50:24 +0000</pubDate>
		<dc:creator>Matt</dc:creator>
				<category><![CDATA[Misc]]></category>
		<category><![CDATA[OS X / Unix]]></category>

		<guid isPermaLink="false">http://www.usercore.com/2007/12/18/i-would-watch-darth-vader-make-hash-browns/</guid>
		<description><![CDATA[Random post based on MacBreak ep. 70.
Thanks to Merlin Mann for the title, this should make it into his mannerisms (pdf).  If you&#8217;re someone who would watch Darth Vader make hash browns, you&#8217;ll love the Star Wars Holiday Special from 1978.  Holy smokes.  This could very well be the most wonderfully horrible [...]]]></description>
			<content:encoded><![CDATA[<p>Random post based on MacBreak ep. 70.</p>
<p>Thanks to Merlin Mann for the title, this should make it into <a href="http://twit.tv/merlin.pdf" target="_blank">his mannerisms</a> (pdf).  If you&#8217;re someone who would watch Darth Vader make hash browns, you&#8217;ll love the Star Wars Holiday Special from 1978.  Holy smokes.  This could very well be the most wonderfully horrible bit of video I&#8217;ve seen.  Wow.  Do a search for Star Wars Holiday Special on You Tube for clips.  Or you can find the full special floating around usenet.  Or if you&#8217;re campically challenged but still want to get in on the fun, <a href="http://shop.rifftrax.com/rifftrax/star-wars-holiday-special">check out this version from Rifftrax</a> to have the humor explained for you.</p>
<p>Just ran across this list of <a href="http://menu.jeweledplatypus.org/">OSX menu bar items</a>.  Great collection.  The menu bar app, Caffeine  was pointed out to me.  This great little app allows you to disable and enable your energy saver settings with a single click.  So basically you can be a good little monkey and use efficient energy saver settings most of the time but then if you need it, click the ZZZ in the menu bar to make sure your computer won&#8217;t go to sleep.  If you give a presentation or watch a movie with your laptop unplugged, you know the annoyance of your screen shutting off or your screen saver coming on.  I&#8217;ve enjoyed <a href="http://softbend.free.fr/himmelbar/" title="by SoftBend">HimmelBar</a> but don&#8217;t see a need for it in leopard with the stacks functionality.   If you&#8217;re still using Tiger, check it out.  iDiskMenu looks very cool as well as a menu app to mount and unmount webdav and ftp network shares.  Unfortunately this doesn&#8217;t fire up in Leopard but it gets me wanting something to easily manage network shares.  Also nfs support is a must for me.  I&#8217;ll need to figure that out.  Seems like a perfect job for the <a href="http://rixstep.com">RixStep guys</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.usercore.com/i-would-watch-darth-vader-make-hash-browns/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>ColdFusion 8 JRun Interface for OS X VMware Fusion</title>
		<link>http://www.usercore.com/coldfusion-8-jrun-interface-for-os-x-vmware-fusion/</link>
		<comments>http://www.usercore.com/coldfusion-8-jrun-interface-for-os-x-vmware-fusion/#comments</comments>
		<pubDate>Thu, 06 Dec 2007 05:16:56 +0000</pubDate>
		<dc:creator>Matt</dc:creator>
				<category><![CDATA[ColdFusion]]></category>
		<category><![CDATA[OS X / Unix]]></category>

		<guid isPermaLink="false">http://www.usercore.com/2007/12/05/coldfusion-8-jrun-interface-for-os-x-vmware-fusion/</guid>
		<description><![CDATA[I&#8217;ve got CF8 running in single server mode on my MacBook.  I also recently installed VMware Fusion for virtual machine support.  Running virtual machines creates separate lan networks on your system which can raise some networking issues with things like vpn&#8217;s and servers you may run that broadcast to all available ip addresses. [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve got CF8 running in single server mode on my MacBook.  I also recently installed VMware Fusion for virtual machine support.  Running virtual machines creates separate lan networks on your system which can raise some networking issues with things like vpn&#8217;s and servers you may run that broadcast to all available ip addresses.  JRun for running ColdFusion turned out to be one such problem server.</p>
<p>By default JRun tries to broadcast itself to all available ip addresses.  You can verify your setup by checking your jrun.xml file around line 385.</p>
<p><code>&lt;attribute name="deactivated"&gt;false&lt;/attribute&gt;</code><br />
<code>&lt;attribute name="interface"&gt;*&lt;/attribute&gt;</code><br />
<code>&lt;attribute name="port"&gt;51800&lt;/attribute&gt;</code></p>
<p>That star tells jrun to broadcast itself to all ip addresses hooked up on the machine.   I&#8217;ve even seen it crash trying to broadcast to a fake ip assigned to the firewire port (think that one&#8217;s an Apple bug).</p>
<p>Anyway, there&#8217;s really no need for most of us to broadcast to anything but 127.0.0.1, your localhost.  So change that star to 127.0.0.1 so that the complete line reads:</p>
<p><code>&lt;attribute name="interface"&gt;127.0.0.1&lt;/attribute&gt;</code></p>
<p>Hopefully this will save you a headache, if not now than in the future if you start adding networks to your machine.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.usercore.com/coldfusion-8-jrun-interface-for-os-x-vmware-fusion/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Leopard Time</title>
		<link>http://www.usercore.com/leopard-time/</link>
		<comments>http://www.usercore.com/leopard-time/#comments</comments>
		<pubDate>Fri, 19 Oct 2007 01:24:36 +0000</pubDate>
		<dc:creator>Matt</dc:creator>
				<category><![CDATA[OS X / Unix]]></category>

		<guid isPermaLink="false">http://www.usercore.com/2007/10/18/leopard-time/</guid>
		<description><![CDATA[Been under a rock this week?  Just woke up from that month long coma?  Don&#8217;t go back to sleep just yet, OS X Leopard arrives Oct. 26th.
Mac OS X v10.5 Leopard Family Pack $189 only! Order today for delivery on Oct. 26

]]></description>
			<content:encoded><![CDATA[<p>Been under a rock this week?  Just woke up from that month long coma?  Don&#8217;t go back to sleep just yet, OS X Leopard arrives Oct. 26th.</p>
<p><a href="http://www.dpbolvw.net/click-2460889-10506170">Mac OS X v10.5 Leopard Family Pack $189 only! Order today for delivery on Oct. 26</a><br />
<img src="http://www.tqlkg.com/image-2460889-10506170" border="0" height="1" width="1" /></p>
]]></content:encoded>
			<wfw:commentRss>http://www.usercore.com/leopard-time/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Reindex message database for Mail.app</title>
		<link>http://www.usercore.com/reindex-message-database-for-mailapp/</link>
		<comments>http://www.usercore.com/reindex-message-database-for-mailapp/#comments</comments>
		<pubDate>Thu, 26 Jul 2007 15:38:29 +0000</pubDate>
		<dc:creator>Matt</dc:creator>
				<category><![CDATA[OS X / Unix]]></category>

		<guid isPermaLink="false">http://www.usercore.com/2007/07/26/reindex-message-database-for-mailapp/</guid>
		<description><![CDATA[If you&#8217;ve got a huge mailbox in Apple&#8217;s Mail.app program, this line to be used in Terminal may help.  It will rebuild the index used by the sqlite database used by the application.  There is no need to run this less than every new hundred megs of mail or so &#8230; even that&#8217;s [...]]]></description>
			<content:encoded><![CDATA[<p>If you&#8217;ve got a huge mailbox in Apple&#8217;s Mail.app program, this line to be used in Terminal may help.  It will rebuild the index used by the sqlite database used by the application.  There is no need to run this less than every new hundred megs of mail or so &#8230; even that&#8217;s overkill.   And if you don&#8217;t have at least 500 megs, I doubt you&#8217;d notice any difference.  But if you&#8217;re one of those folks that Mail.app is just crawling for, this may be the answer:</p>
<pre>sqlite3 ~/Library/Mail/Envelope\ Index vacuum;</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.usercore.com/reindex-message-database-for-mailapp/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Camino 1.5 a fast Mac browser plus full form tabbing</title>
		<link>http://www.usercore.com/camino-15-a-fast-mac-browser-plus-full-form-tabbing/</link>
		<comments>http://www.usercore.com/camino-15-a-fast-mac-browser-plus-full-form-tabbing/#comments</comments>
		<pubDate>Thu, 14 Jun 2007 03:42:47 +0000</pubDate>
		<dc:creator>Matt</dc:creator>
				<category><![CDATA[OS X / Unix]]></category>

		<guid isPermaLink="false">http://www.usercore.com/2007/06/13/camino-15-a-fast-mac-browser-plus-full-form-tabbing/</guid>
		<description><![CDATA[The new version of Camino for OS X came out recently.  I&#8217;ve been using it for a week and am impressed by the speed, thin RAM usage and relaibility.  Plus I just noticed something I&#8217;ve sorely missed from Linux.
Linux or Windows users switching to OS X on a Mac will probably notice that [...]]]></description>
			<content:encoded><![CDATA[<p>The <a href="http://www.caminobrowser.org/">new version of Camino for OS X</a> came out recently.  I&#8217;ve been using it for a week and am impressed by the speed, thin RAM usage and relaibility.  Plus I just noticed something I&#8217;ve sorely missed from Linux.</p>
<p>Linux or Windows users switching to OS X on a Mac will probably notice that when using a web from and the tab key to move from one field to the next, you can&#8217;t tab to drop down lists.  This drove me nuts for the first few weeks I got serious about using a mac.  I ended up just re-learning how I&#8217;d fill in forms and begrudgingly put up with the speed bump of having to go to the mouse when I got to a drop down.</p>
<p>Not anymore!</p>
<p>Camino has an option in the web features tab of preferences that allows for tab selection of form buttons, pop-up menus and lists.  As well there&#8217;s a separate option to turn on selection of links and linked images.  This small feature alone makes me switching to Camino full time a compelling choice.</p>
<p><img src="/images/camino_web_features.gif" border="0" /></p>
<p>The main drawback to Camino is the lack extensions available for Firefox.  This is due to the user interface being written in OS X native Cocoa rather than Firefox&#8217;s XUL.  The site <a href="http://www.pimpmycamino.com/">PimpMyCamino</a> has a few extensions and enhancements available including a link to Camino builds specific to <a href="http://www2.hawaii.edu/~coreya/camino/Camino-1.5-CoreDuo.dmg">Intel Core Duo</a> and <a href="http://www2.hawaii.edu/~coreya/camino/Camino-1.5-C2D.dmg">Intel Core2 Duo</a> machines.  These versions don&#8217;t contain the extra bloat of the code for the PowerPC chips of old.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.usercore.com/camino-15-a-fast-mac-browser-plus-full-form-tabbing/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>ColdFusion 8 about 15 percent faster on OS X</title>
		<link>http://www.usercore.com/coldfusion-8-about-15-percent-faster-on-os-x/</link>
		<comments>http://www.usercore.com/coldfusion-8-about-15-percent-faster-on-os-x/#comments</comments>
		<pubDate>Fri, 08 Jun 2007 06:05:00 +0000</pubDate>
		<dc:creator>Matt</dc:creator>
				<category><![CDATA[ColdFusion]]></category>
		<category><![CDATA[OS X / Unix]]></category>

		<guid isPermaLink="false">http://www.usercore.com/2007/06/08/coldfusion-8-about-15-percent-faster-on-os-x/</guid>
		<description><![CDATA[I&#8217;ve been exclusively using CF8 for development, leaving testing environments on CF7.  In some rough testing, I&#8217;m clocking the new engine to be about 15 percent faster.  I&#8217;m still using JRun4 and Java 1.4.2 on my 
.  I expect even further speed increases on Linux where I do not need to use [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve been exclusively using CF8 for development, leaving testing environments on CF7.  In some rough testing, I&#8217;m clocking the new engine to be about 15 percent faster.  I&#8217;m still using JRun4 and Java 1.4.2 on my <script type="text/javascript" language="javascript" src="http://www.jdoqocy.com/placeholder-2175417?target=_blank&#038;text=%3Clink%3EIntel+Core+2+Duo+Macbook%3C%2Flink%3E&#038;mouseover=Y"></script></p>
<p><img src="http://www.awltovhc.com/image-2460889-10388557" width="1" height="1" border="0"/>.  I expect even further speed increases on Linux where I do not need to use such an old version of Java.  When I&#8217;ve bothered to time the improvements, I&#8217;m get roughly 15%, yet it feels like more.  Much of what I&#8217;m doing recently involves <a href="http://www.fusebox.org">working with Fusebox</a>, which when set in developer mode basically recompiles the whole site at every hit.  This can get pretty heavy when testing out new stuff.  I made the switch on my dev machine to CF8 about midway through the project and do really notice the improvement.  So even with the boring stuff like speed enhancements and stability, CF8 is looking well worth it.  I look forward to a public launch soon, problems with RC1 have been minor.</p>
<p><a href="http://www.anrdoezrs.net/click-2460889-10423101"></p>
<p><img src="http://www.awltovhc.com/image-2460889-10423101" width="150" height="40" alt="" border="0"/></a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.usercore.com/coldfusion-8-about-15-percent-faster-on-os-x/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>OS X Upgrading ColdFusion 7 to ColdFusion 8 with Apache2, Jrun4, MultiServer Config</title>
		<link>http://www.usercore.com/os-x-upgrading-coldfusion-7-to-coldfusion-8-with-apache2-jrun4-multiserver-config/</link>
		<comments>http://www.usercore.com/os-x-upgrading-coldfusion-7-to-coldfusion-8-with-apache2-jrun4-multiserver-config/#comments</comments>
		<pubDate>Thu, 31 May 2007 06:15:00 +0000</pubDate>
		<dc:creator>Matt</dc:creator>
				<category><![CDATA[ColdFusion]]></category>
		<category><![CDATA[OS X / Unix]]></category>

		<guid isPermaLink="false">http://www.usercore.com/2007/05/31/os-x-upgrading-coldfusion-7-to-coldfusion-8-with-apache2-jrun4-multiserver-config/</guid>
		<description><![CDATA[I like to have ColdFusion running on OSX as it would on my Linux server using mod_jrun thorough Apache2.  The CF8 install process wants me to uninstall Jrun4 but I&#8217;ll just move things out of the way.  As well Jrun still wants to use my default version of Java.  Since I don&#8217;t [...]]]></description>
			<content:encoded><![CDATA[<p>I like to have ColdFusion running on OSX as it would on my Linux server using mod_jrun thorough Apache2.  The CF8 install process wants me to uninstall Jrun4 but I&#8217;ll just move things out of the way.  As well Jrun still wants to use my default version of Java.  Since I don&#8217;t want my entire laptop using Java 1.4.2 which is required for Jrun as far as I know, I&#8217;ll need to modify the CF8 startup script.  As well, I&#8217;ll make sure to clean out my old mod_jrun config entries in my apache2 httpd.conf file.</p>
<p>I&#8217;ll include a detailed narrative with command line entries and code.  If you have any questions, I&#8217;ll monitor the comments on this page.  I hope your install goes well!<br />
<span id="more-21"></span><br />
Open a Terminal<br />
# Comments are preceded with a hash.</p>
<p># stop Jrun and thus the ColdFusion service.  I have a little program I can quit, you can always kill your jrun service directly from the OS X activity monitor by searching for Jrun &#8230; or stop it dead in the terminal by looking for it&#8217;s process id and killing that:</p>
<p>ps ax | grep -i jrun</p>
<p># 1118  p1  S      0:10.01 java142 -jar jrun.jar -start cfusion<br />
kill -9 1118</p>
<p># I use a &#8220;9&#8243; kill signal which is the equivalent of ripping the plug out of the wall <img src='http://www.usercore.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
<p># find and backup Jrun config files<br />
locate jrun<br />
location Jrun<br />
sudo cp /etc/httpd/jrun.conf /etc/httpd/jrun.conf.bak</p>
<p># I know there&#8217;s some pointers to Jrun in my apache httpd.conf file too, back that up just in case</p>
<p>sudo cp /etc/httpd/httpd.conf /etc/httpd/httpd.conf.bak</p>
<p># find ColdFusion related stuff to back it up<br />
locate coldfusion<br />
locate ColdFusion</p>
<p># go into main application dir running either as a standalone, under tomcat or in my case under Jrun<br />
cd /opt/Local<br />
tar zcvf Jrun4_cf7.tgz Jrun4</p>
<p># now move the Jrun4 directory temporarily<br />
sudo mv Jrun4 Jrun4.cf7</p>
<p># go into StartupItems and backup the startup script<br />
cd /Library/StartupItems<br />
sudo tar zcvf ColdFusionMX7Multi_good.tgz ColdFusionMX7Multi</p>
<p># find your CFIDE directory to backup if it&#8217;s outside of your coldfusion base directory, mines at /home/www/localhost/CFIDE</p>
<p>cd /home/www/localhost<br />
sudo tar zcvf CFIDE_cf7.tgz CFIDE</p>
<p># and now move it as well<br />
sudo mv CFIDE CFIDE.cf7</p>
<p># Step away from the terminal</p>
<p>Browse to your CF8 RC 1 installer: scorpio_RC_osx.zip and unzip it.</p>
<p>This creates ColdFusion 8 Installer.  Double click that.</p>
<p>Select your language, click &#8220;OK&#8221;</p>
<p>Accept the terms of the license agreement., Click &#8220;OK&#8221;</p>
<p>I select &#8220;Developer Edition&#8221; and do not enter a serial number.</p>
<p>I select the Multiserver Configuration.</p>
<p>The next screen is a warning asking if CF8 or Jrun4 is already installed.  Well Jrun4 is already installed but I&#8217;ve moved it out of the way and made a backup of any existing config files.  I answered &#8220;no&#8221; to this question.</p>
<p>Now I selected everything for installation, the docs, start cf on system init (this makes a script in /Library/StartupItems) and install LiveCycle Data Services ES.  I won&#8217;t use it personally in the near future but we&#8217;re doing a bunch of Flex stuff inhouse.</p>
<p>Now I&#8217;m asked for my Jrun4 directory.  I&#8217;ll specify the location of my original Jrun4 install which is now moved out of the way. /opt/local/Jrun4</p>
<p>I don&#8217;t have a serial number for LiveCycle Data Services so i leave this blank, click next, except this new agreement and click next again.</p>
<p>Now I&#8217;m asked if there&#8217;s an earlier version of ColdFusion on this machine, why yes there is.  Mine is at /opt/local/JRun4.cf7/servers/cfusion/cfusion-ear/cfusion-war/WEB-INF/cfusion/</p>
<p>The next step confirms that a previous version of ColdFusion is installed and asks if I&#8217;d like to use the built in webserver or configure my webserver for use with CF8.  I chose to configure my webserver.</p>
<p>On this next screen I click the Add button.  I select Apache from the Web Server dropdown, and end up leaving the defaults for my config directory and paths to the apache binaries.</p>
<p>** Note: these default locations for Apache are for the standard OS X install of apache 1.3 which I had previously dismantled and symlinked all the standard defaults to my apache2 install.  Your apache configuration directory is where you&#8217;ve got your httpd.conf file.  You can find the location of httpd and apachectl by typing the command &#8220;which httpd&#8221; or &#8220;which apachectl&#8221; in the terminal. **</p>
<p>The next screen asks where you&#8217;d like to place the coldfusion administrator (the CFIDE) directory.  I put it the same place as where i&#8217;d be able to see http://localhost in a  web browser.  You can put it anywhere that&#8217;s locally web accessible.</p>
<p>After choosing your cf admin directory click next again and you&#8217;ll be prompted for a main cf administrator password.  You&#8217;ll have the option to setup other administration accounts later with granular permissions but this is the all access account.</p>
<p>Next I&#8217;m asked if I&#8217;d like to enable RDS, the Remote Development Service.  Since this is a development machine and there are some debugging features that go along with RDS, I&#8217;m going to enable it and specify a password.</p>
<p>Lastly I&#8217;m asked for my current user password for the user I&#8217;m logged in as, matt.  I will specify this now because I&#8217;ve opted to have CF start when I login.</p>
<p>This last screen sums up what&#8217;s about to happen.  I review, click OK and hope for the best (note my web root path is translated from the symlink I gave coldfusion during the install, this is not an error)</p>
<p># httpd.conf</p>
<p># The jrun installer is just going to add configuration settings to your httpd.conf file on top of what&#8217;s already there.  I noticed a few slight differences in these settings.  I&#8217;ve gone into httpd.conf and deleted the old stuff.</p>
<p># By default Jrun4 still wants to startup using whatever version of Java you have set as your default and in my experience, java 1.5 just doesn&#8217;t work.</p>
<p># change the startup script so that version 1.4.2 of java is used to fire up jrun4, leaving version 1.5ish for everything else on your mac</p>
<p># I have a symlink in /usr/bin that points java142 to it&#8217;s real location on my machine<br />
ln -s java142 -&gt; /System/Library/Frameworks/JavaVM.framework/Versions/1.4.2/Commands/java<br />
sudo edit /Library/StartupItems/ColdFusion8Multi/ColdFusion8Multi</p>
<p># removing some existing lines of code, my startup script now looks like this:</p>
<p>#!/bin/sh<br />
. /etc/rc.common<br />
#<br />
# Start ColdFusion 8 Multiserver<br />
#<br />
# Because this is a start up script, and will be run by root, we use a specific<br />
# user (the user who installed) to run ColdFusion</p>
<p>CF_DIR=&#8221;/opt/local/JRun4&#8243;<br />
RUNTIME_USER=&#8221;matt&#8221;<br />
# 1.0/Initial<br />
##</p>
<p>if [ ${1:-noset} = "stop" ]; then<br />
cd &#8220;$CF_DIR/lib&#8221;<br />
su $RUNTIME_USER -c &#8220;java142 -jar jrun.jar -stop cfusion&#8221;<br />
exit 0<br />
fi</p>
<p>cd &#8220;$CF_DIR/lib&#8221;<br />
su $RUNTIME_USER -c &#8220;java142 -jar jrun.jar -start cfusion &amp;&#8221;</p>
<p>Now I reboot.  CF8 could be stated manually but I&#8217;d like to test the auto start as well.</p>
<p>Everything comes up fine.</p>
<p>I browse to http://localhost/CFIDE/administrator/ and I see the new administrator.  The first thing I&#8217;m going to do is edit all my MySQL (3) datasources to MySQL (4/5).  Unfortunately it looks like each one needs to be dropped and created from scratch, no biggie.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.usercore.com/os-x-upgrading-coldfusion-7-to-coldfusion-8-with-apache2-jrun4-multiserver-config/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>OS X (FreeBSD) command line : the alias</title>
		<link>http://www.usercore.com/os-x-freebsd-command-line-the-alias/</link>
		<comments>http://www.usercore.com/os-x-freebsd-command-line-the-alias/#comments</comments>
		<pubDate>Wed, 30 May 2007 21:04:00 +0000</pubDate>
		<dc:creator>Matt</dc:creator>
				<category><![CDATA[OS X / Unix]]></category>

		<guid isPermaLink="false">http://www.usercore.com/2007/05/30/os-x-freebsd-command-line-the-alias/</guid>
		<description><![CDATA[There&#8217;s a great little command line utility that I use on my laptop (OS X) whenever I need to burn an ISO disk image to a disk.  Last night I grabbed the MythDora ISO to try out on an old box and today I went to burn it.  Problem is, I always forget [...]]]></description>
			<content:encoded><![CDATA[<p>There&#8217;s a great little command line utility that I use on my laptop (OS X) whenever I need to burn an ISO disk image to a disk.  Last night I grabbed the MythDora ISO to try out on an old box and today I went to burn it.  Problem is, I always forget the name of the program that helps me burn.  Knowing that when I search for &#8220;burn iso osx&#8221; in google it&#8217;ll come up as the first result does not help me remember.</p>
<p>First off, here&#8217;s <a href="http://www.tech-recipes.com/apple_mac_tips1002.html">the osx iso burning trick</a>:</p>
<p>hdiutil burn image.iso</p>
<p>The only thing that I ever change with this command is the name of the disk image.  So I should make an alias to this command with something that I&#8217;ll remember.  To make an alias in OSX or FreeBSD open up your command line preferences file.  In OSX my personal command line preferences file is at ~/.profile (that ~ stands for my home directory).  So open up a terminal and type:</p>
<p>edit .profile</p>
<p>This should open up your personal .profile file in your favorite editor.  Or if you don&#8217;t have a .profile file yet, a new one will be made for you.  I&#8217;ve decided that the alias &#8220;burniso&#8221; would be much easier to remember than hdiutil.  And with an alias, I can also include the &#8220;burn&#8221; switch that goes along with hdiutil.  So, at the end of my .profile, I add:</p>
<p><code>alias burniso="hdiutil burn"</code></p>
<p>Now anytime I type the command &#8220;burniso&#8221;, my computer interprets that as &#8220;hdiutil burn&#8221;.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.usercore.com/os-x-freebsd-command-line-the-alias/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
