摘要: 备忘,记录一下 阅读全文
posted @ 2018-01-16 11:58 fwonfo 阅读(140) 评论(0) 推荐(0) 编辑
摘要: 在linux下,只要系统内核支持,则可以利用vconfig管理vlan虚拟设备 1、先检查环境 2、安装 vconfig 3、配置vlan接口 比如,在eth2口配置vlan 2202 把该接口拉起,并设置IP 当然,也可以使用ifconfig命令,一行命令拉起并设置ip 至此,vlan环境配置成功 阅读全文
posted @ 2017-12-06 19:16 fwonfo 阅读(1417) 评论(0) 推荐(0) 编辑
摘要: 设置pip和easy_install使用指定源 阅读全文
posted @ 2017-11-27 19:57 fwonfo 阅读(422) 评论(0) 推荐(0) 编辑
摘要: 使用rp-pppoe,在CentOS下配置PPPoE 阅读全文
posted @ 2017-11-11 17:03 fwonfo 阅读(5363) 评论(0) 推荐(0) 编辑
摘要: CentOS下建立GRE隧道连接 阅读全文
posted @ 2017-11-11 16:14 fwonfo 阅读(4218) 评论(0) 推荐(0) 编辑
摘要: hping官网介绍:http://www.hping.org/ hping is a command-line oriented TCP/IP packet assembler/analyzer. The interface is inspired to the ping(8) unix comma 阅读全文
posted @ 2017-10-26 11:21 fwonfo 阅读(7836) 评论(1) 推荐(0) 编辑
摘要: 人生苦短,我学Python 终于开始在LeetCode上刷题了,也终于决定在这里记录学习笔记。 Better late than never. ;) 今天做的是《Haming Distance》。汉明距离,指的是2个等长字符串对比,对应位置字符不一致的个数。 既然输入是2个整数,抑或运算之后,找出位 阅读全文
posted @ 2017-03-28 19:56 fwonfo 阅读(1253) 评论(0) 推荐(0) 编辑