标签:
下载:
wget http://nginx.org/download/nginx-1.8.0.tar.gz
解压:
tar zxvf nginx-1.8.0.tar.gz
进入目录:
cd nginx-1.8.0
配置
./configure --prefix=/usr/local/nginx --without-http_rewrite_module --without-http_gzip_module
编译
make
安装
make install
启动
/usr/local/nginx/sbin/nginx
查看是否启动
ps -ef|grep nginx
关闭进程
kill -QUIT 主进程号
标签:
原文地址:http://www.cnblogs.com/dehai/p/4887241.html