码迷,mamicode.com
首页 >  
搜索关键字:spawned by agent    ( 4601个结果
putty+GPG2
1. It usually resides in %appdata%\gnupg (or C:\Users\%username%\AppData\Roaming); make sure the gpg-agent.conf file has the line enable-putty-support in it somewhere. 2.you have to restart the a...
分类:其他好文   时间:2015-10-07 14:52:13    阅读次数:194
Java API解读
JavaMail API是读取、撰写、发送电子信息的可选包。我们可用它来建立如Eudora、Foxmail、MS Outlook Express一般的邮件用户代理程序(Mail User Agent,简称MUA)。让我们看看JavaMail API是如何提供信息访问功能的...
分类:编程语言   时间:2015-10-04 13:38:31    阅读次数:278
flume+kafka+hdfs详解
flume架构图单节点flume配置flume-1.4.0启动flumebin/flume-ngagent--conf./conf-fconf/flume-conf.properties-Dflume.root.logger=DEBUG,console-nagent-n表示配置文件中agent的名字agent.sources=r1 agent.sinks=s1 agent.channels=c1 agent.sources.r1.channels=c1 agent.si..
分类:Web程序   时间:2015-10-04 06:47:55    阅读次数:525
Python爬虫初探
pycharm中控制台运行后出现乱码。需要文件>>设置>>编辑器>>文件编码爬取网页#-*-coding:utf-8-*- importrequests #中文编码UTF-8 importsys reload(sys) sys.setdefaultencoding(‘utf-8‘) #模拟浏览器 hea={‘User-Agent‘:‘Mozilla/5.0(WindowsNT6.2;WOW64)..
分类:编程语言   时间:2015-10-03 06:16:21    阅读次数:342
CDH安装失败了,如何重新安装
1> 删除Agent节点的UUID # rm -rf /opt/cm-5.4.7/lib/cloudera-scm-agent/*2> 清空主节点CM数据库 进入主节点的Mysql数据库,然后drop database cm;3> 删除Agent节点namenode和datanode节点信息 ...
分类:其他好文   时间:2015-09-29 16:30:41    阅读次数:761
解析浏览器的访问信息
一、UserAgentUtils UserAgentUtils是一个处理user-agent 字符的一个工具。可以用来实时地处理http请求和分析http请求日志文件。这里可以使用UserAgentUtils对访问用户的浏览器类型、操作系统、设备种类等进行统计分析,从而为网址的用户量的增加,做出.....
分类:其他好文   时间:2015-09-29 16:10:51    阅读次数:118
http请求头
GET/HTTP/1.1Host: www.baidu.comUser-Agent:Mozilla/5.0(Windows;U;WindowsNT5.1;en-US;rv:1.7.6)Gecko/20050225Firefox/1.0.1Connection:Keep-AlivePOST/HTTP/...
分类:Web程序   时间:2015-09-26 23:52:54    阅读次数:220
SQL Server "Login failed for user 'xxx\yyy'. [SQLSTATE 28000] (Error 18456). " 问题解决
问题:SQL Server 2014,使用Job定时从Linked Server同步数据,执行时报"Login failed for user '域帐号'. [SQLSTATE 28000] (Error 18456). "解决:通过配置管理工具修改SQL Server Agent服务启动帐号为域帐...
分类:数据库   时间:2015-09-26 17:17:52    阅读次数:273
nginx 禁止恶意uesr agent访问
禁用一些UserAgent可以节省一些流量也可以防止一些恶意的访问,尤其是部份搜索引擎爬虫,例如我们的网站就是一个地方性站点,没有必要被一些国外的搜索引擎爬虫索引,都可以禁掉,具体操作如下:1、编辑该文件:#vi/usr/local/nginx/conf/vhosts/yourpool.conf2、增加以下内容(..
分类:其他好文   时间:2015-09-25 04:01:45    阅读次数:238
nginx rewrite (不支持if 嵌套也不支持逻辑或和逻辑并)
apache的rewrite是支持或者的,用个OR就可以,如果不加OR,多个RewriteCond罗列累加就是并且的意思。然后nginx的rewrite就没有这么好了。那么如何去实现这样复杂的功能呢?这就用到了标记功能。现在出一个简单的需求:要求访问uri以/abc/开头的请求,并且user_agent带有ie6或者..
分类:其他好文   时间:2015-09-25 04:01:42    阅读次数:189
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!