OpenResty安装 Mac,openresty安装mac


Mac OS X (Darwin) Users

1.
brew update
brew install pcre openssl

2.

sudo ./configure \
–with-cc-opt=”-I/usr/local/Cellar/openssl/1.0.2g/include/ -I/usr/local/Cellar/pcre/8.38/include/” \
–with-ld-opt=”-L/usr/local/Cellar/openssl/1.0.2g/lib/ -L/usr/local/Cellar/pcre/8.38/lib/” \
-j8

3.
sudo make

4.
sudo make install

参考网址
http://openresty.org/en/installation.html

相关内容

    暂无相关文章