This following series of posts will cover following topics in details on Mac OS X 10.8.x:
1. Installation and configuration for prerequisites:
JDK - 1.6 by Apple
Xcode from App Store
Eclipse - Juno SR2(4.2.2)
Mongodb - 2.4.3 for Mac OS X 64 bit
Node.js - 0.10.8
2. Installation and configuration of ICAP Sandbox and IDE of TechPreview M0 version
3. How to import, configure and run the Acme Air sample application
You can install Java SE JDK 6 provided by Apple, or install the latest Java SE JDK 7 from Oracle.
To install the Oracle version, you can refer to http://docs.oracle.com/javase/7/docs/webnotes/install/mac/mac-jdk.html#uninstall for more details about how install and configure.
In this post, we use the JDK provided by Apple.
1. Launch Terminal from Applications->Utilities->Terminal
2. Type java and press Return button
3. If JDK is not installed, you'll be prompted to install one. Following the instructions to finish the installation.
4. Type java -version, and you will see messages like below:
1) Launch App Store, then search and install Xcode
2) After Xcode installation finishes, launch it and install required components as prompted.
1. Download Eclipse Juno SR2(4.2.2) for Mac OS X 64 Bit from http://www.eclipse.org/downloads/, and save to the Downloads directory in you home folder.
2. In Terminal, change to Downloads directory and type
tar zxvf eclipse-jee-juno-SR2-macosx-cocoa-x86_64.tar
to extract the package.
3. If you like, in Finder, drag the extracted eclipse directory to Applications
4. For convenience, drag the executable file of eclipse under the eclipse folder to the Dock
5. Launch Eclipse from Dock, and verify that the default JRE is set to the JDK 6 we installed:
1. Download the current production release for OS X 64-bit from http://www.mongodb.org/downloads. Now the version is 2.4.3 for this writing.
2. Extract it by "tar zxvf Downloads/mongodb-osx-x86_64-2.4.3.tgz" and change the folder name to mongodb by "mv mongodb-osx-x86_64-2.4.3 mongodb"
3. For convenience, create a script on Desktop:
mkdir -p ~/mongodb/data/db
vi mongodb-start (And input ~/mongodb/bin/mongod --dbpath ~/mongodb/data/db ,and save)
chmod +x mongodb-start
4. Then you can start mongodb server by double click mongodb-start on your desktop
1. Download the Mac installer node-v0.10.8.pkg from http://www.nodejs.org/download/ to Downloads folder
2. Double click node-v0.10.8.pkg to install it
3. Verify the installation in Terminal: node -v
4. Install required npm modules in Terminal:
sudo npm install -g cookie restify mongodb
Run following command to verify the installed modules:
npm list -g