Samuel Wong

Ramblings of a rocket scientist turned web developer

New Mac Installation

Here are some of my notes on getting web development tools set up on a brand new Mac machine.

Installing Homebrew, Rails, and MySQL:

http://www.frederico-araujo.com/2011/07/30/installing-rails-on-os-x-lion-with-homebrew-rvm-and-mysql/

Installing apache:

It’s already installed, actually. System Preferences > Sharing > Web Sharing.

Installing phpmyadmin:

Go download it from the official site. Untar it. Drag it to the Computer Website Folder (/Library/WebServer/Documents)

Configure apache with php module:

vi /etc/apache2/httpd.conf

Uncomment php module:

LoadModule php5_module libexec/apache2/libphp5.so

http://www.coolestguyplanet.net/installing-phpmyadmin-on-mac-osx-10-7-lion/

http://michaelgracie.com/2011/07/21/plugging-mcrypt-into-php-on-mac-os-x-lion-10-7/

Install git:
brew install git

Comments