下载nginx tar zxf ngixn.xxx //解压nginx 到 /home/work ./configure --prefix=/home/work/nginx --with-pcre=PCRE源码位置 //编译 make make install