启动nginxstart nginx停止nginxnginx -s stop 重启nginxnginx -s reload查看版本信息nginx -v大写V是查看配置信息查看nginx进程tasklist /fi "imagename eq nginx.exe"
分类:
其他好文 时间:
2014-08-07 18:50:10
阅读次数:
166
fuser -cu /usr/local/openresty/nginx/html/down/fuser -ck /usr/local/openresty/nginx/html/down/fuser -c /usr/local/openresty/nginx/html/down/umount /u....
分类:
其他好文 时间:
2014-08-07 18:21:40
阅读次数:
214
当今nginx的 劲头越来越猛,记得2011年版本才1.0.6,现在已经更新到了1.5.1,nginx的更新速度越来越快。一直想记录一系列的nginx教程,处于各 种原因没去做.今年抽出时间完成平时工作上用到的nginx.后续将会以视频教程的方式来做。当然,还是文章先出,下一篇文章将会讲nginx虚...
分类:
其他好文 时间:
2014-08-07 18:03:50
阅读次数:
242
pip-installed uWSGI ./python_plugin.so
error
使用xml格式的uwsgi配置 uwsgi -x /home/zoueswebsite/zoueswebsite.xml的命令显示如下error:
open("./python_plugin.so"): No such file or directory [core/utils.c l...
分类:
其他好文 时间:
2014-08-07 15:43:40
阅读次数:
343
英文原文:Optimizing Nginx for High Traffic Loads 过去谈过一些关于Nginx的常见问题; 其中有一些是关于如何优化Nginx. 很多Nginx新用户是从Apache迁移过来的,因些他们过去常常调整配置和执行魔术操作来确保服...
分类:
其他好文 时间:
2014-08-07 13:35:10
阅读次数:
388
nginx启动报错:errorwhileloadingsharedlibraries:libpcre.so.1:cannotopensharedobjectfile:Nosuchfileordirectory我用的是64位系统解决办法:[root@lee~]#ln-s/usr/local/lib/libpcre.so.1/lib64启动nginx即可:/usr/local/webserver/nginx/sbin/nginx
分类:
其他好文 时间:
2014-08-07 13:29:30
阅读次数:
181
最近windowsserver2012R2的出现,对hyper-v的功能有很大的增强,也有更多的人开始关注hyper-v虚拟化技术,最近公司规划要搭建一个hyper-v高可用群集,以下是我此次搭建hyper-v群集的步骤及笔记:如图所示:服务器:此次hyper-v群集设计到6个节点,这六个节点都是使用的dell
R71..
分类:
其他好文 时间:
2014-08-07 13:28:10
阅读次数:
248
Memcache自身并没有实现集群功能,如果想用Memcahce实现集群需要借助第三方软件或者自己设计编程实现,这里将采用memagent代理实现,memagent又名magent,大家注意下,不要将这二者当成两种工具...
分类:
其他好文 时间:
2014-08-07 13:20:20
阅读次数:
220
Nginx不支持对外部程序的调用,所以必须通过FastCGI接口实现对外部程序的调用从而实现对客户端动态页面请求的处理。
CGI的英文全称为Common Gateway Interface(公共网关接口),是Nginx和动态脚本程序的桥梁,Nginx通过FastCGI接口将动态请求发送给FastCGI,FastCGI中的Wrapper进程生成一个线程,将请求交给脚本解释程序执行,然后...
分类:
Web程序 时间:
2014-08-07 13:19:30
阅读次数:
212
如果uwsgi错误中提示
*** no app loaded. going in full dynamic mode ***
执行
[plain] view
plaincopy
aptitude install uwsgi-plugin-python
之后重启uwsgi...
分类:
其他好文 时间:
2014-08-07 13:16:10
阅读次数:
185