下载相应版本的nginx
解压进入该版本的目录下
在命令行执行
./configure --with-cc-opt="-Wno-deprecated-declarations" --without-http_rewrite_module
执行 make
执行 make install
执行 sudo /usr/local/nginx/sbin/nginx
最后
以上就是犹豫小伙最近收集整理的关于mac 下 安装nginx的方法小结的全部内容,更多相关mac内容请搜索靠谱客的其他文章。
本图文内容来源于网友提供,作为学习参考使用,或来自网络收集整理,版权属于原作者所有。
发表评论 取消回复