Created
June 25, 2014 16:25
-
-
Save OdinsHat/740c61965e662937482a to your computer and use it in GitHub Desktop.
Quick instructions/script okn installing LEMP stack via homebrew
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
### Install LEMP Stack on OSX Mavericks | |
# Make sure xcode CLI tools installed | |
xcode-select --install | |
# Install homebrew | |
ruby -e "$(curl -fsSL https://raw.github.com/Homebrew/homebrew/go/install)" | |
# Install nginx | |
brew install nginx | |
cd /usr/local/etc/nginx | |
mkdir conf.d | |
# Install MySQL | |
brew install mysql | |
# Install PHP 5.5 | |
brew tap josegonzalez/php | |
brew tap homebrew/dupes | |
brew install php55 --with-fpm --without-apache --with-debug --with-mysql | |
pear install PHP_CodeSniffer | |
ln -s /usr/local/Cellar/php55/5.5.13/bin/phpcs /usr/local/bin/phpcs |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment