上一页 1 ··· 163 164 165 166 167 168 169 170 171 ··· 198 下一页
摘要: # -*- coding: utf-8 -*- import cookielib import urllib2 url = "http://www.baidu.com" print "第一种方法" response1 = urllib2.urlopen(url) print response1.getcode() print len(response1.read()) print "第二种方... 阅读全文
posted @ 2016-11-29 21:53 brady-wang 阅读(1707) 评论(0) 推荐(0)
摘要: sz /etc/sysconfig/network-scripts/ifcfg-eth1 阅读全文
posted @ 2016-11-29 09:16 brady-wang 阅读(400) 评论(0) 推荐(0)
摘要: ci重定向 对于/index.php/abc这种url,Apache和lighttpd会按"index.php?abc"来解释,而nginx会认为是请求名字是“index.php”的目录下的abc文件的内容。所以CI在nginx下不配置rewrite是无法运行的,而在Apache和lighttpd则 阅读全文
posted @ 2016-11-28 18:59 brady-wang 阅读(907) 评论(0) 推荐(0)
摘要: 1 2 3 4 阅读全文
posted @ 2016-11-26 10:05 brady-wang 阅读(774) 评论(0) 推荐(0)
摘要: 表 配置文件csft.conf php代码 ./indexer delta --rotate 阅读全文
posted @ 2016-11-26 00:24 brady-wang 阅读(614) 评论(0) 推荐(0)
摘要: 配置文件 数据库数据 php代码 效果图片: 阅读全文
posted @ 2016-11-25 23:02 brady-wang 阅读(956) 评论(0) 推荐(0)
摘要: 【转】sphinx服务器安装及配置详解 安装PHP sphinx扩展 【转】sphinx服务器安装及配置详解 安装PHP sphinx扩展 1、架构:ip192.168.0.200 redhat5.4(64位)2、安装 #cd /usr/local/src #yum -y install mysql 阅读全文
posted @ 2016-11-22 20:42 brady-wang 阅读(235) 评论(0) 推荐(0)
摘要: 表现: /home/sphinx-1.1.0/sphinx.c: In function ‘php_sphinx_client_read_property’:/home/sphinx-1.1.0/sphinx.c:105:2: error: too few arguments to function 阅读全文
posted @ 2016-11-22 16:37 brady-wang 阅读(308) 评论(0) 推荐(0)
摘要: sphinx的配置文件是在配置的时候最容易出错的了: 我们先要明白几个概念: source:数据源,数据是从什么地方来的。 index:索引,当有数据源之后,从数据源处构建索引。索引实际上就是相当于一个字典检索。有了整本字典内容以后,才会有字典检索。 searchd:提供搜索查询服务。它一般是以de 阅读全文
posted @ 2016-11-22 13:57 brady-wang 阅读(626) 评论(0) 推荐(0)
摘要: sphinx :undefined reference to `libiconv' 报错解决办法 2013-11-30 21:45:39 安装sphinx时不停报错。。。郁闷在make时报错,错误内容:r local src sphinx sphinx-0 9 8-rc2 src tokenizer 阅读全文
posted @ 2016-11-22 12:54 brady-wang 阅读(526) 评论(0) 推荐(0)
上一页 1 ··· 163 164 165 166 167 168 169 170 171 ··· 198 下一页