<?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>The Geek Blog &#187; macintosh</title>
	<atom:link href="http://www.artin.org/geekblog/tag/macintosh/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.artin.org/geekblog</link>
	<description>A place to write down the crap from my brain</description>
	<lastBuildDate>Mon, 16 Jan 2012 14:45:54 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	
		<item>
		<title>Mac OS X &#8211; Adding a loopback alias</title>
		<link>http://www.artin.org/geekblog/2011/02/mac-os-x-adding-a-loopback-alias/</link>
		<comments>http://www.artin.org/geekblog/2011/02/mac-os-x-adding-a-loopback-alias/#comments</comments>
		<pubDate>Fri, 04 Feb 2011 16:13:33 +0000</pubDate>
		<dc:creator>Aaron</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[apple]]></category>
		<category><![CDATA[macintosh]]></category>
		<category><![CDATA[networking]]></category>
		<category><![CDATA[unix]]></category>

		<guid isPermaLink="false">http://www.artin.org/geekblog/?p=111</guid>
		<description><![CDATA[I do a lot of local web development on my MacBook Pro.  Frequently I had multiple tiers of servers running &#8211; a Jetty instance running the web tier and a JBoss/EJB server doing the business tier behind it.  The problem is JBoss opens up so many ports on a particular network adapter and trying to [...]]]></description>
			<content:encoded><![CDATA[<p>I do a lot of local web development on my MacBook Pro.  Frequently I had multiple tiers of servers running &#8211; a Jetty instance running the web tier and a JBoss/EJB server doing the business tier behind it.  The problem is JBoss opens up so many ports on a particular network adapter and trying to get JBoss and Jetty to share a single IP is a nightmare.  So the easier way is to just create a new IP or alias your localhost (127.0.0.1) into something like 127.0.0.2.  When you start up Jetty, you pass in the binding IP of .2 and then JBoss and Jetty place nice with each other.</p>
<p>The Mac OS command (at least 10.6) to create an alias is:</p>
<pre>ifconfig lo0 alias 127.0.0.2</pre>
<p>and to delete:</p>
<pre>ifconfig lo0 -alias 127.0.0.2</pre>
<p>This is not persistent &#8211; the alias will not survive a reboot.  I don&#8217;t need the alias often even to require it to be permanent.  If you&#8217;re curious how to keep it permanent, let me know and I&#8217;ll post that.  This is the hacker way to do it on the command line.  There is a much easier way to do it through the GUI but this way doesn&#8217;t stick around on the reboot, which is one of my requirements for my project &#8211; no retaining traces. <img src='http://www.artin.org/geekblog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://www.artin.org/geekblog/2011/02/mac-os-x-adding-a-loopback-alias/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Installing MySQL 5.5.8 on Mac OS X Snow Leopard</title>
		<link>http://www.artin.org/geekblog/2010/12/installing-mysql-5-5-8-on-mac-os-x-snow-leopard/</link>
		<comments>http://www.artin.org/geekblog/2010/12/installing-mysql-5-5-8-on-mac-os-x-snow-leopard/#comments</comments>
		<pubDate>Tue, 21 Dec 2010 14:17:30 +0000</pubDate>
		<dc:creator>Aaron</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[apple]]></category>
		<category><![CDATA[macintosh]]></category>
		<category><![CDATA[MySQL]]></category>

		<guid isPermaLink="false">http://www.artin.org/geekblog/?p=74</guid>
		<description><![CDATA[Installing MySQL should be a no brainer on any operating system, especially with how mature of a product it is.  Apparently that assumption is incorrect.  I tried installing the most recent GA release of MySQL on my new Snow Leopard machine, and found I couldn&#8217;t start the blasted server.  I&#8217;ve become lazy the older I [...]]]></description>
			<content:encoded><![CDATA[<p>Installing MySQL should be a no brainer on any operating system, especially with how mature of a product it is.  Apparently that assumption is incorrect.  I tried installing the most recent GA release of MySQL on my new Snow Leopard machine, and found I couldn&#8217;t start the blasted server.  I&#8217;ve become lazy the older I get &#8211; I don&#8217;t want to screw around with shell scripts, hacking this tweaking that.  If I&#8217;m provided a Mac-based installer I WANT IT TO WORK.  So, if you&#8217;re like me and are frustrated as all hell with not being able to get MySQL to start via System Preferences after installing the 64-bit version (maybe 32-bit as well), do the following:</p>
<ol>
<li>Drop into Terminal.app</li>
<li>Type: sudo /Applications/TextEdit.app/Contents/MacOS/TextEdit /usr/local/mysql/support-files/mysql.server</li>
<li>Find the line starting with basedir and datadir and replace with:<br />
basedir=/usr/local/mysql<br />
datadir=/usr/local/mysql/data</li>
<li>Save the file</li>
<li>Start MySQL using the System Preferences pane button.</li>
</ol>
<p>I&#8217;m amazed this is the fix and that the MySQL team overlooked the configuration change in their packaging.  Very irritating.  Enjoy.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.artin.org/geekblog/2010/12/installing-mysql-5-5-8-on-mac-os-x-snow-leopard/feed/</wfw:commentRss>
		<slash:comments>11</slash:comments>
		</item>
		<item>
		<title>Mac Screen Sharing (VNC) &amp; White Screen</title>
		<link>http://www.artin.org/geekblog/2010/05/mac-screen-sharing-vnc-white-screen/</link>
		<comments>http://www.artin.org/geekblog/2010/05/mac-screen-sharing-vnc-white-screen/#comments</comments>
		<pubDate>Sun, 02 May 2010 14:10:32 +0000</pubDate>
		<dc:creator>Aaron</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[hacks]]></category>
		<category><![CDATA[macintosh]]></category>
		<category><![CDATA[remote management]]></category>
		<category><![CDATA[vnc]]></category>

		<guid isPermaLink="false">http://www.artin.org/geekblog/?p=67</guid>
		<description><![CDATA[I&#8217;ve had problems connecting to my Ubuntu 9.10 server via Mac OS&#8217; built-in VNC client, &#8220;Screen Sharing&#8221;.  Frequently when I connect, I get a white screen with no indication that the connection is working.  If I type characters or click the mouse, it does actually send those events to the remote side.  My only option [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve had problems connecting to my Ubuntu 9.10 server via Mac OS&#8217; built-in VNC client, &#8220;Screen Sharing&#8221;.  Frequently when I connect, I get a white screen with no indication that the connection is working.  If I type characters or click the mouse, it does actually send those events to the remote side.  My only option was to use Chicken of the VNC (which sucks) to connect to my server.  Finally, I did some digging and found the solution/workaround.</p>
<ol>
<li>Open a new Finder window.</li>
<li>Click &#8220;Go&#8221; and then &#8220;Go to Folder&#8221; (or hit Command-Shift-G).</li>
<li>Type in &#8220;/System/Library/CoreServices&#8221; and hit enter.</li>
<li>Find the &#8220;Screen Sharing&#8221; application, click once to highlight.</li>
<li>Click &#8220;File&#8221; and then &#8220;Get Info&#8221; (or hit Command-I).</li>
<li>Find the checkbox labeled &#8220;Open in 32-bit mode&#8221; and check it.</li>
<li>Close the Info window and Finder folder window.</li>
</ol>
<p>That&#8217;s it!  Apparently there is a bug in the application only when running in 64-bit mode.  I don&#8217;t really care why it fixes it, I&#8217;m just glad its fixed and I thought I&#8217;d share.</p>
<p>Thanks to the <a href="http://www.macosxhints.com/article.php?story=20090916105559390" target="_blank">anonymous user on Mac OS X Hints</a>!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.artin.org/geekblog/2010/05/mac-screen-sharing-vnc-white-screen/feed/</wfw:commentRss>
		<slash:comments>27</slash:comments>
		</item>
		<item>
		<title>Getting Macs to play with Ubuntu</title>
		<link>http://www.artin.org/geekblog/2009/02/getting-macs-to-play-with-ubuntu/</link>
		<comments>http://www.artin.org/geekblog/2009/02/getting-macs-to-play-with-ubuntu/#comments</comments>
		<pubDate>Fri, 06 Feb 2009 14:21:54 +0000</pubDate>
		<dc:creator>Aaron</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[afp]]></category>
		<category><![CDATA[macintosh]]></category>
		<category><![CDATA[server]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://www.artin.org/geekblog/?p=23</guid>
		<description><![CDATA[I&#8217;m a fan of Unix operating systems in general.  That&#8217;s what got me interested in switching to Mac OS X because it&#8217;s Unix-based.  It was inevitable that I would eventually get a server-class machine again that wasn&#8217;t Mac-based.  The new Dell machine that I have running has Ubuntu 8.10 &#8211; a Debian-based machine which is [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m a fan of Unix operating systems in general.  That&#8217;s what got me interested in switching to Mac OS X because it&#8217;s Unix-based.  It was inevitable that I would eventually get a server-class machine again that wasn&#8217;t Mac-based.  The new Dell machine that I have running has Ubuntu 8.10 &#8211; a Debian-based machine which is something I&#8217;m new too.</p>
<p>I wanted to set up the Ubuntu machine to share files with the Macs on my network but not by using the crappy Samba protocol or even NFS.  I know both are troublesome and not as speedy on a Mac.  My only other choice was to get AFP working on the Ubuntu server and to my delight, packages exist for this.  Netatalk is an Appletalk daemon and Avahi is a Bonjour zeroconf equivalent.  Installing those packages and starting the services didn&#8217;t do it for me.  Leopard was having issues with the cleartext passwords being passed to AFPD so I went nowhere.</p>
<p>I did some digging and realized that OpenSSL isn&#8217;t GNU and therefore support for it in netatalk isn&#8217;t compiled in.  Not being super familar with how Debian packaging works, I looked for a guide to help me with recompiling and installing the updated netatalk package.</p>
<p>I found it and boy it&#8217;s an awesome guide.</p>
<p><a href="http://www.kremalicious.com/2008/06/ubuntu-as-mac-file-server-and-time-machine-volume/" target="_blank">http://www.kremalicious.com/2008/06/ubuntu-as-mac-file-server-and-time-machine-volume/</a></p>
<p>Take a look, try it out.  It worked perfectly me for on Ubuntu Intrepid Ibex (8.10).</p>
]]></content:encoded>
			<wfw:commentRss>http://www.artin.org/geekblog/2009/02/getting-macs-to-play-with-ubuntu/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

