Skip to content

Instantly share code, notes, and snippets.

@ahmadrosid
Last active January 9, 2020 11:04
Show Gist options
  • Save ahmadrosid/862c7b4012ffa41e87ec65eb96f7c66c to your computer and use it in GitHub Desktop.
Save ahmadrosid/862c7b4012ffa41e87ec65eb96f7c66c to your computer and use it in GitHub Desktop.

Install OpenResty in mac.

brew update
brew install pcre openssl

wget http://openresty.org/download/openresty-1.9.7.3.tar.gz
tar xzvf openresty-1.9.7.2.tar.gz
cd openresty-1.9.7.2

./configure -j2 --with-pcre-jit --with-ipv6
make -j2
sudo make install
export PATH=/usr/local/openresty/bin:/usr/local/openresty/nginx/sbin:$PATH
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment