Enterprise-Onion-Toolkit/000-setup-osx.sh

18 wiersze
423 B
Bash
Czysty Zwykły widok Historia

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/
brew update
brew upgrade
2017-02-01 08:38:03 +00:00
brew unlink nginx # this may fail if not installed
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 08:38:03 +00:00
brew install openssl dnsmasq tor
cp /usr/local/opt/dnsmasq/dnsmasq.conf.example /usr/local/etc/dnsmasq.conf
sudo brew services start dnsmasq