返回的串 {"took":278,"timed_out":false,"_shards":{"total":21,"successful":21,"failed":0},"hits":{"total":3,"max_score":6.685612,"hits":[{"_index":"logstas ...
分类:
其他好文 时间:
2018-11-19 11:07:51
阅读次数:
179
["eth0\tno\teth0\n","pan0\t\tno\eth1\t\n","\t\t\eth2"]压缩为["eth0\tno\teth0\n","pan0\t\tno\eth1\t\\t\t\eth2"] 在pop的时候同时计算索引和长度。 ...
分类:
其他好文 时间:
2018-11-14 20:55:51
阅读次数:
132
方法: ifconfig -a 执行一遍:ifconfig -a; 插上网线 接口会 running。 方法:ethtool 执行 # ethtool -p eth0 时,eth0对应的网口的灯就会闪烁,你可以分别调用ethtool判断eth1,eth2对应的网口; 注意要在不插网线的时候进行,否则 ...
分类:
系统相关 时间:
2018-11-10 12:52:33
阅读次数:
153
常用pip来更新Python的package,经常出现揪心的红色错误信息 ReadTimeoutError: HTTPSConnectionPool(host='pypi.python.org', port=443): Read timed out. 主要问题:默认的源不稳定导致 解决方案:切换稳定 ...
分类:
Web程序 时间:
2018-11-09 23:27:17
阅读次数:
479
eth0 eth0:1 和eth0.1三者的关系对应于物理网卡、子网卡、虚拟VLAN网卡的关系:物理网卡:物理网卡这里指的是服务器上实际的网络接口设备,这里我服务器上双网卡,在系统中看到的2个物理网卡分别对应是eth0和eth1这两个网络接口。 子网卡:子网卡在这里并不是实际上的网络接口设备,但是可 ...
分类:
系统相关 时间:
2018-11-01 12:02:34
阅读次数:
2281
More than 250 corporate signatories joined together to try and deal with plastic pollution in an announcement timed to coincide with the 5th Annual "O ...
分类:
其他好文 时间:
2018-11-01 11:31:39
阅读次数:
103
一、网络配置解决克隆虚拟机网卡名非eth0的解决方案vim/etc/udev/rules.d/70-persistent-net.rules把NAME=eth0行删除PCIdevice0x8086:0x100f(e1000)SUBSYSTEM=="net",ACTION=="add",DRIVERS=="?",ATTR{address}=
分类:
系统相关 时间:
2018-10-31 20:20:37
阅读次数:
176
1.环境准备 服务器系统 角色 外网IP 内网IPCentOS 7.5 keepalived-master eth0:10.0.0.5 eth1:172.16.1.5CentOS 7.5 keepalived-slave eth0:10.0.0.6 eth1:172.16.1.62.在lb01与lb ...
分类:
其他好文 时间:
2018-10-29 16:00:46
阅读次数:
148
提示: A fatal error occurred: Failed to connect to ESP32: Timed out waiting for packet header 解决方法: https://github.com/espressif/esptool/issues/226 在界面上 ...
分类:
其他好文 时间:
2018-10-27 22:57:40
阅读次数:
365
redis.clients.jedis.exceptions.JedisConnectionException: java.net.SocketTimeoutException: connect timed outat redis.clients.jedis.Connection.connect(C ...
分类:
编程语言 时间:
2018-10-25 22:09:44
阅读次数:
501