以下是在macosx10.9.2安装nginx步骤 先将下载包解压,然后分别安装pcre和nginx 安装PCRE $tarxvzfpcre-8.12 $cdpcre-8.12 $sudo./configure--prefix=/usr/local $sudomake $sudomakeinstall 安装Nginx $tarxvzfnginx-1.11.2.tar $cdnginx-1.11.2 $sudo./configure--prefix=/usr/local/nginx--with-http_ssl_module--with-c