<?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/"
	xmlns:georss="http://www.georss.org/georss">

<channel>
	<title>Michael Grunewalder</title>
	<atom:link href="http://michael.grunewalder.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://michael.grunewalder.com</link>
	<description>A Geek - A Computer - A Mission</description>
	<lastBuildDate>Sun, 06 May 2012 11:11:51 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=</generator>
		<item>
		<title>Cherokee on Mac OS X Lion with MariaDB, PHP5.3 using Homebrew</title>
		<link>http://michael.grunewalder.com/cherokee-on-mac-os-x-lion-with-mariadb-php5-3-using-homebrew/</link>
		<comments>http://michael.grunewalder.com/cherokee-on-mac-os-x-lion-with-mariadb-php5-3-using-homebrew/#comments</comments>
		<pubDate>Sat, 05 May 2012 19:49:35 +0000</pubDate>
		<dc:creator>michael</dc:creator>
				<category><![CDATA[Mac OS X]]></category>
		<category><![CDATA[OS]]></category>
		<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://michael.grunewalder.com/?p=293</guid>
		<description><![CDATA[Finally I got me favourite web server running on Mac OS X. It was the only reason why I still missed Linux when developing PHP applications. Cherokee is a light, fast web server with a nice graphical admin interface. Until now I had no luck running it on OS X, but when I discovered the<a class="rmore" href="http://michael.grunewalder.com/cherokee-on-mac-os-x-lion-with-mariadb-php5-3-using-homebrew/">&#160;&#160; Read More ...</a>]]></description>
			<content:encoded><![CDATA[<p>Finally I got me favourite web server running on Mac OS X.<br />
It was the only reason why I still missed Linux when developing PHP applications.<br />
Cherokee is a light, fast web server with a nice graphical admin interface. Until now I had no luck running it on OS X, but when I discovered the excelent <a href="http://mxcl.github.com/homebrew/" target="_blank">Homebrew</a> project all that changed. There is a formula in Homebrew to install cherokee, but without modification that formula failed for me as it was trying to use the default webroot that Apache uses on OSX and without admin rights we don&#8217;t have access to that folder. Luckily that is easily changed.<br />
So let&#8217;s get started. You need to have the latest version of Homebrew installed. Instructions for this are here:<a title="Link to Homebrew website" href="http://mxcl.github.com/homebrew/" target="_blank"> http://mxcl.github.com/homebrew/</a>. Initially I tried to use the standalone GCC package without XCode, but the PHP build failed when it tried to install PEAR. After installing XCode and the XCode command line tools, all worked fine.</p>
<p>First we install a database. I decided to use MariaDB, but MySQL works just as fine. So open a Terminal and enter</p>
<pre class="brush: bash; gutter: true">brew install mariadb</pre>
<p>Once it is installed, follow the instructions on screen to finalize the installation:</p>
<p>- Setting up the database:</p>
<pre class="brush: bash; gutter: true">unset TMPDIR
mysql_install_db</pre>
<p>Creating the startup item:</p>
<pre class="brush: bash; gutter: true">cp /usr/local/Cellar/mariadb/5.3.5/homebrew.mxcl.mariadb.plist ~/Library/LaunchAgents/
launchctl load -w ~/Library/LaunchAgents/homebrew.mxcl.mariadb.plist</pre>
<p>And finally starting the server</p>
<pre class="brush: bash; gutter: true">mysql.server start</pre>
<p>Next we install PHP with fcgi support. There is a great PHP repository for Homebrew, so we will use it.</p>
<p>Tap into the repository with the following command:</p>
<pre class="brush: bash; gutter: true">brew tap josegonzalez/homebrew-php</pre>
<p>Then install PHP with the following command:</p>
<pre class="brush: bash; gutter: true">brew install -dv php --enable-phar --with-mariadb --with-cgi --enable-fcgi --with-suhosin</pre>
<p>or alternatively for MySQL:</p>
<pre class="brush: bash; gutter: true">brew install -dv php --enable-phar --with-mysql --with-cgi --enable-fcgi --with-suhosin</pre>
<p>Now comes the tricky part &#8211; Cherokee itself. With your favourite text editor, edit the cherokee formula located at</p>
<pre>/usr/local/Library/Formula/cherokee.rb</pre>
<p>and modify the install function so that it looks like this (the hilighted lines are the added lines)</p>
<pre class="brush: ruby; gutter: true; first-line: 29; highlight: [36,37]">def install
system &quot;./configure&quot;, &quot;--disable-dependency-tracking&quot;,
                      &quot;--prefix=#{prefix}&quot;,
                      &quot;--sysconfdir=#{etc}&quot;,
                      &quot;--localstatedir=#{var}/cherokee&quot;,
                      &quot;--with-wwwuser=#{ENV[&#039;USER&#039;]}&quot;,
                      &quot;--with-wwwgroup=www&quot;,
                      &quot;--with-wwwroot=#{var}/cherokee/wwwroot&quot;,
                      &quot;--without-mysql&quot;,
                      &quot;--enable-internal-pcre&quot;
system &quot;make install&quot;

prefix.install &quot;org.cherokee.webserver.plist&quot;
(prefix+&#039;org.cherokee.webserver.plist&#039;).chmod 0644
(share+&#039;cherokee/admin/server.py&#039;).chmod 0755
end</pre>
<p>save your modifications and then install cherokee:</p>
<pre class="brush: bash; gutter: true">brew install cherokee</pre>
<p>After a while all should be ready to run, now it&#8217;s time to configure PHP in Cherokee. Cherokee comes with a nice wrapper function to start the admin interface. in your terminal window enter</p>
<pre class="brush: bash; gutter: true">cherokee-admin-launcher</pre>
<p>and press Enter. A dialog pops up asking for your user password &#8211; enter it and press Enter. A moment later your default web browser opens and displays the admin interface. Initially I had Safari as my default browser, but that was a little pain in the behind because Safari thought the adin interface is a phishing site. After I made Firefox the default browser all was fine again.<br />
On the main screen you see an overview of your Cherokee server. From here you can also stat and stop the server.<br />
<a href="http://michael.grunewalder.com/wp-content/uploads/2012/05/cherokee-os-x-001.jpg"><img class="alignnone size-medium wp-image-294" title="cherokee-os-x-001" src="http://michael.grunewalder.com/wp-content/uploads/2012/05/cherokee-os-x-001-300x166.jpg" alt="" width="300" height="166" /></a><br />
Click the VServers icon.<br />
The page that opens displays the settings for the default server:<br />
<a href="http://michael.grunewalder.com/wp-content/uploads/2012/05/cherokee-os-x-002.jpg"><img class="alignnone size-medium wp-image-295" title="cherokee-os-x-002" src="http://michael.grunewalder.com/wp-content/uploads/2012/05/cherokee-os-x-002-300x166.jpg" alt="" width="300" height="166" /></a><br />
Click on &#8220;Rule Management&#8221; in the &#8220;Behavior&#8221; Tab</p>
<p><a href="http://michael.grunewalder.com/wp-content/uploads/2012/05/cherokee-os-x-003.jpg"><img class="alignnone size-medium wp-image-296" title="cherokee-os-x-003" src="http://michael.grunewalder.com/wp-content/uploads/2012/05/cherokee-os-x-003-300x166.jpg" alt="" width="300" height="166" /></a><br />
Click the + symbol to add a new behavior. A popup window opens with all available options:<br />
<a href="http://michael.grunewalder.com/wp-content/uploads/2012/05/cherokee-os-x-004.jpg"><img class="alignnone size-medium wp-image-297" title="cherokee-os-x-004" src="http://michael.grunewalder.com/wp-content/uploads/2012/05/cherokee-os-x-004-300x166.jpg" alt="" width="300" height="166" /></a><br />
Click on &#8220;Languages&#8221; then on &#8220;PHP&#8221; and finally on &#8220;Add&#8221; to add PHP:<br />
<a href="http://michael.grunewalder.com/wp-content/uploads/2012/05/cherokee-os-x-005.jpg"><img class="alignnone size-medium wp-image-298" title="cherokee-os-x-005" src="http://michael.grunewalder.com/wp-content/uploads/2012/05/cherokee-os-x-005-300x166.jpg" alt="" width="300" height="166" /></a><br />
Click &#8220;Create&#8221; to setup PHP:<br />
<a href="http://michael.grunewalder.com/wp-content/uploads/2012/05/cherokee-os-x-006.jpg"><img class="alignnone size-medium wp-image-299" title="cherokee-os-x-006" src="http://michael.grunewalder.com/wp-content/uploads/2012/05/cherokee-os-x-006-300x166.jpg" alt="" width="300" height="166" /></a><br />
Click &#8220;Save&#8221; to save the settings. If Cherokee is already running, you will see a dialog asking you to restart the server, Chose &#8220;Graceful Restart&#8221; in that case.</p>
<p>That&#8217;s all, you now have a web development environment with Cherokee, PHP 5.3 and MariaDB.<br />
To start Cherokee, either use the start/stop button on the &#8220;Home&#8221; screen of the admin interface, or enter &#8220;sudo cherokee&#8221; in a terminal window.</p>
]]></content:encoded>
			<wfw:commentRss>http://michael.grunewalder.com/cherokee-on-mac-os-x-lion-with-mariadb-php5-3-using-homebrew/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	<georss:point>13.7135665 100.6041409</georss:point>	</item>
		<item>
		<title>Twitter Bootstrap &#8211; Custom Height Navigation Bar</title>
		<link>http://michael.grunewalder.com/twitter-bootstrap-custom-height-navigation-bar/</link>
		<comments>http://michael.grunewalder.com/twitter-bootstrap-custom-height-navigation-bar/#comments</comments>
		<pubDate>Sun, 01 Apr 2012 06:35:29 +0000</pubDate>
		<dc:creator>michael</dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[Programming]]></category>

		<guid isPermaLink="false">http://michael.grunewalder.com/?p=187</guid>
		<description><![CDATA[A few days ago I came across Twitter Bootstrap, something I would call a CSS/JavaScript Template that helps in the development of nice looking pages. If you are &#8211; like me &#8211; a design retard, then Twitter Bootstrap is definitely a good addition to the toolbox. It provides intuitive class names for the CSS, has<a class="rmore" href="http://michael.grunewalder.com/twitter-bootstrap-custom-height-navigation-bar/">&#160;&#160; Read More ...</a>]]></description>
			<content:encoded><![CDATA[<p>A few days ago I came across <a title="link to Twitter Bootstrap" href="http://twitter.github.com/bootstrap/" target="_blank">Twitter Bootstrap</a>, something I would call a CSS/JavaScript Template that helps in the development of nice looking pages. If you are &#8211; like me &#8211; a design retard, then Twitter Bootstrap is definitely a good addition to the toolbox. It provides intuitive class names for the CSS, has nice default values that are pleasent on the eye, and it is from Twitter, yes, the same people that brought you this little app which can get very annoying if you have a lot of fans/followers. Luckily I only have 2  Followers, so my Twitter life is still very peaceful.</p>
<p>On their website they even have a little web interface to build your own custom style, so I thought that is just perfect for a lazy dude like myself.<span id="more-187"></span>But I was wrong. It does allow a bit of customization and works all in all ok, but the one thing that mattered to me, the navigation bar, just would not want to play along nicely. I changed the size to 60 pixel height, generated my stylesheet, attached it to the HTML document I prepared and&#8230;.TADAAAAA &#8211; It looked horrible!</p>
<p>I wasted a bit of time trying to adjust the CSS with no results, so I finally decided to involve one of my friends, G. Oogle. I kept asking him questions about the navbar and he gave me plenty of food for my brain, but not quite what i was looking for. It was frustrating and I even considered using a different template, but somehow I really wanted the Twitter thingy to work. So I asked Dr G. some more questions and finally I got what I was looking for. Unfortunately it involved getting into LESS, but turned out that it was not such a big deal after all.</p>
<h3>Preparations</h3>
<p>The steps here are for Mac OS, but my friend <a title="Link to Google" href="http://www.google.com" target="_blank">G. Oogle</a> has a great <a title="Link to Google" href="http://www.google.com" target="_blank">homepage</a> that you can use to get in touch with him. Other options include:</p>
<ul>
<li>You can bing for results on <a title="Link to Google" href="http://www.google.com" target="_blank">Google</a></li>
<li>You can google for results on <a title="Link to Bing" href="http://www.bing.com" target="_blank">Bing</a></li>
</ul>
<p>All that matter is that you get the <a title="Link to Yahoo" href="http://www,yahoo.com" target="_blank">Yahoo</a> effect in the end. Having just started to get back into Ruby on Rails, I quickly entered &#8220;gem install less&#8221; to ghet the less processor installed &#8211; turned out to be a stupid idea.</p>
<p>To get started, the instructions on <a title="Link to other blog" href="http://shapeshed.com/setting-up-nodejs-and-npm-on-mac-osx/" target="_blank">George Ornbos blog</a> were very helpful which are (assuming you have <a href="http://mxcl.github.com/homebrew/" target="_blank">homebrew</a> installed) as simple as this:</p>
<ul>
<li>Install node.js<code><br />
brew install node</code></li>
<li>Install  NPM<code><br />
curl http://npmjs.org/install.sh | sh</code></li>
<li>open your .bash_profile<br />
pico ~/.bash_profile (could also be called .bashrc)</li>
<li>Declare the npm home variable<code><br />
export NODE_PATH="/usr/local/lib/node" </code></li>
<li>modify your PATH<code><br />
/usr/local/share/npm/bin:$PATH</code> (but make sure you keep exsisting modifications)</li>
<li>reload your envidonment<br />
source ~/.bash_profile</li>
<li>Install uglify<br />
npm install uglify-js -g</li>
</ul>
<h3>Modifying Twitter Bootstrap</h3>
<p>If you don&#8217;t already have a terminal window open, open one and create a folder for your project and check out the git repository for Twitter Bootstrap:</p>
<p>git clone git://github.com/twitter/bootstrap.git</p>
<p>This will download the current version of the Twitter Bootstrap project to your disk. My search on Google brought me to a discussion on github, and <a title="Link to github discussion" href="https://github.com/twitter/bootstrap/issues/1540#issuecomment-4562208" target="_blank">this post</a> pretty much sums up the changes we have to make:</p>
<p>The files we need to change are in the &#8216;less&#8217; folder which is located in the &#8216;bootstrap&#8217; folder of the project we cloned from github. First open the file <em>variables.less</em>. Around line 140 you will see the section that configures the navbar variables:</p>
<pre> // Navbar
// -------------------------
@navbarHeight:                    60px;
@navbarBackground:                @black;
@navbarBackgroundHighlight:       @grayDark;

@navbarText:                      @grayLight;
@navbarLinkColor:                 @grayLight;
@navbarLinkColorHover:            @white;
@navbarLinkColorActive:           @navbarLinkColorHover;
@navbarLinkBackgroundHover:       @blue;
@navbarLinkBackgroundActive:      @blue;

@navbarSearchBackground:          lighten(@navbarBackground, 25%);
@navbarSearchBackgroundFocus:     @white;
@navbarSearchBorder:              darken(@navbarSearchBackground, 30%);
@navbarSearchPlaceholderColor:    #ccc;</pre>
<p>Customize it to your liking. That was the easy part. But the next part is easy, too. The definitions for the navbar style are in the file <em>navbar.less</em> (Who would have guessed <img src='http://michael.grunewalder.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' />  ) and the definitions that fixes the navbar are:</p>
<pre>.navbar .nav
{
    height: @navbarHeight;
}

.navbar .nav &gt; li &gt; a
{
    padding: (@navbarHeight-20)/2 10px ((@navbarHeight - 20)/2 + 1);
}

.navbar .brand
{
    padding: (((@navbarHeight-20)/2) * 0.8) 20px (((@navbarHeight - 20) / 2) * 1.2);
}</pre>
<p>So, we find the definition for .navbar .nav (line 203) and add the height to it, then the definition for .navbar .nav li a and replace thepadding rule with the formular (@navbarHeight &#8211; 20)/2 10px ((@navbarHeight &#8211; 20)/2 + 1) and finally the definition for .navbar .brand (line 69) and replace the definition for padding with padding: (((@navbarHeight &#8211; 20) / 2) * 0.8) 20px (((@navbarHeight &#8211; 20) / 2) * 1.2);</p>
<p>Do not forget to save the changes, then go back to the terminal window. Now it&#8217;s time to generate the new stylesheets, When you cloned the git repositry, the folder <em>bootstrap</em> was greated to contain all the files for the project. change into that folder and you will see that it contains a <em>Makefile</em>. That file takes care of everything. Simply enter make bootstrap, press Enter and a few moments later you will find a bootstrap folder with the new CSS, the Javascripts and images. Those are the customized files you can you in your own Project.</p>
<p>I am pretty confident that in one of the upcoming updates to Twitter Bootstrap this issue will be fixed. At the time of writing, the version for Twitter Bootstrap is 2.0.2</p>
]]></content:encoded>
			<wfw:commentRss>http://michael.grunewalder.com/twitter-bootstrap-custom-height-navigation-bar/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	<georss:point>13.713543 100.6040928</georss:point>	</item>
		<item>
		<title>Review: Horst &#8211; Manage your virtual hosts on your Mac with ease</title>
		<link>http://michael.grunewalder.com/review-horst-manage-your-virtual-hosts-on-your-mac-with-ease/</link>
		<comments>http://michael.grunewalder.com/review-horst-manage-your-virtual-hosts-on-your-mac-with-ease/#comments</comments>
		<pubDate>Fri, 02 Mar 2012 17:06:19 +0000</pubDate>
		<dc:creator>michael</dc:creator>
				<category><![CDATA[Mac]]></category>
		<category><![CDATA[Mac OS X]]></category>

		<guid isPermaLink="false">http://michael.grunewalder.com/?p=158</guid>
		<description><![CDATA[My almost endless search for the perfect development environment on the Mac seems to have come to an end, but more about that in the next post. An important part however in the (almost) perfect setup however is the nifty little application called Horst(url). It took me a moment to understand the limitations of the<a class="rmore" href="http://michael.grunewalder.com/review-horst-manage-your-virtual-hosts-on-your-mac-with-ease/">&#160;&#160; Read More ...</a>]]></description>
			<content:encoded><![CDATA[<p>My almost endless search for the perfect development environment on the Mac seems to have come to an end, but more about that in the next post.<br />
An important part however in the (almost) perfect setup however is the nifty little application called Horst(<a title="http://penck.de/horst/" href="http://penck.de/horst/" target="_blank">url</a>).</p>
<p>It took me a moment to understand the limitations of the free version. At first I thought I can only have 2 hosts enabled at a time, but far off.<br />
Horst allows you to create sets of hosts. For example, you can setup a set called &#8220;Work&#8221; that contains all the hostnames you work on at the office, and maybe another set &#8220;Home&#8221; that contains all the hostnames for your private projects, you can even create more than 2 sets, however in the free version only 2 sets can be active at a time. The paid version is only €5 and although I don&#8217;t really need it, I am seriously considering to buy it just to support the developer, as this is really so convenient and the first free/affordable solution that actually works for me out of the box. (Apart from a &#8220;dumb user&#8221; mistake, but I guess I can only blame myself for that.)</p>
<p>To install Horst, simply download it from the website, unpack the archive and drag the Horst application into your application folder.<br />
Start it, by double clicking on the application icon and enter your admin password if you get asked for it. Horst modifies the /etc/host file (it does not delete anything you have already in there, just adds/modifies its own entries) so it requires administrator permissions.</p>
<p>When Horst opens for the first time, it looks pretty empty:</p>
<p><a href="http://michael.grunewalder.com/wp-content/uploads/2012/03/horst_001.png"><img class="alignnone size-medium wp-image-159" title="HORST: Initial screen after installation" src="http://michael.grunewalder.com/wp-content/uploads/2012/03/horst_001-300x229.png" alt="" width="300" height="229" /></a><br />
Click on the [+] in the lower left corner to create your first set of hosts:</p>
<p><a href="http://michael.grunewalder.com/wp-content/uploads/2012/03/horst_002.png"><img class="alignnone size-medium wp-image-160" title="HORST: Created the first Set" src="http://michael.grunewalder.com/wp-content/uploads/2012/03/horst_002-300x229.png" alt="" width="300" height="229" /></a></p>
<p>You can double click on the text &#8220;New Set&#8221; to rename it, then start entering your hosts in the right part of the window in the format IP HOSTNAME</p>
<p><a href="http://michael.grunewalder.com/wp-content/uploads/2012/03/horst_003.png"><img class="alignnone size-medium wp-image-161" title="HORST: First set populated with hosts" src="http://michael.grunewalder.com/wp-content/uploads/2012/03/horst_003-300x221.png" alt="" width="300" height="221" /></a><br />
Once you&#8217;re happy with your setup, press [Command]+S to save, then drag the little slider next to your set name from &#8220;OFF&#8221; to &#8220;ON&#8221;</p>
<p><a href="http://michael.grunewalder.com/wp-content/uploads/2012/03/horst_004.png"><img class="alignnone size-medium wp-image-162" title="HORST: First Set activated" src="http://michael.grunewalder.com/wp-content/uploads/2012/03/horst_004-300x221.png" alt="" width="300" height="221" /></a></p>
<p>That&#8217;s it! Your hosts are now active:</p>
<p><a href="http://michael.grunewalder.com/wp-content/uploads/2012/03/horst_005.png"><img class="alignnone size-medium wp-image-163" title="HORST: Ping Results" src="http://michael.grunewalder.com/wp-content/uploads/2012/03/horst_005-300x238.png" alt="" width="300" height="238" /></a></p>
<p>I admit, the screenshot of the terminal is not necessary, but i was desperately looking for an opportunity to show off the cute header of my terminal window.</p>
<p>Of course you can simply open a terminal window and enter sudo mate /etc/hosts (if you have Textmate) or sudo pico /etc/hosts and enter those entries manually, but for lazy people like me, Horst just adds a lot of convenience. Plus &#8211; it makes it a lot easier to manage the entries as you can enable and disable sets of hosts simply by switching the set to ON or OFF.</p>
<p>If you enjoy the app as much as I do, then please support the developer and buy the full version. I just found €5 that I was still carrying in my wallet from my last trip to Germany (and I kept it there for a coffee next time I go back) and I think I will use them to buy Horst. <img src='http://michael.grunewalder.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://michael.grunewalder.com/review-horst-manage-your-virtual-hosts-on-your-mac-with-ease/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	<georss:point>13.7135671745 100.60422569</georss:point>	</item>
		<item>
		<title>Fixing the connection problems to AppStore on true internet in Bangkok</title>
		<link>http://michael.grunewalder.com/fixing-the-connection-problems-to-appstore-on-true-internet-in-bangkok/</link>
		<comments>http://michael.grunewalder.com/fixing-the-connection-problems-to-appstore-on-true-internet-in-bangkok/#comments</comments>
		<pubDate>Thu, 01 Mar 2012 15:04:40 +0000</pubDate>
		<dc:creator>michael</dc:creator>
				<category><![CDATA[Mac OS X]]></category>
		<category><![CDATA[OS]]></category>

		<guid isPermaLink="false">http://michael.grunewalder.com/?p=146</guid>
		<description><![CDATA[About a week or so ago I lost my connection to the AppStore. It would try to connect and after a while I would get the message &#8220;Cannot connect to AppStore&#8221; (Or something like that.) Also had problems with the iTunes store and the Apple website itself became sinfully slow. If I used 3G, all<a class="rmore" href="http://michael.grunewalder.com/fixing-the-connection-problems-to-appstore-on-true-internet-in-bangkok/">&#160;&#160; Read More ...</a>]]></description>
			<content:encoded><![CDATA[<p>About a week or so ago I lost my connection to the AppStore. It would try to connect and after a while I would get the message &#8220;Cannot connect to AppStore&#8221; (Or something like that.) Also had problems with the iTunes store and the Apple website itself became sinfully slow. If I used 3G, all worked fine. Connection from the office, all worked fine. Just on my home connection it would not connect.<br />
Today I finally called the help desk and the guy who answered my call was very helpful. He ran me through setting up the proxy server in Firefox and it made the Apple site a lot faster. But of course AppStore still refused to connect.<br />
So we agreed that it must be a True issue and that they would look into it. After hanging up, I played around a little and found the spot where to assign a system wide proxy. Once setup, AppStore connected happily.</p>
<p>Here are the steps I did:</p>
<p>- Open the System Preferences:</p>
<p><a href="http://michael.grunewalder.com/wp-content/uploads/2012/03/proxy-step-001.jpg"><img class="alignleft size-full wp-image-153" title="proxy-step-001" src="http://michael.grunewalder.com/wp-content/uploads/2012/03/proxy-step-001.jpg" alt="" width="118" height="79" /></a></p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>- Select Network from the options:</p>
<p><a href="http://michael.grunewalder.com/wp-content/uploads/2012/03/proxy-step-002.jpg"><img class="alignleft size-thumbnail wp-image-147" title="proxy-step-002" src="http://michael.grunewalder.com/wp-content/uploads/2012/03/proxy-step-002-150x150.jpg" alt="" width="150" height="150" /></a></p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>- Select your connection and then click on &#8220;Advanced:</p>
<p><a href="http://michael.grunewalder.com/wp-content/uploads/2012/03/proxy-step-003.jpg"><img class="alignnone size-thumbnail wp-image-148" title="proxy-step-003" src="http://michael.grunewalder.com/wp-content/uploads/2012/03/proxy-step-003-150x150.jpg" alt="" width="150" height="150" /></a></p>
<p>&nbsp;</p>
<p>- Select the &#8220;Proxy&#8221; tab:</p>
<p><a href="http://michael.grunewalder.com/wp-content/uploads/2012/03/proxy-step-004.jpg"><img class="alignnone size-thumbnail wp-image-149" title="proxy-step-004" src="http://michael.grunewalder.com/wp-content/uploads/2012/03/proxy-step-004-150x150.jpg" alt="" width="150" height="150" /></a></p>
<p>&nbsp;</p>
<p>make sure &#8220;Http Proxy&#8221; is checked, then enter the proxy details.</p>
<p>The proxy server is <strong>proxy.trueinternet.co.th</strong> and the port is <strong>8080 </strong></p>
<p><strong></strong>Click &#8220;OK&#8221; when you are done:</p>
<p><a href="http://michael.grunewalder.com/wp-content/uploads/2012/03/proxy-step-005.jpg"><img class="alignnone size-thumbnail wp-image-150" title="proxy-step-005" src="http://michael.grunewalder.com/wp-content/uploads/2012/03/proxy-step-005-150x150.jpg" alt="" width="150" height="150" /></a></p>
<p>&nbsp;</p>
<p>Click &#8220;Apply&#8221; to save the settings:</p>
<p><a href="http://michael.grunewalder.com/wp-content/uploads/2012/03/proxy-step-006.jpg"><img class="alignleft size-thumbnail wp-image-151" title="proxy-step-006" src="http://michael.grunewalder.com/wp-content/uploads/2012/03/proxy-step-006-150x150.jpg" alt="" width="150" height="150" /></a></p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>TADAAAAA!!!!! &#8211; AppStore is working:</p>
<p><a href="http://michael.grunewalder.com/wp-content/uploads/2012/03/proxy-step-007.jpg"><img class="alignnone size-thumbnail wp-image-152" title="proxy-step-007" src="http://michael.grunewalder.com/wp-content/uploads/2012/03/proxy-step-007-150x150.jpg" alt="" width="150" height="150" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://michael.grunewalder.com/fixing-the-connection-problems-to-appstore-on-true-internet-in-bangkok/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	<georss:point>13.7135671745 100.60422569</georss:point>	</item>
		<item>
		<title>Time to celebrate&#8230;.</title>
		<link>http://michael.grunewalder.com/time-to-celebrate/</link>
		<comments>http://michael.grunewalder.com/time-to-celebrate/#comments</comments>
		<pubDate>Sun, 19 Feb 2012 17:06:45 +0000</pubDate>
		<dc:creator>michael</dc:creator>
				<category><![CDATA[Random Mumblings]]></category>

		<guid isPermaLink="false">http://michael.grunewalder.com/?p=141</guid>
		<description><![CDATA[Today when I was checking emails, I saw the message that there is a comment waiting for moderation. The first thought that popped into my mind was:&#8221;YAY!!! Another link to a website where I can get cheap Viagra&#8221; &#8211; In the past those were the only kind of comments I could find on posts on<a class="rmore" href="http://michael.grunewalder.com/time-to-celebrate/">&#160;&#160; Read More ...</a>]]></description>
			<content:encoded><![CDATA[<p>Today when I was checking emails, I saw the message that there is a comment waiting for moderation. The first thought that popped into my mind was:&#8221;YAY!!! Another link to a website where I can get cheap Viagra&#8221; &#8211; In the past those were the only kind of comments I could find on posts on my blog. But no, this one looked real. I put on my glasses to double-check (I know, I used the glass &#8220;joke&#8221; before, but it was only yesterday, I was not prepared for this and I did not have time to hire a team of copy writers to get unique content. Am working on that) and yes, I can officially celebrate my first real visitor. That also means, that now 50% of the traffic are not coming from someone other than me, that&#8217;s a 100% increase..wohoooo!!!!<br />
Anyway, thanks Kate for stopping by and leaving a message.<br />
Viele Gr&uuml;sse nach Deutschland aus Bangkok <img src='http://michael.grunewalder.com/wp-includes/images/smilies/icon_biggrin.gif' alt=':-D' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://michael.grunewalder.com/time-to-celebrate/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>[updated] MySQL not starting on Zend Server Community Edition (Mac OS X)</title>
		<link>http://michael.grunewalder.com/mysql-not-starting-on-zend-server-community-edition-mac-os-x-2/</link>
		<comments>http://michael.grunewalder.com/mysql-not-starting-on-zend-server-community-edition-mac-os-x-2/#comments</comments>
		<pubDate>Sat, 18 Feb 2012 20:05:14 +0000</pubDate>
		<dc:creator>michael</dc:creator>
				<category><![CDATA[Mac]]></category>
		<category><![CDATA[Mac OS X]]></category>
		<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://michael.grunewalder.com/?p=135</guid>
		<description><![CDATA[A while ago I used Zend Server CE on my Mac and back then it was not working, MySQL just would not start. With help of some forum posts, I managed to fix it, and if i was keeping track of my fame, I would still have the URL to the forum post I made<a class="rmore" href="http://michael.grunewalder.com/mysql-not-starting-on-zend-server-community-edition-mac-os-x-2/">&#160;&#160; Read More ...</a>]]></description>
			<content:encoded><![CDATA[<p>A while ago I used Zend Server CE on my Mac and back then it was not working, MySQL just would not start. With help of some forum posts, I managed to fix it, and if i was keeping track of my fame, I would still have the URL to the forum post I made back then.<br />
I then changed to Linux and <a href="http://www.cherokee-project.com/">Cherokee</a> (love it and I just saw they have a Mac version so I&#8217;ll check it out), but now I am back on a Mac for a while. Initially i used MAMP again, but since it gave me some problems with Symfony 2, I gave Zend server CE another try.<span id="more-135"></span><br />
They fixed the problem with MySQL not starting at all and until I rebooted my Mac, it was quite a nice environment. After the restart however, MySQL was not running. I could start it manually, so I did other things first and decided to look into it on the weekend. Today I searched the web and a lot of people seem to have problems with MySQL, but mostly with permissions. That is something, that now really puzzles me. I followed a few guide but was not successful in getting it to start upon boot. Finally (why don&#8217;t I ever have my good thoughts first??) I had a look at the script that starts Zend CE, /usr/local/zend/bin/zendctl.sh<br />
These are the lines that start/re-start Zend CE:<br />
<code>	"start")<br />
		$ECHO_CMD "Starting $PRODUCT_NAME $PRODUCT_VERSION ..n"<br />
		$0 start-zdd %<br />
		$0 start-monitor-node<br />
		$0 start-apache %<br />
		$0 start-lighttpd %<br />
		$JB_EN &#038;&#038; $0 start-jb %<br />
		$0 start-jqd %<br />
		$ECHO_CMD "n$PRODUCT_NAME started..."<br />
		;;</p>
<p>	"restart")<br />
		$0 restart-zdd<br />
		$0 restart-monitor-node<br />
		$0 restart-apache<br />
		$0 restart-lighttpd<br />
		$0 restart-jb<br />
		$0 restart-jqd<br />
		;;</code><br />
I looked at it without my glasses on, I put my glasses on and had another look, but somehow I do not see mysql mentioned there anywhere. So how does the script know that it is supposed to start MySQL?<br />
I modify the start and restart section as follows:</p>
<p><code>	"start")<br />
		$ECHO_CMD "Starting $PRODUCT_NAME $PRODUCT_VERSION ..n"<br />
		$0 start-zdd %<br />
		$0 start-monitor-node<br />
		<strong>$MYSQL_EN &#038;&#038; $0 start-mysql %</strong><br />
		$0 start-apache %<br />
		$0 start-lighttpd %<br />
		$JB_EN &#038;&#038; $0 start-jb %<br />
		$0 start-jqd %<br />
		$ECHO_CMD "n$PRODUCT_NAME started..."<br />
		;;</p>
<p>	"restart")<br />
		$0 restart-zdd<br />
		$0 restart-monitor-node<br />
		$0 restart-apache<br />
		<strong>$0 restart-mysql</strong><br />
		$0 restart-lighttpd<br />
		$0 restart-jb<br />
		$0 restart-jqd<br />
		;;</code><br />
Modified the &#8220;stop&#8221; section like so:<br />
<code>	"stop")<br />
		$ECHO_CMD "Stopping $PRODUCT_NAME $PRODUCT_VERSION ..n"</p>
<p>		$0 stop-apache %<br />
		sleep 2<br />
		$ZCE_PREFIX/bin/clean_semaphores.sh<br />
	        $0 stop-lighttpd %<br />
		$JB_EN &#038;&#038; $0 stop-jb %<br />
		<strong>$MYSQL_EN &#038;&#038; $0 stop-mysql</strong><br />
			$0 stop-jqd %<br />
			$0 stop-zdd %<br />
			$0 stop-monitor-node %<br />
		$ECHO_CMD "n$PRODUCT_NAME stopped."<br />
		;;</code><br />
and for extra fun, added the re-start option:<br />
<code><br />
	"stop-mysql")<br />
		if $MYSQL_EN; then<br />
                    $ZCE_PREFIX/mysql/bin/mysql.server stop<br />
                fi<br />
		;;<br />
</code></p>
<p>For extra credits you can add the status option, too, but I can&#8217;t be bothered.</p>
<p>Today I realized that I have a few posts which promise some sort of &#8220;to be continued&#8230;&#8221; but never do. Luckily, nobody actually comes here, so there&#8217;s virtually no harm done. <img src='http://michael.grunewalder.com/wp-includes/images/smilies/icon_biggrin.gif' alt=':-D' class='wp-smiley' /> </p>
<p>This is where the original post ended. I have to admit, that I wrote the Post in the same spirit as Zend seems to release the CE edition (i.e. In theory those changes should do the trick, so why bother testing?!) and of course that backfired. The above modifications to the script actually can start, stop , restart MySQL server when it is executed. Tiziano however found out that MySQL is still not starting during the boot process and I was able to happily confirm that the next morning when I re-booted the Mac in my office. He also found the solution to this problem:</p>
<blockquote><p>I found the solution! You have to replicate changes in this file:</p>
<p>/Library/StartupItems/ZendServer_init/zendctl.sh</p>
<p>it works! </p></blockquote>
<p>Thanks, Tiziano, for finding this, sharing it with us and completing this post.</p>
]]></content:encoded>
			<wfw:commentRss>http://michael.grunewalder.com/mysql-not-starting-on-zend-server-community-edition-mac-os-x-2/feed/</wfw:commentRss>
		<slash:comments>8</slash:comments>
	<georss:point>13.713565946 100.604220674</georss:point>	</item>
		<item>
		<title>Dear Dad,</title>
		<link>http://michael.grunewalder.com/dear-dad/</link>
		<comments>http://michael.grunewalder.com/dear-dad/#comments</comments>
		<pubDate>Mon, 09 Jan 2012 18:31:43 +0000</pubDate>
		<dc:creator>michael</dc:creator>
				<category><![CDATA[Personal]]></category>

		<guid isPermaLink="false">http://michael.grunewalder.com/?p=109</guid>
		<description><![CDATA[I said I would call but as usual, my busy life got the better of me and I didn&#8217;t call. When I finally had the time, you were not home. I said I would call again at night but just like before, life got the better of me and I posponed. How I wish I<a class="rmore" href="http://michael.grunewalder.com/dear-dad/">&#160;&#160; Read More ...</a>]]></description>
			<content:encoded><![CDATA[<p>I said I would call but as usual, my busy life got the better of me and I didn&#8217;t call. When I finally had the time, you were not home. I said I would call again at night but just like before, life got the better of me and I posponed. How I wish I had taken just a few minutes of my life to make that call. But how could I know how precious time was, everything seemed to be ok again. Well, time is always precious because we never know God&#8217;s plans.<br />
<a href="http://michael.grunewalder.com/wp-content/uploads/2012/01/bild011.jpg"><img src="http://michael.grunewalder.com/wp-content/uploads/2012/01/bild011-150x150.jpg" alt="" title="bild01" width="150" height="150" class="alignleft size-thumbnail wp-image-114" /></a><br />
All my life I simply saw you as my Dad, not so much as a source of inspiration or an idol. Well, deep inside I am sure those feelings were there, but not so much on the outside. Sometimes as a kid, please forgive me, I even envied other kids for their dads. But I uess that&#8217;s the way we are. Kids are supposed to be stupid when they are young and learn only much later the value of the times they had. The past few month however changed all that. When we learned about your illness, the way you dealt with it, your positive attitude, your strength, that was amazing. Staring death in the eye but saying:&#8221;Hey, don&#8217;t worry, I&#8217;m fine. Everything is going to be ok.&#8221;, that gave me the biggest inspiration of my life and it made me proud to be your son. I don&#8217;t know how I would deal with a situation like that if I ever have to face it, but I pray that I will remember your strength and draw my own strength from it.<br />
<a href="http://michael.grunewalder.com/wp-content/uploads/2012/01/bild02.jpg"><img src="http://michael.grunewalder.com/wp-content/uploads/2012/01/bild02-150x150.jpg" alt="" title="bild02" width="150" height="150" class="alignright size-thumbnail wp-image-111" /></a>I don&#8217;t know what happened, it seems like some of your strength faded away, but I beg you to find it back. Remember, we made plans to go for coffee when I come back to Germany and it is only a few more months.<br />
If you really really have to go, then I will try to understand, but if a trace of your strength is left in you, then please, please, please hang in there for me, because I am not ready to let go.</p>
<p>Love<br />
Michael</p>
]]></content:encoded>
			<wfw:commentRss>http://michael.grunewalder.com/dear-dad/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	<georss:point>13.7135358 100.6042584</georss:point>	</item>
		<item>
		<title>Fixing cherokee-admin on Fedora 16 (possibly other distros, too)</title>
		<link>http://michael.grunewalder.com/fixing-cherokee-admin-on-fedora-16-possibly-other-distros-too/</link>
		<comments>http://michael.grunewalder.com/fixing-cherokee-admin-on-fedora-16-possibly-other-distros-too/#comments</comments>
		<pubDate>Fri, 25 Nov 2011 08:39:16 +0000</pubDate>
		<dc:creator>michael</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[OS]]></category>

		<guid isPermaLink="false">http://michael.grunewalder.com/?p=106</guid>
		<description><![CDATA[If you like the cherokee webserver (http://www.cherokee-project.com) you may have problems with the admin interface. In my case, i got an empty error message on the screen when I tried to install PHP, then when i ran the admin interface in debugging mode (cherokee-admin -x), i got some python error messages. Took me a while<a class="rmore" href="http://michael.grunewalder.com/fixing-cherokee-admin-on-fedora-16-possibly-other-distros-too/">&#160;&#160; Read More ...</a>]]></description>
			<content:encoded><![CDATA[<p>If you like the cherokee webserver (http://www.cherokee-project.com) you may have problems with the admin interface. In my case, i got an empty error message on the screen when I tried to install PHP, then when i ran the admin interface in debugging mode (cherokee-admin -x), i got some python error messages. Took me a while of research until I found out that the admin interface in the version that installed with Fedora 16 is actually broken. No fix for it was in my repositories (it is possible that i am not setup properly yet as I just switched from Ubuntu to Fedora), so for a moment I was afraid that I cannot use Cherokee for the time being.</p>
<p>What are the options to fix it?</p>
<p>One option is to re-install from sources using the latest sourcecode. Personally I don&#8217;t like that because I just prefer to stick to the package system of the distribution.</p>
<p>What else can we do?</p>
<p>The admin interface for Cherokee is actually written in Python. So here is what I did to get my admin interface up and running:</p>
<p>1) download the latest sources from http://www.cherokee-project.com/downloads.html and unpack the tarball<br />
2) open the file &#8220;configured.py&#8221; and modify the top entries like so:</p>
<p><code>PREFIX          = "/usr"<br />
LIBDIR          = "/usr/lib"<br />
DATADIR         = "/usr/share"<br />
DOCDIR          = "/usr/share/doc/cherokee"<br />
LOCALEDIR       = "/usr/share/locale"<br />
WWWROOT         = "/var/www"<br />
SYSCONFDIR      = "/etc"<br />
LOCALSTATE      = "/var"</code></p>
<p>3) Open a terminal window and become root (sudo -i)<br />
4) change to /usr/share/cherokee and delete the admin folder.<br />
5) copy the admin folder from the source code (with the modified configured.py file) into /usr/share/cherokee<br />
6) start cherokee-admin and enjoy.</p>
]]></content:encoded>
			<wfw:commentRss>http://michael.grunewalder.com/fixing-cherokee-admin-on-fedora-16-possibly-other-distros-too/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	<georss:point>13.73078 100.521004</georss:point>	</item>
		<item>
		<title>Hiding a Partition in OS X Lion</title>
		<link>http://michael.grunewalder.com/hiding-a-partition-in-os-x-lion/</link>
		<comments>http://michael.grunewalder.com/hiding-a-partition-in-os-x-lion/#comments</comments>
		<pubDate>Fri, 30 Sep 2011 11:19:58 +0000</pubDate>
		<dc:creator>michael</dc:creator>
				<category><![CDATA[Mac OS X]]></category>
		<category><![CDATA[OS]]></category>

		<guid isPermaLink="false">http://michael.grunewalder.com/?p=96</guid>
		<description><![CDATA[The iMac in my office has an almost dead internal disk, so I am using an external disk and would like to hide the disk whenever I boot the system. I can&#8217;t really take credit for this, as I found the general idea of hiding the partition on www.radiotope.com. Reading the article and its comments,<a class="rmore" href="http://michael.grunewalder.com/hiding-a-partition-in-os-x-lion/">&#160;&#160; Read More ...</a>]]></description>
			<content:encoded><![CDATA[<p>The iMac in my office has an almost dead internal disk, so I am using an external disk and would like to hide the disk whenever I boot the system.</p>
<p>I can&#8217;t really take credit for this, as I found the general idea of hiding the partition on <a href="http://www.radiotope.com/content/os-x-hiding-and-mounting-partition" target="_blank">www.radiotope.com</a>. Reading the article and its comments, I cam to this (maybe) streamlined version.</p>
<p>First we need the UUID of the drive we want to hide and the easiest method seems to be to use the Disk Utility.<span id="more-96"></span></p>
<p><a href="http://michael.grunewalder.com/wp-content/uploads/2011/09/diskutil01.png"><img src="http://michael.grunewalder.com/wp-content/uploads/2011/09/diskutil01-300x259.png" alt="" title="Disk Utility" width="300" height="259" class="aligncenter size-medium wp-image-97" /></a></p>
<p>After starting the Disk Utility, click on the hardisk/partition you want to hide and click the info button on the toolbar.</p>
<p><a href="http://michael.grunewalder.com/wp-content/uploads/2011/09/diskutil02.png"><img src="http://michael.grunewalder.com/wp-content/uploads/2011/09/diskutil02-300x231.png" alt="" title="Disk Utility - Info" width="300" height="231" class="aligncenter size-medium wp-image-98" /></a></p>
<p>The information you need is the &#8220;Universal Unique Identifier&#8221; &#8211; select it with your mouse and copy it.</p>
<p>Then open a terminal window (iTerm 2 is a brilliant alternative to the native terminal client on OS X). Now if you look at the /etc folder, you most likely won&#8217;t find the fstab file, ony fstab.hd. It confused me a little, so I did more research and found out that it does not matter. We just create the fstab file.<br />
<code language="bash"><br />
sudo pico /etc/fstab<br />
</code><br />
Once the editor window opens, enter<br />
<code language="bash"><br />
UUID=[Your Universal Unique Identifier] none hfs rw,noauto 0 0<br />
</code></p>
<p>Reboot your Mac and the partition is hidden. Wohoo&#8230;<br />
Now watch me having fun on the computer:<br />
<a href="http://michael.grunewalder.com/wp-content/uploads/2011/09/i_2011092600090295.jpg"><img src="http://michael.grunewalder.com/wp-content/uploads/2011/09/i_2011092600090295-300x225.jpg" alt="" title="Bearny on the MacBook" width="300" height="225" class="aligncenter size-medium wp-image-99" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://michael.grunewalder.com/hiding-a-partition-in-os-x-lion/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>WebDev101 &#8211; Getting Your Mac Ready for Web Development</title>
		<link>http://michael.grunewalder.com/webdev101-getting-your-mac-ready-for-web-development/</link>
		<comments>http://michael.grunewalder.com/webdev101-getting-your-mac-ready-for-web-development/#comments</comments>
		<pubDate>Tue, 13 Sep 2011 17:21:42 +0000</pubDate>
		<dc:creator>michael</dc:creator>
				<category><![CDATA[Mac]]></category>
		<category><![CDATA[Mac OS X]]></category>

		<guid isPermaLink="false">http://michael.grunewalder.com/?p=80</guid>
		<description><![CDATA[Until now I used a version of MAMP with a &#8220;special&#8221; serial number to develop on the Mac. The only reason for using the pro version was pure laziness. Creating virtual hosts with the manager is just dead simple and very comfortable. Every now and then however the good guy in me comes to daylight,<a class="rmore" href="http://michael.grunewalder.com/webdev101-getting-your-mac-ready-for-web-development/">&#160;&#160; Read More ...</a>]]></description>
			<content:encoded><![CDATA[<p>Until now I used a version of <a href="http://www.mamp.info" title="Visit the MAMP website" target="_blank">MAMP</a> with a &#8220;special&#8221; serial number to develop on the Mac. The only reason for using the pro version was pure laziness. Creating virtual hosts with the manager is just dead simple and very comfortable. Every now and then however the good guy in me comes to daylight, so today I decided to become more legal. So the first step &#8211; a step I should have done long ago &#8211; was to search Google for a way to get a GUI to edit the hosts on a Mac. A few options came up, the one I decided to use was <a href="http://www.eosgarden.com/en/freeware/" target="_blank">Host Manager</a>. Installation was as simple as opening the downloaded DMG fie and dragging the application to the Applications folder. Then double click to icon to start the application:<br />
<a href="http://michael.grunewalder.com/wp-content/uploads/2011/09/hostmanager_1.png"><img src="http://michael.grunewalder.com/wp-content/uploads/2011/09/hostmanager_1-300x231.png" alt="Initial Screen of Host Manager" title="hostmanager_1" width="300" height="231" class="aligncenter size-medium wp-image-82" /></a><br />
To start adding hosts, click the [+] button in the lower left corner. A sheet appears that allows you to enter the hostname and its IP address. For my development sites I usually end the domains in .local and use an IP in the range of 127.0.1.x:<br />
<a href="http://michael.grunewalder.com/wp-content/uploads/2011/09/hostmanager2.png"><img src="http://michael.grunewalder.com/wp-content/uploads/2011/09/hostmanager2-300x231.png" alt="Creating a HOST entry" title="hostmanager2" width="300" height="231" class="aligncenter size-medium wp-image-84" /></a><br />
After you entered the host name and its IP address, click on &#8220;create&#8221; to create the entry. The application will ask for your admin password, just enter it and confirm.<br />
<a href="http://michael.grunewalder.com/wp-content/uploads/2011/09/hostmanager3.png"><img src="http://michael.grunewalder.com/wp-content/uploads/2011/09/hostmanager3-300x231.png" alt="Finished entries in Host Manager" title="hostmanager3" width="300" height="231" class="aligncenter size-medium wp-image-85" /></a><br />
Sometimes the entries do not show up in the list, I don&#8217;t know if that is because I use Lion or if it is a bug in the app, when I restart the app however, all entries are made. I admit, the MAMP approach is much simpler as it creates the Apache virtual host and the entry for the domain, but this is a pretty comfortable and most of all free solution.</p>
<p>You can now use your web server of choice, maybe the free version of <a href="http://www.mamp.info" target="_blank">MAMP</a> or the version that <a href="http://www.eosgarden.com/en/freeware/webstart-light/overview/" target="_blank">eosgarden</a> provides.</p>
<p>Next time we will setup a virtual machine with Ubuntu and a few goodies to get the development server running. This is not a necessary part, but it gives you the feeling of the real deal somehow.</p>
<p>This post was written here:<br />
 </p>
]]></content:encoded>
			<wfw:commentRss>http://michael.grunewalder.com/webdev101-getting-your-mac-ready-for-web-development/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	<georss:point>13.7135845558 100.604256201</georss:point>	</item>
	</channel>
</rss>

<!-- Dynamic page generated in 0.693 seconds. -->
<!-- Cached page generated by WP-Super-Cache on 2012-05-19 13:24:14 -->
<!-- Compression = gzip -->
