2017-02-01 08:38:03 +00:00
|
|
|
#!/bin/sh
|
|
|
|
# eotk (c) 2017 Alec Muffett
|
|
|
|
|
|
|
|
# if you lack homebrew, see: http://brew.sh/homebrew-nginx/
|
|
|
|
|
2017-02-01 11:39:26 +00:00
|
|
|
brew update
|
|
|
|
brew upgrade
|
|
|
|
|
2017-02-01 08:38:03 +00:00
|
|
|
brew unlink nginx # this may fail if not installed
|
2017-02-01 11:39:26 +00:00
|
|
|
|
2017-02-01 08:38:03 +00:00
|
|
|
brew tap homebrew/nginx
|
|
|
|
brew install nginx-full --with-subs-filter-module --with-headers-more-module
|
2017-02-01 11:39:26 +00:00
|
|
|
|
2017-02-01 08:38:03 +00:00
|
|
|
brew install openssl dnsmasq tor
|
2017-02-01 11:39:26 +00:00
|
|
|
|
|
|
|
cp /usr/local/opt/dnsmasq/dnsmasq.conf.example /usr/local/etc/dnsmasq.conf
|
|
|
|
sudo brew services start dnsmasq
|