用这个命令
tar zxvf openssl-1.0.0.0.tar.jz
tar zxvf zlib-1.2.5.tar.jz
tar zxvf nginx-0.8.37.tar.jz
tar zxvf pcre-8.02.tar.gz
./configure --prefix=./bin --without-http_ssi_module --with-pcre=../pcre-8.02 --with-zlib=../zlib-1.2.5 --with-http_ssl_module --with-openssl=../openssl-1.0.0 --with-http_stub_status_module --without-http_memcached_module --without-http_userid_module --without-http_fastcgi_module --without-http_map_module --without-http_geo_module --without-http_autoindex_module
make && make install
需要下载:
openssl-1.0.0.0.tar.jz
zlib-1.2.5.tar.jz
nginx-0.8.37.tar.jz
pcre-8.02.tar.gz
接下来是漫长的等待! 完成后执行
sbin/nginx
用浏览器访问,出现欢迎界面成功!
具体资源下载地址: