mac 下 安装nginx

  1. 下载相应版本的nginx
    nginx

  2. 解压进入该版本的目录下spa

  3. 在命令行执行  命令行

    ./configure  --with-cc-opt="-Wno-deprecated-declarations" --without-http_rewrite_modulecode

  4. 执行  make it

  5. 执行 make installio

  6. 执行 sudo /usr/local/nginx/sbin/nginxmodule

相关文章
相关标签/搜索