配置网卡绑卡 1)网卡绑定(team方式) # 创建组接口nmcli connection add type team ifname team0 con-name team0 config '{"runner":{"name":"activebackup"}}' ipv4.addresses 192 ...
分类:
其他好文 时间:
2018-03-29 13:28:52
阅读次数:
246
网络接口Bonding将多块网卡绑定至同一IP上,这在物理上是不可能实现的,因此需要虚拟出一个网卡,由它来提供服务,原本的物理网卡都统一修改为虚拟网卡的MAC,这种技术叫做Bonding,虚拟出来的网卡默认名依次为bond0,1...。Bonding可以实现高可用和负载均衡。一、创建Bond提前在虚拟机中添加3块网卡(个数自定义)之后我们使用ifconfig命令查看三块网卡的状态信息,由于我在虚拟
分类:
其他好文 时间:
2018-03-27 20:57:17
阅读次数:
193
CetnOS7网络配置取消系统网卡自动命名[root@CentOS7~]#vim/etc/default/grubGRUB_CMDLINE_LINUX="net.ifnames=0crashkernel=autorhgbquiet"[root@CentOS7~]#grub2-mkconfig-o/etc/grub2.cfg#重启生成配置Generatinggrubconfigurationfile
分类:
其他好文 时间:
2018-03-26 21:31:56
阅读次数:
650
1003. Emergency (25) As an emergency rescue team leader of a city, you are given a special map of your country. The map shows several scattered cities ...
分类:
其他好文 时间:
2018-03-25 15:55:26
阅读次数:
159
(1975版) The Mythical Man-Month 岸上的船儿,如同海上的灯塔,无法移动。 A ship on the beach is a lighthouse to the sea... 史前史中,没有别的场景比巨兽在焦油坑中垂死挣扎的场面更令人震撼。上帝见证着恐龙,猛犸象,剑齿虎在焦 ...
分类:
其他好文 时间:
2018-03-25 10:35:42
阅读次数:
176
路由表:由多条路由记录组成网关:目标网络和当前路由器(当前主机)智联,网关IP=接口IP,不直连,网关IP=下一个路由器的临近接口IP目标网络IDnetmask接口网关192.168.1.3255.255.255.0eth3主机路由192.168.1.0255.255.255.0eth0192.168.1.254网络路由192.168.0.0255.255.0.0eth1192.168.2.254
分类:
其他好文 时间:
2018-03-24 21:28:35
阅读次数:
256
On the Chrome team, we’ve been thinking about this, and we’ve come up with a model to put the user right back in the middle of the performance story. ...
分类:
其他好文 时间:
2018-03-24 20:37:23
阅读次数:
249
一、nmcli命令1.什么是nmcli以前我配置网卡的时候都要打vim/etc/sysconfig/network-scripts/ifcfg-eth0这么一长串命令,有很多配置名字还记不住就需要去看模板,好不容易配置完了,还得去重启网卡。直到今天我知道了这个nmcli命令,才发现原来配置网卡可以这么简单,妈妈再也不用担心我不会配置网卡了。2.nmcli的用法命令语法:nmcli[OPTIONS]
分类:
其他好文 时间:
2018-03-24 19:30:27
阅读次数:
1867
使用git reflog命令,查看当前仓库的操作日志。在日志中找出 回溯历史之前的哈希值,通过 git reset --hard命令恢复到回溯历史前的状态。 只要不进行 Git 的 GC(Garbage Collection,垃圾回收), 就可以通过日志随意调取近期的历史状态。 哈希值只要输入 4 ...
分类:
其他好文 时间:
2018-03-24 00:34:07
阅读次数:
200
一、Team Foundation Server 2017 下载 进入官网下载文件tfsserver2017.0.1.exe 二、软件安装 双击tfsserver2017.0.1.exe进入安装界面 ...
分类:
其他好文 时间:
2018-03-23 16:55:34
阅读次数:
456