CentOS安装NGING

下载NGINX

wgethttp://nginx.org/download/nginx-1.9.9.tar.gz

1.环境准备

yum-yinstallgccgcc-c++autoconfautomakemake

yum-yinstallzlibzlib-developensslopenssl--develpcrepcre-devel

2,解压tar

tar-xzvfnginx-1.9.9.tar.gz

cdnginx-1.9.9

./configure--prefix=/usr/local/nginx

make&&makeinstall

具体也可参考

http://www.cnblogs.com/jenry/archive/2013/06/13/3134414.html

相关推荐