下载源码:http://nginx.org/en/download.html
1: yum -y install gcc gcc-c++ autoconf automake make
2:yum -y install pcre-devel
3:yum -y install openssl openssl-devel
4:./configure –prefix=/home/ap/sdcn/nginx
5:make install
6:/home/ap/sdcn/nginx/sbin/nginx
7:ps auxfww|grep nginx
原创文章,作者:306829225,如若转载,请注明出处:https://blog.ytso.com/278141.html