1.BIND的组成?
* named守护进程–用来回答查询结果的
* 去联系DNS分布式数据库的服务器用来解析主机查询的库例程
* DNS的一些重要命令:nslookup,dig和host
* 2.名字服务器
* 权威--一个区的正式代表
* 主服务器:每个区都有的一个主名字服务器,保存着本区数据的正式拷贝。SA...
分类:
其他好文 时间:
2014-07-22 23:04:55
阅读次数:
334
链接:http://acm.zju.edu.cn/onlinejudge/showProblem.do?problemId=586
In the planet w-503 of galaxy cgb, there is a kind of intelligent creature named QS. QScommunicate with each other via networks. If...
分类:
Web程序 时间:
2014-05-10 09:38:02
阅读次数:
537
centos 下安装 python easy_installcurl -O
http://peak.telecommunity.com/dist/ez_setup.pypython ez_setup.py -U
setuptools如果出现 setuptools.egg下载不了 更改ez_setup...
分类:
编程语言 时间:
2014-05-09 17:06:03
阅读次数:
665
调用成功,但是出现异常出现异常:org.apache.axis.ConfigurationException:
No service named is available org.apache.axis.ConfigurationException: No service
named is avai...
分类:
其他好文 时间:
2014-05-09 12:45:24
阅读次数:
569
解决方法: 执行以下命令: rndc-confgen -r /dev/urandom
-a然后再重启DNS服务: service named start 服务正常
分类:
其他好文 时间:
2014-05-07 09:53:40
阅读次数:
276
为了实现验证码的功能,使用了PIL。结果出现各种问题:先是"ImportError: The
_imagingft C module is not
installed",google了很长时间,在公司windows下不知怎么卸载又安装PIL居然好了,但却不知道到底怎么回事,稀里糊涂的验证码就可以出来...
分类:
编程语言 时间:
2014-05-07 09:21:14
阅读次数:
425
今天用yum安装软件的时候出现如下错误:TherewasaproblemimportingoneofthePythonmodulesrequiredtorunyum.Theerrorleadingtothisproblemwas:NomodulenamedyumPleaseinstallapackagewhichprovidesthismodule,orverifythatthemoduleisinstalledcorrectly.It’spossiblethattheabo..
分类:
其他好文 时间:
2014-05-06 16:09:23
阅读次数:
297
命名的返回值优化:
针对返回一个局部的变量的优化,可以直接用返回的结果对象直接替代局部变量,从而减少了一个复制拷贝,从而提高效率。比如 一个函数如下:X bar(){ X xx;
// .. 处理xx return xx;}而在编译器看来则是如下的代码: // 此处的_resu...
分类:
其他好文 时间:
2014-05-06 00:01:10
阅读次数:
442
我猜~~~很多一开始学习python的同学们一定也遇到了这个问题,在安装setuptools时候会遇到UnicodeDecodeError的错误。我学的是3.x,但是周围的人都说2.7好,╮(╯▽╰)╭一开始我也不在乎,但是工作需要使用mongodb,但是它的包暂时只有2.7,我点点点点。无奈我也就...
分类:
编程语言 时间:
2014-05-02 16:24:03
阅读次数:
410
直接就上代码了:-module(shop).-export([cost/1,total/1]).cost(orange)
-> 5;cost(newspaper) -> 8;cost(apples) -> 2;cost(pears) ->
9;cost(milk) -> 7....
分类:
其他好文 时间:
2014-05-02 12:58:19
阅读次数:
280