摘要: 修改/usr/local/nginx/conf目录下的nginx.conf文件,修改后重新加载nignx服务 [root@user]#cd /usr/local/nginx/sbin [root@user]#cd ./nginx -s reload nginx指令中的优化(配置文件) nginx进程 阅读全文
posted @ 2016-08-25 17:32 云产品解决方案 阅读(287) 评论(0) 推荐(0) 编辑
摘要: 直接输出访客所在国家、省份、城市 <script src="http://pv.sohu.com/cityjson?ie=utf-8"></script> <center> <H1 > <font id="ip" size="5"></font> </H1> </center> <script ty 阅读全文
posted @ 2016-08-25 17:09 云产品解决方案 阅读(2267) 评论(0) 推荐(0) 编辑
摘要: 首先先理解一下 CGI 、FASTCGI 、PHP-FPM的概念 CGI 是用来接收HTTP请求的一个程序,例如[127.0.0.1/index.php?c=article&id=11,这个请求通过apahce、nginx等等过来,然后http服务器发送给php-cgi(就是php用来接收http的 阅读全文
posted @ 2016-08-25 16:47 云产品解决方案 阅读(284) 评论(0) 推荐(0) 编辑
摘要: 使用netstat命令,查看VPS当前链接确认是否受到攻击:netstat -ntu | awk '{print $5}' | cut -d: -f1 | sort | uniq -c | sort -n ——————————————————————————————————— 连接80端口的链接数n 阅读全文
posted @ 2016-08-25 16:28 云产品解决方案 阅读(282) 评论(0) 推荐(0) 编辑