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

18 wiersze
423 B
Bash
Executable File

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