[root@node4~]#cat/etc/sysconfig/network-scripts/ifcfg-bond0DEVICE=bond0ONBOOT=yesBOOTPROTO=staticIPADDR=10.240.217.104NETMASK=255.255.255.0GATEWAY=10.240.217.1USERCTL=noBONDING_OPTS="mode=0miimon=100"[root@node4~]#cat/etc/sysconfig/network-scripts/ifcfg-eth..
分类:
其他好文 时间:
2014-07-02 11:52:05
阅读次数:
194
计算几何+SPFA
我已经不想看我的提交记录了。。。。
HDU 我起码WA了2页。。。。
都是浮点数惹的祸。
const double eps=1e-4;
a-b
这样来判断相等。
总共 n 条鳄鱼,最多有 n*(n+1)/2 条路。
抽象化处理。
把 中心的起点当作 起点0 ; 最多有 n+1 条路。
把鳄鱼和周围的边界的终点都当作 n+1 ; 最多有...
分类:
其他好文 时间:
2014-06-29 23:23:25
阅读次数:
217
在这介绍的Linux双网卡绑定实现就是使用两块网卡虚拟成为一块网卡,这个聚合起来的设备看起来是一个单独的以太网接口设备,通俗点讲就是两块网卡具有相同的IP地址而并行链接聚合成一个逻辑链路工作。其实这项技术在Sun和Cisco中早已存在,被称为Trunking和Etherchannel技术,在Linu...
分类:
系统相关 时间:
2014-06-28 14:59:17
阅读次数:
312
#!/usr/bin/envpython#Filename:helloworld.py#Theuseof‘and"print‘hello,world!‘print"hello,world!"#Theuseof‘‘‘and"""print‘‘‘Thisisamulti-linestring.Thisisthefirstline.Thisisthesecondline."What‘syourname?"Iasked.Hesaid"Bond,JamesBond."‘‘‘print"""Thisisamulti-li..
分类:
编程语言 时间:
2014-06-24 17:05:23
阅读次数:
239
我们这一节来看Port 一般来说一个Port就是一个Interface,当然也有一个Port对应多个Interface的情况,成为Bond VLAN Configuration Port的一个重要的方面就是VLAN Configuration,有两种模式: trunk port,这个port不配置t...
分类:
其他好文 时间:
2014-06-24 10:30:41
阅读次数:
427
概述JBoss 7/WildFly 以 domain 模式启动时会启动多个 JVM,例如如下通过启动脚本启动 domain 模式:./domain.sh启动后我们查看进程:[kylin@localhost tdump]$ jps -l
23655 /home/kylin/work/eap/jboss-eap-6.1/jboss-modules.jar
23671 /home/kylin/work/...
分类:
其他好文 时间:
2014-06-02 10:31:49
阅读次数:
425
1. DIE is dieDIE.CPB1DIE.CPB2...DIE.CPB7Stacked die
in die BGA package;chip bond
pads2.DIE.CBPAssignment1Assignment1CountHeightLengthWidthDIE.FormatId...
分类:
其他好文 时间:
2014-05-29 11:44:10
阅读次数:
844
编前语:
无意间开始研究起linux,因为目前互联网很多人,包括我都隐约感觉到,windows系统在中国乃至世界在今后的流行度会逐步降低,不为什么,其中最主要的是安全问题,Microsoft
微软公司隶属美国,据棱镜门爆料微软公司曾经和美国国家安全局NASA合作过,这就不免让很多国...
分类:
其他好文 时间:
2014-05-21 11:50:18
阅读次数:
279
Ubuntu Kylin 14.04gedit- Version 3.10.4 (as same as
all version of gedit 3.x )Attention: this plugin of gedit version 3.x is not the
same as gedit ver...
分类:
其他好文 时间:
2014-05-16 09:05:47
阅读次数:
293
1.下载安装文件加压、编译和安装cd /tmpwget
http://download.redis.io/releases/redis-2.8.9.tar.gztar -zxf
redis-2.8.9.tar.gzcd redis-2.8.9makesudo make install这时Redis ...
分类:
其他好文 时间:
2014-05-10 22:29:44
阅读次数:
432