Linux下安装nginx
#./configure--prefix=/usr/local/nginx 如果提示缺少pcre库, 则从http://www.pcre.org/ 下载 (wget ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/pcre-8.37.tar.bz2) 假设解压在/usr/local/src/pcre-8.37 假设安装在/usr/local/pcre
配置:
Linux下安装nginx
#./configure--prefix=/usr/local/nginx 如果提示缺少pcre库, 则从http://www.pcre.org/ 下载 (wget ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/pcre-8.37.tar.bz2) 假设解压在/usr/local/src/pcre-8.37 假设安装在/usr/local/pcre
配置: