码迷,mamicode.com
首页 > 其他好文 > 详细

nginx

时间:2015-04-21 00:08:21      阅读:186      评论:0      收藏:0      [点我收藏+]

标签:

查看IP命令: ip addr show

CentOS 6下安装nginx

CentOS 7.0,启用iptables防火墙

http://ju.outofmemory.cn/entry/46060

http://stackoverflow.com/questions/5009324/node-js-nginx-and-now

 

下载:
#wget http://nginx.org/download/nginx-1.6.3.tar.gz
解压与安装:
# tar -zvf nginx-1.6.3.tar.gz
# cd nginx-1.6.3
# ./configure
# make
# make install

 

启动
# nginx

停止

# kill -s QUIT <PID> 

注: PID 指 nginx 的master进程号

查看使用端口: # ps aux | grep nginx

 

CentOS 7: ifconfig command not found

http://my.oschina.net/u/1428349/blog/288708

nginx

标签:

原文地址:http://www.cnblogs.com/swlin/p/4354844.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!