/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- *//** This program is free software; you can redistribute it and/or modify* it under th...
分类:
其他好文 时间:
2014-06-28 10:59:12
阅读次数:
244
建立总线型拓扑。/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- *//** This program is free software; you can redistribute it and/or modify* it ...
分类:
其他好文 时间:
2014-06-24 10:54:21
阅读次数:
224
Bonding is aggregation multiple links to single link in order to increase throughput and achieve redundancy in case one of links fails. At least, offi...
分类:
其他好文 时间:
2014-06-24 10:28:42
阅读次数:
211
最近工作忙,本来不打算写,但是看看网络上这方面的资源确实少,很多都是linux的(我更爱unix,哈哈),而且很多是直接引入上一篇文章的编译结果来做的。对于使用opencv但是又老是被ffmpeg库坑害的朋友们,可能又爱又恨,毕竟用它处理和分析视频是第一选择,不仅是因为2者配合使用方便,而且ffmp...
转自:http://blog.csdn.net/imyang2007/article/details/8296331使用gcc编译代码是报出error: 'for' loop initial declarations are only allowed in C99 modenote: use opt...
分类:
其他好文 时间:
2014-06-22 23:43:01
阅读次数:
233
鉴于hadoop的需要。。。但是并不限于此。。。有时候闲输入密码麻烦,也可以用这种办法从一个节点通过ssh进入另一个节点。。。设要使master进入slave是免密码的,则可以在master(ip为192.168.169.9)中如下操作:命令:ssh-keygen -t rsa 然后一路回车(该命令...
分类:
其他好文 时间:
2014-06-22 23:31:51
阅读次数:
332
只能文件属主或特权用户才能使用该功能来改变文件存取模式。mode可以是数字形式或以who opcode permission形式表示。who是可选的,默认是a(所有用户)。只能选择一个opcode(操作码)。可指定多个mode,以逗号分开。
options:
-c,--changes
只输出被改变文件的信息
-f,--silent,--quiet
当chmod不能...
分类:
系统相关 时间:
2014-06-22 22:47:09
阅读次数:
446
mysql半同步复制和异步复制的差别如上述架构图所示:在mysql异步复制的情况下,Mysql Master Server将自己的Binary Log通过复制线程传输出去以后,Mysql Master Sever就自动返回数据给客户端,而不管slave上是否接受到了这个二进制日志。在半同步复制的架构下,当master在将自己binlog发给slave上的时候,要确保slave已经接受到了这个二进制...
分类:
数据库 时间:
2014-06-22 17:00:29
阅读次数:
280
在使用SpringMVC时遇到了这个跳转的问题很头疼。现在总结出来,对以后的开发有所帮助。、1、可以采用ModelAndView:@RequestMapping("test1")public ModelAndView test(){ ModelAndView view = new Mode...
分类:
编程语言 时间:
2014-06-21 15:55:53
阅读次数:
255
我们这一节主要来看Controller Controller有两种: Primary Controller: 真正控制vswitch的flow table,vswitch会保持和controller的连接,如果失败,取决于bridge的fail mode。一个vswitch可以连接多个Control...
分类:
其他好文 时间:
2014-06-21 15:24:44
阅读次数:
270