一、memcache.so 的安装wget http://pecl.php.net/get/memcache-2.2.7.tgztar zxvf memcache-2.2.7.tgz./configure --enable-memcache --with-php-config=/usr/local/...
分类:
Web程序 时间:
2014-07-22 22:51:53
阅读次数:
813
CGI has maybe the worst lift cycle possible.As designed, each request to a CGI resource creates a new process on the server andpasses information to.....
分类:
Web程序 时间:
2014-07-22 09:06:07
阅读次数:
330
突然好奇心作祟,想看看jQuery请求时客户端使用的端口号,在IE的F12开发人员工具中并未找到,到chrome的开发者工具中也未找到,通过netstat还是搞不定,换个思路到服务器端研究了下servlet的Request接口API,还是...
分类:
Web程序 时间:
2014-07-22 09:03:04
阅读次数:
289
1? struts框架入门: 1 jsp页面: hello.jsp:<a href="${pageContext.request.contextPath}/hello.action">struts入门</a> success.jsp:结果处理页面 2 web.xml中配置前端配置器: ? </welcome-file-list> ?<...
分类:
其他好文 时间:
2014-07-22 08:31:35
阅读次数:
302
1,安装环境:centos 6.4 python 2.6.6 2,安装easy_install 工具: wget -q http://peak.telecommunity.com/dist/ez_setup.py python ez_setup.py 3, easy_install?cocos2d...
分类:
编程语言 时间:
2014-07-22 08:22:37
阅读次数:
254
zabbix 更换 TokuDB 过程(我用的是percona db): wget?http://www.percona.com/redir/downloads/Percona-Server-5.6/LATEST/binary/redhat/6/x86_64/Percona-Server-tokudb-56-5.6.19-rel67.0.el6.x86_64.rpm?...
分类:
数据库 时间:
2014-07-21 10:23:35
阅读次数:
443
1. urlopen可以给一个Request Object返回一个response object,read()读取相应对象的内容,这时候的print(the_page)可以输出网页的html内容1 import urllib22 3 req = urllib2.Request('http://www...
分类:
编程语言 时间:
2014-07-20 09:03:38
阅读次数:
301
In one embodiment, a network management system (NMS) determines an intent to initialize a request-response exchange with a plurality of clients in a l...
分类:
Web程序 时间:
2014-07-20 08:31:43
阅读次数:
382
一、安装libeventsudo wget http://www.monkey.org/~provos/libevent-1.3.tar.gzsudo tar zxvf libevent-1.3.tar.gzcd libevent-1.3sudo ./configure -prefix=/usrsu...
分类:
系统相关 时间:
2014-07-19 16:12:10
阅读次数:
211
HttpWebRequest request = WebRequest.Create("http://www.1314721.com.cn/") as HttpWebRequest; HttpWebResponse response = request.GetResponse() as HttpW....
分类:
Web程序 时间:
2014-07-19 14:25:36
阅读次数:
219