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

20 wiersze
392 B
Bash
Executable File

#!/bin/sh -x
# eotk (c) 2017 Alec Muffett
# if you lack homebrew, see: http://brew.sh/homebrew-nginx/
brew update || exit 1
brew upgrade || exit 1
: install tor and openssl
brew install openssl tor
: do not worry if the next step fails
brew unlink nginx
: go for the full nginx
brew tap homebrew/nginx
brew install nginx-full --with-subs-filter-module --with-headers-more-module
exit 0