Nginx大杂烩

http://nginx.org/

 

yum install gcc-c++

yum -y install zlib zlib-devel openssl openssl--devel pcre pcre-devel

find -name nginx

yum    remove nginx

tar -zxv -f nginx-1.2.6.tar.gz

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

make

make install

 

ps ax | grep nginx

netstat -na | grep 80

停止(主线程ID):kill -quit 6058

快停(主线程IDkill -term 6051

强制:pkill -9 nginx

重启:./nginx -s reload

 

 

 

 

参考:http://network810.blog.51cto.com/2212549/1264669

你可能感兴趣的:(nginx)