用pip安装tornado库: python -m pip install tornado 出现问题一: Could not fetch URL https://pypi.org/simple/twisted/: There was a problem confirming the ssl cert ...
分类:
编程语言 时间:
2019-12-29 18:14:38
阅读次数:
260
转自:https://blog.csdn.net/xiruanliuwei/article/details/78765255 一直很好奇,Linux下的eth0, eth1,eth2等是如何生成的~ 特别函数: __dev_get_by_name 通过 eth1 这样的名字,找 struct net ...
分类:
系统相关 时间:
2019-12-24 18:28:26
阅读次数:
111
时常,快速的配置一个临时的NAT环境是很常用需求。 但是,每次我都要读iptables的手册,才能配出来。所以,备忘一个速查。 DNAT: iptables -t nat -A PREROUTING -i eth1 -d 1.1.1.2 -j DNAT --to-destination 10.0.1 ...
分类:
其他好文 时间:
2019-12-23 16:43:57
阅读次数:
82
1.将网卡名称改为wlan0和eth0 sudo vim /etc/default/grub 找到GRUB_CMDLINE_LINUX="" 改成GRUB_CMDLINE_LINUX="net.ifnames=0 biosdevname=0" 然后sudo grub-mkconfig -o /boo ...
分类:
其他好文 时间:
2019-12-17 18:22:52
阅读次数:
117
问题场景: 在用pip install y:\emailgetcontent\dailycapacitychart\pkgs\pypiwin32 223 py3 none any.whl安装时出现:pip._vendor.urllib3.exceptions.ReadTimeoutError: HT ...
分类:
编程语言 时间:
2019-12-12 23:49:31
阅读次数:
124
解释以下 hadoop是用户名 Hadoop1是主机名 第一步 vim /etc/udev/rules.d/70-persistent-net.rules进入文件 删除eth0一整行把eth1改成eth0 复制地址00:0c:29:58:b8:56保存退出 第二步: vim /etc/sysconf ...
分类:
其他好文 时间:
2019-12-10 16:52:18
阅读次数:
111
Operation timed out after 30000 milliseconds with 0 out of -1 bytes received请注意,在Linux中输入密码时,不会显示您输入的内容(没有星号或圆点)。 输入y,然后按回车键删除匿名用户。 输入y,然后按Enter键不运行根远 ...
分类:
数据库 时间:
2019-12-09 11:45:58
阅读次数:
121
之前遇到pip 安装模块的时候遇到如下报错:pip._vendor.urllib3.exceptions.ReadTimeoutError: HTTPSConnectionPool(host=‘files.pythonhosted.org’, port=443): Read timed out. 试 ...
分类:
其他好文 时间:
2019-12-08 00:59:04
阅读次数:
148
配置聚合连接 4.1问题 本例要求在两个虚拟机server0、desktop0之间配置一个链路,要求如下: 此链路使用接口eth1和eth2 此链路在其中一个接口失效时仍然能工作 此链路在server0上使用下面的地址172.16.3.20/255.255.255.0 此链路在desktop0上使用 ...
分类:
其他好文 时间:
2019-11-26 17:46:03
阅读次数:
100