Mountain Lion + Git

I just installed Mac OS X Mountain Lion, as an update via the app store. Worked pretty good. After less than 30 min it was installed. Everything worked. I just missed the command line tool git.

To fix that issue I had to install the newest XCode version and XCode command line tools. The XCode command line tools you can install inside from XCode. Just go to preferences and Downloads and then you will see it.

That worked for me.

Insalling CouchDB on Mac OS X Lion

CouchDB is a document-oriented database with MapReduce feature. It provides a RESTful JSON API over HTTP. It offers distributed, featuring robust, incremental replication with bi-directional conflict detection and management. It is similar to MongoDB.

To install it on Mac OS X Lion, just execute this command here:

sudo port install couchdb

And after the installation this here:

sudo launchctl load -w /Library/LaunchDaemons/org.apache.couchdb.plist

To install couchdb as Service in the OS and start the couchdb daemon.Now you can open a browser and navigate to this address:


You should get a JSON result similar to that here:


And that’s it. CouchDB installed, up and running!

Installing MongoDB on Mac OX X Lion

Today I tried to install mongodb via MacPorts on Mac OS X Lion. I got this error message:

Error: Target returned: shell command failed (see log for details)
Log for mongodb is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_databases_mongodb/mongodb/main.log
Error: Status 1 encountered during processing.
To report a bug, see <>

Maybe it is not the best idea to install MongoDB via MacPorts. I just downloaded the compiled binarys from the MongoDB Homepage: Just unzip it and that’s it.

No you have to create a directory.

mkdir /data
cd /data
mkdir db

MongoDB expects that this directory exists and puts all necessary DB files into this directory.

Navigate in the command line to the unpacked directory and execute this command as root to start the MongoDB server:


And the server is running 🙂
In another shell you can start the client. The client can run without root rights.


Now you can start to work

> { a : 1 } )

Mac OS X Lion

I installed Mac OS X Lion today. It is available in the Mac App Store for 29 USD. That is pretty cheap. And pretty good!

The installation is straight forward. After 15min and a short reboot it was installed.

The first thing I realized after the reboot, the scroll direction is swapped. It is “natural”. The content tracks finger movement.

The design is very clean. Just some small changes. One of the biggest Features is Mission Control. That is pretty cool. It shows you all your spaces and the Dashboard.

Another very strong Feature is the Launchpad. It shows you your Mac Apps in a way like you would see it on your iPhone. I like this. Very clean.

And another cool Feature are full screen apps. Some Apps, for example iPhoto, you can start in Fullscreen Mode. That is very useful.

Some of the default Mac Apps are also changed. The “Mail” App is much better now. It looks a little bit more like Outlook. But the really cool improvement is the mail grouping function. It hides all redundant content from the mail history.