Hadoop集群中,使用DNS而不是hosts来访问服务器。 1. 安装bind软件 用root用户运行: yum -y install bind* 2. 配置named.conf文件 vi /etc/named.conf 修改以下部分: listen-on port 53 { any; }; al...
分类:
其他好文 时间:
2015-06-11 18:49:07
阅读次数:
132
Description
In the deep universe, there is a beautiful planet named as CS on which scientists have decided to build Immense Colossal Particle Collider (i.e. ICPC) to find the ultimate theory of t...
分类:
编程语言 时间:
2015-06-10 12:24:37
阅读次数:
135
架设前的准备:要架设DNS服务器,则必须安装可以提供DNS服务的软件程序,即bind软件,使用下面的命令即可安装:yuminstall-ybind-chrootbind-utis1.修改主配置文件/etc/named.conf此服务器的架设相对简单,即实际上是把自己这台[所谓的DNS服务器]作为一个代理,向上执行查询DNS..
分类:
其他好文 时间:
2015-06-10 01:22:56
阅读次数:
289
添加UIVisualEffectViewby 伍雪颖let bgView : UIImageView = UIImageView(image: UIImage(named: "1.jpg"))
bgView.frame = self.view.bounds
self.view.addSubview(bgView)let blurEffect: UIBlurEffect = UIBlurEffect(...
分类:
其他好文 时间:
2015-06-09 11:49:28
阅读次数:
107
题目连接http://acm.hdu.edu.cn/showproblem.php?pid=5142NPY and FFTDescriptionA boy named NPY is learning FFT algorithm now.In that algorithm,he needs to do...
分类:
其他好文 时间:
2015-06-08 19:26:20
阅读次数:
111
Once there was a king named Akbar. He had a son named Shahjahan. For an unforgivable reason the king wanted him to leave the kingdom. Since he loved his son he decided his son would be banished in a ne...
分类:
其他好文 时间:
2015-06-08 10:03:39
阅读次数:
100
先用yum安装bind这个包(这个包是DNS的安装包)然后关闭SELinuxsetenforce0在清空防火墙iptables-F安装完只后vim到/etc/named.conf进入后修改options区域修改之前是这样修改之后是这样接着修改named.rfc1912.zones文件,vi/etc/named.rfc1912.zones这个文件仅保留这两个区域正..
分类:
系统相关 时间:
2015-06-06 23:38:55
阅读次数:
190
/*下面一段程序中,在named类中设置了两个构造函数,分别设置字符串接收方式为string和char*,当n中显示的设定构造为string时,会调用string参数的构造函数,而m中直接传字符串的方式,调用的是char*构造,在一些C++的教科书中,可能因为编译器的不同而将直接使用字符串常量构造的...
分类:
系统相关 时间:
2015-06-03 23:00:49
阅读次数:
219
We will learn how to call Rest Api in SharePoint Online, here is the requirment:
There is a customer list named "Customers", we will output the title of all items in the list.
Introduce Rest Api:
...
Well, in fact the problem of next permutation has been studied long ago. From theWikipedia page, in the 14th century, a man named Narayana Pandita giv...
分类:
其他好文 时间:
2015-06-02 23:26:30
阅读次数:
131