直接yum install nginx不行,要先处理下源,下面是安装完整流程1. rpm -ivhhttp://nginx.org/packages/centos/6/noarch/RPMS/nginx-release-centos-6-0.el6.ngx.noarch.rpm2.查看yum的ngi...
分类:
其他好文 时间:
2014-07-26 01:12:56
阅读次数:
209
参考自http://segmentfault.com/q/1010000000256516首先,CGI是干嘛的?CGI是为了保证web server传递过来的数据是标准格式的,方便CGI程序的编写者。web server(比如说nginx)只是内容的分发者。比如,如果请求/index.html,那么...
分类:
Web程序 时间:
2014-07-26 00:28:56
阅读次数:
276
In Unity scripting, there are a number of event functions that get executed in a predetermined order as a script executes. This execution order is des...
分类:
其他好文 时间:
2014-07-25 23:53:10
阅读次数:
449
1. [代码]javascript 简单的search ?2. [代码][JavaScript]代码 var fs=require('fs');var path=require('path');function quick_cloud(page_path){ var content=fs.rea.....
分类:
编程语言 时间:
2014-07-25 19:02:32
阅读次数:
538
每当夏秋之交,我们都有展会,展会完后,都有很多的新的潜在客户要添加,我们收了一大堆名片,想入openERP还是需要一定时间的,而且名片的图片导入没有什么简洁的方法,所以我就想写个script来进行导入这些名片以及相关的客户信息。XML-RPC是一个远程过程调用(remote procedure ca...
分类:
其他好文 时间:
2014-07-25 14:25:51
阅读次数:
266
这里选择直接apt-get安装,因为比起自己编译简单多了,不需要自己配置什么#sudo apt-get install curl libcurl3 libcurl3-dev php5-curl安装后重启nginx#nginx -s reload岂知出现错误,php全部不能访问,查看错误日志如下:20...
分类:
Web程序 时间:
2014-07-25 14:15:23
阅读次数:
243
写个 crontab ,命令是类似这样的/path/to/script `date +%Y-%m-%d`直接运行很正常,但是在 crotnab 里就出错。/bin/sh: -c: line 1: unexpected EOF while looking for matching ``'/bin/sh...
分类:
其他好文 时间:
2014-07-25 14:02:15
阅读次数:
225
#3# ### <script>aler t(1234);</script> <basbd ? llll ### wer adfasdf tttttttttttt
分类:
其他好文 时间:
2014-07-25 11:43:21
阅读次数:
192
操作环境:iP地址角色安装软件10.43.2.135nginx方向代理memcached服务器nginxmemcached10.43.2.134tomcat服务器2个tomcat(端口分别为80808081)实验中使用的软件如下:实现思路:第一步:针对10.43.2.134的操作1.在10.43.2.134上安装2个tomcat2.在$CATALINA/webapps/ROOT/下建..
分类:
其他好文 时间:
2014-07-25 11:36:12
阅读次数:
316
A process performed on a server includes configuring the server to enable script for a Web service to be defined dynamically, where the Web service in...
分类:
Web程序 时间:
2014-07-25 02:32:54
阅读次数:
419