Things to do after a fresh install of Mac OS X Mavericks.

Things to do after a fresh install of Mac OS X Mavericks.

Install Command Line Tools.

xcode-select --install

Install Homebrew

There are lot of packages missing in AppStore, So when you have to install these packages, you can use HomeBrew. But before using HomeBrew you might need the following.

You can follow instruction mentioned in this Link which you can see how to set up Mac OS for Developers.

Mac OS for Developers

You can give this command to install HomeBrew.

ruby -e "$(curl -fsSL https://raw.github.com/Homebrew/homebrew/go/install)"

You can also see the alternate list of installation for HomeBrew.

Alternate Installation


List of packages/Formula in HomeBrew.

Here is the Link where you can find the Packages/Formula which are supported in HomeBrew.

HomeBrew Packages/Formula


Install Sublime Text.

We all need a very good Code Editor with and there are lot of them, One of them is Sublime Text which is a great editior just for the fact that it has something for Experiencied Developer/Hacker, or people who have just started Developement.

SubLimeText 2


Install Package Control for SublimeText

There are lot of Packages which provides extension to the functionality to Sublime Text. The best of them is provided by a developer name WBond.

Install the Package Control by following the instruction provided at WBond

In Short you have to follow these steps.

  1. Open Console by typing ctrl+`

  2. Copy Paste this code.

import urllib2,os,hashlib; h = '7183a2d3e96f11eeadd761d777e62404' + 'e330c659d4bb41d3bdf022e94cab3cd0'; pf = 'Package Control.sublime-package'; ipp = sublime.installed_packages_path(); os.makedirs( ipp ) if not os.path.exists(ipp) else None; urllib2.install_opener( urllib2.build_opener( urllib2.ProxyHandler()) ); by = urllib2.urlopen( 'http://sublime.wbond.net/' + pf.replace(' ', '%20')).read(); dh = hashlib.sha256(by).hexdigest(); open( os.path.join( ipp, pf), 'wb' ).write(by) if dh == h else None; print('Error validating download (got %s instead of %s), please try manual install' % (dh, h) if dh != h else 'Please restart Sublime Text to finish installation')

Install Java 7

Kindly see the question on stackoverflow for the problem, as Java is not pre bundled in Mac OS 10.9. Also you can install from Apple on Java 6. So if you want to install Java 7 follow the below steps.

For reference you can check this link StackOverflow

  1. Download the Java SDK from this link. Oracle Site

Install solarized color theme in Mac OS 10.9

Solarized is the best color scheme. You can follow the below instruction to install it.

The Process to install it is mentioned in this Link. Solarized


Install Eclipse on Mac OS X.

To install Eclipse on Mac you can follow the following list.

  1. Download eclipse from this link eclipse
  2. It will download a tar.gz file depending on the achitecture. ex (eclipse-jee-kepler-SR2-macosx-cocoa-x86_64.tar)
  3. Untar it and you will get a eclipse folder, open a new finder window and the copy the folder in the application folder.
  4. Here is a link to a more detailed tutorials. Blog

Install Apache Php Mysql on Mac OS X.

All of these software are very much essential for a lot of development, like web development, Java EE application, and others.

A more detailed installation process is mentioned in this link. I am just taking some basic step from this blog

Install Apache.

  1. Open Terminal and switch to root by issuing following command.
sudo su -
  1. Enable Apache on Mac OS X, by giving the following command.
apachectl start
  1. Verify if this works by opening http://localhost/

Modify the DocumentRoot for Apache.

The DocumentRoot of apache is by default at /Library/WebServer/Documents. Now if you want you can change it to a more comfortable location.

Just change the following lines in httpd.conf located at /etc/apache2.

DocumentRoot “/Library/WebServer/Documents”

<Directory “/Library/WebServer/Documents”>

Also change the following line in same httpd.conf

<Directory "/Library/WebServer/Documents">

You can check if this is working by restarting the apache service by using.

sudo apachectl restart

You can test the apache config by runing these command.

sudo apachectl -t

Install PHP.

Just edit the following line in /etc/apache2/httpd.conf

from

LoadModule php5_module libexec/apache2/libphp5.so

to

LoadModule php5_module libexec/apache2/libphp5.so

and then restart apache by issuing.

sudo apachectl restart

Install MySQL

  1. Download the MySQL DMG for Mac OS X.
  2. Install MySQL.
  3. Install Preference Pane
  4. Open System Preferences → MySQL
  5. Ensure the MySQL Server is running

Install WebStrom

Install Webstrom for javascript development. It has a lot of support but it is not as light weight as Sublime and vim, but anyway the comparision is unfair as it is comparing oranges and apple.

You can install WebStrom just like any other Mac Application by using the dmg package which you can download from.

WebStrom

There are few more Editors provided by JetBrains, which you can find here


Install MacVim

We can install the Graphics VIM named as MacVim. We can use the HomeBrew Package manager to install MacVim.

  1. brew install macvim --override-system-vim
  2. brew linkapps
  3. Check if MacVim is installed by running mvim command.

Some common problem are solved when you installed MacVim using Brew you can find it here.

  1. Set macvim as default application after homebrew installation

  2. How do I install MacVim?

  3. How to run mvim (MacVim) from Terminal?

  4. Mavericks Development Setup


Advertisements

Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s