Wednesday, August 17, 2011

MACOS Setup

instructions for customization for a fresh macosx install

enable updatedb, mac has the indexing and building of the locate database under locate.updatedb
1) ln -s /usr/libexec/locate.updatedb /usr/bin/updatedb

2) fix the bash shell:
#this below fixes the command prompt so you dont see the default dc-Macbook-Pro prompt
export PS1="\w:"
#add color to ls, you can customize this for more detail later
export TERM="xterm-color"
alias ls='ls -G'


3)set JAVA_HOME in .bashrc or .bashrc_profile. JAVA_HOME=/System/Library/Frameworks/JavaVM.framework/Versions/1.6.0/Home. You can use the macosx command /usr/libexec/java_home to find the location of JAVA_HOME.

4) Install hadoop Eclipse under /Applications, you will have an eclipse folder, double click on the eclipse logo and select >>Keep In Dock

5) install hadoop under /usr/share or /usr/local/ problem is the finder cant see these directories without extra mouse clicks.


No comments:

Post a Comment