Skip to content

Instantly share code, notes, and snippets.

View DrewEdgar's full-sized avatar

Drew Edgar DrewEdgar

  • Sharp End Studio
View GitHub Profile
@foozlereducer
foozlereducer / A installation Process
Last active January 8, 2020 15:24
Sierra / El Capitain NGINX, PHP_FPM, FastCGI, SSH, WordPress, HTML setup
If reinstalling, the items preceded with (s) can be skipped on the reinstall
1) on your Mac open your terminal
2) Install Home Brew: /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
3) Install NGINX ( Webserver ): brew install nginx
4) (s) Install dnsmasq for local DNS and subdomains like oc.test:
~ The following commands will install dnsmasq, configure it to point all requests to the .test top-level domain to
our local machine, and make sure it starts up and runs all of the time.
~ brew install dnsmasq
~ cd $(brew --prefix); echo 'address=/.test/127.0.0.1' > etc/dnsmasq.conf
~ sudo cp -v $(brew --prefix dnsmasq)/homebrew.mxcl.dnsmasq.plist /Library/LaunchDaemons