概览: 目前网卡绑定mode共有七种(0~6)bond0、bond1、bond2、bond3、bond4、bond5、bond6 常用的有三种: mode=0:平衡负载模式,有自动备援,但需要”Switch”支援及设定。 mode=1:自动备援模式,其中一条线若断线,其他线路将会自动备援。 mode ...
分类:
其他好文 时间:
2019-01-22 21:48:58
阅读次数:
237
点击状态栏的help(或者帮助) 再点击进入Enter Lisence (或者证书) 跳出来一个对话框,把下面的激活码复制进去就行了 2.汉化 点击 preferences —> package control 或者使用快捷键 Ctrl + Shift + P调出 package control 输 ...
分类:
其他好文 时间:
2019-01-21 11:19:59
阅读次数:
175
配置bond: 1、查看有哪些网口 2、选择2个自己需要绑定的网口3、配置网口的配置文件配置文件所有目录:/etc/sysconfig/network-scripts网口配置文件名规则:以ifcfg-开头,然后接着是网口名例如:eth0的配置文件名是 ifcfg-eth0如果没有配置文件,则需要创建 ...
分类:
其他好文 时间:
2019-01-16 18:11:03
阅读次数:
173
CentOS7.6网卡绑定mode1[root@server~]#systemctlstopNetworkManager[root@server~]#systemctldisableNetworkManager[root@server~]#lsmod|grepbonding[root@server~]#modprobe--first-timebonding使用bond实现mode1:[root@s
分类:
其他好文 时间:
2019-01-15 17:10:19
阅读次数:
217
Description Everyone knows of the secret agent double oh seven, the popular Bond (James Bond). A lesser known fact is that he actually did not perform ...
分类:
其他好文 时间:
2019-01-10 21:42:17
阅读次数:
127
1、配置suse11zypper源进入存放repo的文件目录cd /etc/zypp/repos.d创建本地目录mkdir or赋权chmod 777 or挂载介质mount -o loop suse11_64.iso /or 查看zypper源zypper lr删除源zypper rr 查看所有安 ...
传送门 https://www.luogu.org/problemnew/show/P4329 题解 首先有一个最简单的状压解法。 设$f_{sta}$表示选定的人的状态为$sta$,他们去执行前几个任务的最大成功率,直接枚举转移。复杂度$O(n \times 2^n)$。 然后还有两种写法(本质相 ...
分类:
其他好文 时间:
2019-01-06 21:53:28
阅读次数:
201
在3.10的内核版本下,有一个运行稳定的内核模块,移植到suse11的时候,编译正常,运行则直接出现crash: 我们修改了一个函数: tcp_sendpage,这个函数会在lock sock的情况下,再调用do_tcp_sendpage,suse11的源代码如下: int tcp_sendpage ...
分类:
系统相关 时间:
2018-12-17 14:18:08
阅读次数:
353
状压DP $dp[i]$表示当前选人状态为$i$且选择了前$i.count()$个物品时最大的概率 cpp include"cstdio" include"cstring" include"iostream" include"algorithm" using namespace std; const ...
分类:
其他好文 时间:
2018-12-04 14:49:16
阅读次数:
149
--添加债券期限字段 declare cn integer; begin cn := 0; select count(*) into cn from user_tab_cols t where t.table_name='T_BANK_BOND_MARKET_SET' and t.column_na ...
分类:
数据库 时间:
2018-11-16 17:33:14
阅读次数:
577