<?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>Minimizr.com &#187; OS X</title>
	<atom:link href="http://minimizr.com/blog/category/os-x/feed/" rel="self" type="application/rss+xml" />
	<link>http://minimizr.com</link>
	<description>More With Less</description>
	<lastBuildDate>Sat, 05 Jun 2010 21:29:46 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Setup MAMP (Mac, Apache, MySQL And PHP) on Mac OS X 10.5 Leopard</title>
		<link>http://minimizr.com/blog/2007/10/setup-mamp-mac-apache-mysql-and-php-on-mac-os-x-105-leopard/</link>
		<comments>http://minimizr.com/blog/2007/10/setup-mamp-mac-apache-mysql-and-php-on-mac-os-x-105-leopard/#comments</comments>
		<pubDate>Sun, 28 Oct 2007 13:39:14 +0000</pubDate>
		<dc:creator>kristian</dc:creator>
				<category><![CDATA[Apache]]></category>
		<category><![CDATA[Mac]]></category>
		<category><![CDATA[MySQL]]></category>
		<category><![CDATA[OS X]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Web Server]]></category>

		<guid isPermaLink="false">http://www.minimizr.com/blog/2007/10/setup-mamp-mac-apache-mysql-and-php-on-mac-os-x-105-leopard/</guid>
		<description><![CDATA[New Mac OS X 10.5 Leopard comes with new versions of Apache and PHP (Apache/2.2.6 (Unix) mod_ssl/2.2.6 OpenSSL/0.9.7l DAV/2 PHP/5.2.4), so it is quite easy to setup a MAMP server. Sure there are other ways to do the setup: You can build Apache, MySQL and PHP from sources, you can use MacPorts or you can [...]]]></description>
			<content:encoded><![CDATA[<p></p><p>New Mac <a href="http://www.apple.com/macosx/leopard/">OS X 10.5 Leopard</a> comes with new versions of Apache and PHP (<code>Apache/2.2.6 (Unix) mod_ssl/2.2.6 OpenSSL/0.9.7l DAV/2 PHP/5.2.4</code>), so it is quite easy to setup a <a href="http://en.wikipedia.org/wiki/MAMP">MAMP</a> server. Sure there are other ways to do the setup: You can build <a href="http://httpd.apache.org/">Apache</a>, <a href="http://dev.mysql.com/">MySQL</a> and <a href="http://www.php.net/">PHP</a> from sources, you can use <a href="http://www.macports.org/">MacPorts</a> or you can use pre-build packages like <a href="http://www.mamp.info/">MAMP</a> or <a href="http://www.apachefriends.org/en/xampp.html">XAMPP</a>. But in my opinion, because Apache and PHP are already installed, they are easy way to go and will minimize you work.</p>
<h2>Apache</h2>
<p>To enable pre-installed PHP, you have to edit httpd.conf file:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">vi</span> <span style="color: #000000; font-weight: bold;">/</span>private<span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>apache2<span style="color: #000000; font-weight: bold;">/</span>httpd.conf</pre></div></div>

<p>And uncomment next line:</p>

<div class="wp_syntax"><div class="code"><pre class="apache" style="font-family:monospace;"><span style="color: #00007f;">LoadModule</span> php5_module libexec/apache2/libphp5.so</pre></div></div>

<p>If you want to make other configuration changes, for example define virtual hosts, it&#8217;s better to use user&#8217;s configuration file:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">vi</span> <span style="color: #000000; font-weight: bold;">/</span>private<span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>apache2<span style="color: #000000; font-weight: bold;">/</span>users<span style="color: #000000; font-weight: bold;">/</span><span style="color: #7a0874; font-weight: bold;">&#91;</span>username<span style="color: #7a0874; font-weight: bold;">&#93;</span>.conf</pre></div></div>

<p>After making changes, restart Apache aka Web Sharing. Go to System Preferences > Sharing and unselect and select again Web Sharing. That&#8217;s it. Now you have the Apache and PHP running. If there are any problems, you can examine the Apache error_log. Go to Console > /var/log > apache2 > error_log.</p>
<h2>PHP</h2>
<p>If you want to make changes to php.ini, do the following. Copy php.ini.default to php.ini:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">cp</span> <span style="color: #000000; font-weight: bold;">/</span>private<span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>php.ini.default <span style="color: #000000; font-weight: bold;">/</span>private<span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>php.ini</pre></div></div>

<p>And to make changes:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">chmod</span> <span style="color: #000000;">644</span> <span style="color: #000000; font-weight: bold;">/</span>private<span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>php.ini
<span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">vi</span> <span style="color: #000000; font-weight: bold;">/</span>private<span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>php.ini
<span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">chmod</span> <span style="color: #000000;">444</span> <span style="color: #000000; font-weight: bold;">/</span>private<span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>php.ini</pre></div></div>

<p>After making changes don&#8217;t forget to restart Apache.</p>
<h2>MySQL</h2>
<p>MySQL is a little trickier. It is not pre installed in OS X and in my opinion easiest way is to use binary from MySQL.com. So, <a href="http://dev.mysql.com/downloads/mysql/5.0.html#macosx-dmg">download</a> the current version, which is mysql-5.0.45-osx10.4-i686.pkg at the moment and install it. Then install MySQLStartupItem.pkg and copy MySQL.prefPane to OSX/Library/PreferencePanes. It seems to be that current versions preference pane is not quite compatible with OS X 10.5. It shows if the server is running or stopped, but you can&#8217;t star or stop with it. MySQL starts when the OS starts, but you can start or stop it manually from console:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #000000; font-weight: bold;">/</span>Library<span style="color: #000000; font-weight: bold;">/</span>StartupItems<span style="color: #000000; font-weight: bold;">/</span>MySQLCOM<span style="color: #000000; font-weight: bold;">/</span>MySQLCOM start
<span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #000000; font-weight: bold;">/</span>Library<span style="color: #000000; font-weight: bold;">/</span>StartupItems<span style="color: #000000; font-weight: bold;">/</span>MySQLCOM<span style="color: #000000; font-weight: bold;">/</span>MySQLCOM stop</pre></div></div>

<p>MySQL with default settings use socket in /tmp and pre-installed PHP presumes it to be in /var/mysql, so you have to update the location in php.ini:</p>

<div class="wp_syntax"><div class="code"><pre class="ini" style="font-family:monospace;">mysql.default_socket <span style="color: #000066; font-weight:bold;">=</span><span style="color: #660066;"> /tmp/mysql.sock</span></pre></div></div>

<p>Perhaps you could also use a symbolic link from /var/mysql/mysql.sock to tmp/mysql.soc. <a href="http://dev.mysql.com/downloads/gui-tools/5.0.html">MySQL GUI Tools</a> are also working nicely with new OS X 10.5.</p>
<h2>Mac OS X 10.5</h2>
<p>No you should have a MAMP server running nicely. If you want to make host name changes &#8211; for example you can use different names for localhost to take advantage Apache&#8217;s virtual hosting &#8211; edit hosts file:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">vi</span> <span style="color: #000000; font-weight: bold;">/</span>private<span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>hosts</pre></div></div>

]]></content:encoded>
			<wfw:commentRss>http://minimizr.com/blog/2007/10/setup-mamp-mac-apache-mysql-and-php-on-mac-os-x-105-leopard/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Getting Your Mac Ready For Mac OS X 10.5 Leopard</title>
		<link>http://minimizr.com/blog/2007/10/getting-your-mac-ready-for-mac-os-x-105-leopard/</link>
		<comments>http://minimizr.com/blog/2007/10/getting-your-mac-ready-for-mac-os-x-105-leopard/#comments</comments>
		<pubDate>Tue, 23 Oct 2007 16:27:00 +0000</pubDate>
		<dc:creator>kristian</dc:creator>
				<category><![CDATA[Mac]]></category>
		<category><![CDATA[OS X]]></category>

		<guid isPermaLink="false">http://www.minimizr.com/blog/2007/10/getting-your-mac-ready-for-mac-os-x-105-leopard/</guid>
		<description><![CDATA[Updated 24.10.2007 &#8211; There is not many days left (2 days and 22 hours) for the new Mac OS X 10.5 Leopard. Here are couple guides how to prepare for that with the current 10.4 Tiger: Macworld Excerpt: Getting your Mac ready for OS X 10.5 and TUAW Guide: Getting Ready for Leopard. And yet [...]]]></description>
			<content:encoded><![CDATA[<p></p><p><em>Updated 24.10.2007</em> &#8211; There is not many days left (2 days and 22 hours) for the new <a href="http://www.apple.com/macosx/leopard/">Mac OS X 10.5 Leopard</a>. Here are couple guides how to prepare for that with the current 10.4 Tiger: <a href="http://www.macworld.com/2007/10/secrets/tcoleopardupgrade/index.php?lsrc=mwrss">Macworld Excerpt: Getting your Mac ready for OS X 10.5</a> and <a href="http://www.tuaw.com/2007/10/19/tuaw-guide-getting-ready-for-leopard/">TUAW Guide: Getting Ready for Leopard</a>. And yet one from MacFixIt: <a href="http://www.macfixit.com/article.php?story=20071023091749337">Special Report: Preparing for Mac OS X 10.5 (Leopard) Installation &#8212; Avoiding issues before and after updating</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://minimizr.com/blog/2007/10/getting-your-mac-ready-for-mac-os-x-105-leopard/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to Put MacBook Pro to Sleep, Always</title>
		<link>http://minimizr.com/blog/2007/07/how-to-put-macbook-pro-to-sleep-always/</link>
		<comments>http://minimizr.com/blog/2007/07/how-to-put-macbook-pro-to-sleep-always/#comments</comments>
		<pubDate>Fri, 27 Jul 2007 21:11:46 +0000</pubDate>
		<dc:creator>kristian</dc:creator>
				<category><![CDATA[Mac]]></category>
		<category><![CDATA[OS X]]></category>

		<guid isPermaLink="false">http://www.minimizr.com/blog/2007/07/how-to-put-macbook-pro-to-sleep-always/</guid>
		<description><![CDATA[There seems to be an sleeping issue with at least Intel based MacBooks. MacBook / MacBook Pro Reliability: The superb sleep behavior of PowerBooks and iBooks has long set them apart from ill-behaved PC laptops â€” nearly instant sleep and wake, with no confusing modes to choose between (do I need &#8220;Standby&#8221; or &#8220;Hibernate&#8221;?). But [...]]]></description>
			<content:encoded><![CDATA[<p></p><p>There seems to be an sleeping issue with at least Intel based MacBooks.</p>
<p><a href="http://www.macintouch.com/reliability/macbooks2.html">MacBook / MacBook Pro Reliability</a>:</p>
<blockquote><p>The superb sleep behavior of PowerBooks and iBooks has long set them apart from ill-behaved PC laptops â€” nearly instant sleep and wake, with no confusing modes to choose between (do I need &#8220;Standby&#8221; or &#8220;Hibernate&#8221;?). But the new Intel-based laptops seem to be having some of the same troubles PCs have long known.</p></blockquote>
<p>I have the issue and if you search web, there seems to be many others with same problem. The problem is usually that when you put your MacBook to sleep, after few seconds the screen goes blank and the hard drive shuts down but then immediately, the SuperDrive makes a noise and Mac wakes up again. I try to close all the programs and shut down the network storage and bluetooth waking up and put it to sleep again, but no luck. It always wakes up. If I leave it there, it tries to go to sleep again and again and again&#8230; Sometimes it goes to sleep, but usually not.</p>
<p>I usually use MacBook with external display. If I run it on batteries without external display, it succeeds to go to sleep more often, but only then.</p>
<p>Apple has an article: <a href="http://docs.info.apple.com/article.html?artnum=303698">Mac OS X: Why your Mac might not sleep or stay in sleep mode</a>. It didn&#8217;t help. Apple Support discussions have quite a many threads about the issue, but no answers. The issue is most annoying.</p>
<p><b>How to Put MacBook Pro to Sleep, Always? I sure would like to know the answer.</b></p>
]]></content:encoded>
			<wfw:commentRss>http://minimizr.com/blog/2007/07/how-to-put-macbook-pro-to-sleep-always/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Get Started With the New Mac</title>
		<link>http://minimizr.com/blog/2007/07/get-started-with-the-new-mac/</link>
		<comments>http://minimizr.com/blog/2007/07/get-started-with-the-new-mac/#comments</comments>
		<pubDate>Thu, 26 Jul 2007 19:14:08 +0000</pubDate>
		<dc:creator>kristian</dc:creator>
				<category><![CDATA[Mac]]></category>
		<category><![CDATA[OS X]]></category>

		<guid isPermaLink="false">http://www.minimizr.com/blog/2007/07/get-started-with-the-new-mac/</guid>
		<description><![CDATA[When you open a new MacBook for the first time, it takes only some minutes to be ready to start using it. Moving from Windows makes me a newbie with Mac. So, what to do first. Apple Support has some good documents, like Swith 101. MacRumors has a good guides, especially Mac Beginner&#8217;s Guide. Guides [...]]]></description>
			<content:encoded><![CDATA[<p></p><p>When you open a new MacBook for the first time, it takes only some minutes to be ready to start using it. Moving from Windows makes me a newbie with Mac. So, what to do first. Apple Support has some good documents, like <a href="http://www.apple.com/support/switch101/">Swith 101</a>. <a href="http://www.macrumors.com/">MacRumors</a> has a good <a href="http://guides.macrumors.com/">guides</a>, especially <a href="http://guides.macrumors.com/Mac_Beginner%27s_Guide">Mac Beginner&#8217;s Guide</a>.</p>
<p>Guides to get started with Mac:</p>
<ul>
<li><a href="http://www.apple.com/support/switch101/">Apple &#8211; Support &#8211; Swith 101</a></li>
<li><a href="http://guides.macrumors.com/Mac_Beginner%27s_Guide">MacRumors &#8211; Mac Gyuides &#8211; Mac Beginner&#8217;s Guide</a></li>
<li><a href="http://www.myfirstmac.com/">My First Mac</a></li>
<li>&#8230;</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://minimizr.com/blog/2007/07/get-started-with-the-new-mac/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Opening MacBook Pro for the First Time</title>
		<link>http://minimizr.com/blog/2007/07/opening-macbook-pro-for-the-first-time/</link>
		<comments>http://minimizr.com/blog/2007/07/opening-macbook-pro-for-the-first-time/#comments</comments>
		<pubDate>Wed, 25 Jul 2007 20:02:02 +0000</pubDate>
		<dc:creator>kristian</dc:creator>
				<category><![CDATA[Mac]]></category>
		<category><![CDATA[OS X]]></category>

		<guid isPermaLink="false">http://www.minimizr.com/blog/2007/07/opening-macbook-pro-for-the-first-time/</guid>
		<description><![CDATA[At the Mac Store I asked about how to choose the default language for the Mac OS X. He said that I can anytime change the preferred language from System preferences. But when the MacBook is opened the first time, I get to choose the default language of the OS. Well, when I opened it [...]]]></description>
			<content:encoded><![CDATA[<p></p><p>At the Mac Store I asked about how to choose the default language for the Mac OS X. He said that I can anytime change the preferred language from System preferences. But when the MacBook is opened the first time, I get to choose the default language of the OS. Well, when I opened it went through all the setup things, but it didn&#8217;t ask about the language. Maybe it was the current Country question, but I thought that was only related to the physical location. Now I have different language on login screen and after login.</p>
<p>There are ways to <a href="http://docs.info.apple.com/article.html?artnum=106478" title="How to change Login Window language (Mac OS X)">change the default language</a>, but the instructions are for 10.3. Though I guess it&#8217;s working also on Tiger.</p>
<p><b>Update:</b> This method doesn&#8217;t change the language of the login window. Still looking the way how to change that.</p>
]]></content:encoded>
			<wfw:commentRss>http://minimizr.com/blog/2007/07/opening-macbook-pro-for-the-first-time/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

