ansible简介ansible是一款新出的自动化运维工具,基于Python开发,可实现对多台服务器进行批量配置、程序的部署及指令的运行。大大减少了在运维工程中的工作量。常见的运维工具的工作模式有两种agent和agentless。ansible属于后者,即在被控制端没有代理运行。ansible基于ssh实..
分类:
其他好文 时间:
2015-08-09 07:19:11
阅读次数:
219
ssh-agent命令网络安全ssh-agent命令是一种控制用来保存公钥身份验证所使用的私钥的程序。ssh-agent在X会话或登录会话之初启动,所有其他窗口或程序则以客户端程序的身份启动并加入到ssh-agent程序中。通过使用环境变量,可定位代理并在登录到其他使用ssh机器上时使用代理自动..
分类:
其他好文 时间:
2015-08-07 16:29:36
阅读次数:
124
Secret agent Maria was sent to Algorithms City to carry out an especially dangerous mission. After
several thrilling events we find her in the first station of Algorithms City Metro, examining the ti...
分类:
其他好文 时间:
2015-08-07 11:16:34
阅读次数:
130
轉載自:http://kb.cnblogs.com/page/73901/流程 当资源第一次被访问的时候,HTTP头部如下(Request-Line) GET /a.html HTTP/1.1Host 127.0.0.1User-Agent Mozilla/5.0 (X11; U; Lin...
分类:
Web程序 时间:
2015-08-07 09:22:04
阅读次数:
148
最近在研究计算机网络,对浏览器的http请求报文有所了解,发现一个有趣的现象。搜索了一下,找到以下文章,笑死我了。你是否好奇标识浏览器身份的User-Agent,为什么每个浏览器都有Mozilla字样?
Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/27.0.1453.94 Safa...
分类:
其他好文 时间:
2015-08-06 18:30:15
阅读次数:
158
最近重新统计服务器的一些基本信息,起初想就用excle表格就得了。但既然zabbix有资产管理的功能还不如直接用这个功能多好。说干就干。为服务器agent增加相应的itemUserParameter=get.factory.info,echo"`/usr/sbin/dmidecode|egrep-A2‘SystemInformation‘|egrepManufacturer|aw..
分类:
其他好文 时间:
2015-08-06 13:33:31
阅读次数:
166
# -*- coding:utf-8 -*- import urllibimport urllib.requestimport repage = 1 url = 'http://www.qiushibaike.com/hot/page/1'+str(page)user_agent = 'Mozil....
分类:
编程语言 时间:
2015-08-06 00:12:27
阅读次数:
176
找到:LogFormat"%h%l%u%t\"%r\"%>s%b\"%{Referer}i\"\"%{User-Agent}i\""combinedLogFormat"%h%l%u%t\"%r\"%>s%b"commonLogFormat"%{Referer}i->%U"refererLogFormat"%{User-agent}i"agent再后面加上图片文件的类型SetEnvIfRequest_URI\.gif$gif-p_w_picpathSetEnvIfR..
分类:
Web程序 时间:
2015-08-05 22:41:31
阅读次数:
190