安装nging,php
http://www.zihou.me/html/2010/11/14/2658.html
http://www.linuxidc.com/Linux/2011-04/34964p4.htm
http://www.cnblogs.com/jsckdao/archive/2011/05/05/2038265.html
1.下载 pcre-8.10.tar.gz (http://sourceforge.net/projects/pcre/files/pcre/)
#unzip pcre-8.10.zip
#cd pcre-8.10
#./configure
#make && make install
2.下载nginx
# cd nginx-1.1.1
# ./configure --prefix=/usr/local/nginx --with-http_stub_status_module
# make && make install
检查是否安装成功
cd /usr/local/nginx/sbin
./nginx -t
结果显示:
nginx: the configuration file /usr/local/nginx/conf/nginx.conf syntax is ok
nginx: configuration file /usr/local/nginx/conf/nginx.conf test is successful
启动nginx
cd /usr/local/nginx/sbin 目录下面 输入 ./nginx 启动 nginx
检查是否启动成功
ie 浏览器中输入 http://192.168.15.132
郑重声明:本站内容如果来自互联网及其他传播媒体,其版权均属原媒体及文章作者所有。转载目的在于传递更多信息及用于网络分享,并不代表本站赞同其观点和对其真实性负责,也不构成任何其他建议。