如何配置BIND9,使得向它发起的所有DNS请求都返回固定的IP地址?通过一些小技巧,可以实现。下面是一个配置示例:首先是主配置文件named.conf的配置:zone "." { type master; file "/etc/named.fakeroot";};其中上面的zone "...
分类:
其他好文 时间:
2014-07-16 21:37:24
阅读次数:
226
FIELDOne embodiment of the invention relates to a closed loop thermal control process in a portable electronic device having several embedded temperat...
分类:
其他好文 时间:
2014-07-15 08:26:14
阅读次数:
260
refer to:http://effbot.org/zone/python-with-statement.htmJudging from comp.lang.python and other forums, Python 2.5’s newwithstatement(dead link) seem...
分类:
编程语言 时间:
2014-07-14 15:45:21
阅读次数:
263
关于存储的一些知识根据传输协议的不同的,网卡可分为三种,一是以太网卡,二是FC网卡,三是iSCSI网卡。以太网卡:学名Ethernet Adapter,传输协议为IP协议,一般通过光纤线缆或双绞线与以太网交换机连接。接口类型分为光口和电口。光口一般都是通过光纤线缆来进行数据传输,接口模块一般为SFP...
分类:
系统相关 时间:
2014-07-14 00:29:45
阅读次数:
1091
近期工作中,发现了一个bug,是和ListView Adapter有关的。产生了FC,描写叙述信息大约是"The content of the adapter has changed but ListView did not receive a notification. Make sure the...
分类:
其他好文 时间:
2014-07-13 17:51:11
阅读次数:
273
优化性能参数设置,在ngnix.conf中的http 层加上fastcgi参数如下:
http {
fastcgi_cache_path /usr/local/nginx/fastcgi_cache levels=1:2 keys_zone=TEST:10m inactive=5m;
fastcgi_connect_timeout=300;
fastcgi_send_timeout=30...
分类:
其他好文 时间:
2014-07-13 17:17:07
阅读次数:
218
在Linux下执行svn add *时出现如下错误:svn: Valid UTF-8 data(hex: 4b)followed by invalid UTF-8 sequence(hex: fc 63 68 65)出现这个错误是因为svn库里有文件的名字不是utf-8编码的,这种情况对于中文来说很...
分类:
系统相关 时间:
2014-07-13 08:03:13
阅读次数:
324
系统时区设置:::查看当前时区# date -R修改系统时区# timeconfig 或# cp /usr/share/zoneinfo/Asia/Shanghai /etc/localtime 覆盖# vim /etc/sysconfig/clock文件: ZONE="Asia/Shanghai#...
分类:
其他好文 时间:
2014-07-11 19:55:16
阅读次数:
264
下面整理的内容都是在CloudStack的Advance Zone 中创建隔离的来宾网络(不是VPC中的网络),vlan id :305,VM 模板为 ubuntu 10.04,
流程图
下图为整理的创建VM以及VM通信的主要流程。
看到流程图,就应该大体清楚是怎么回事了,再说一下自己的一...
分类:
其他好文 时间:
2014-07-10 21:24:21
阅读次数:
321