今天写了一段代码想在service里访问一个外部网站,在service的方法里写了如下代码System.setProperty("http.proxyType",
"4");System.setProperty("http.proxyPort", port);System.setProperty("...
分类:
其他好文 时间:
2014-06-12 22:25:46
阅读次数:
355
所谓Port的安全性是指能够开启Port的那个软件程序,而不是Port本身。Services与Port对应的文档时/etc/services,常用来观察Port的程序有netstat和nmap。Netstat:在本机上以自己的程序监测自己的PortNmap:透过网络的侦测软件辅助,可侦测非本机上的其他网络主机常用的netstat..
分类:
系统相关 时间:
2014-06-10 23:29:14
阅读次数:
387
centos 基本操作之输入法安装输入法启动终端,切换到超级管理员yum install
"@Chinese Support"安装成功后,退出System->Preferences -> Input Method选择 Enable
input method feature,然后选择 Use IBus...
分类:
其他好文 时间:
2014-06-10 13:19:30
阅读次数:
210
在网上找到解决方案:SolutionEnable RDP security layer in
Group Policy on the machine:Verify that the firewall allows remote desktop
connections with RDP (Port 3...
场景: 创建一个Virtual Switch,支持VLAN,支持MAC-Learning
包含下面四个Port: P1, truck port P2, VLAN 20 P3, P4 VLAN 30 包含五个flow table: Table 0:
Admission control. Table 1...
分类:
其他好文 时间:
2014-06-09 22:30:54
阅读次数:
490
Posted in Linux Application at November 13th,
2012 如果你是用 openvswitch 内置的 GRE tunnel,那么配置很简单,基本上就一条命令: ovs-vsctl add-port br0
gre0 -- set interface gre...
分类:
其他好文 时间:
2014-06-09 17:11:23
阅读次数:
304
accept()函数 系统调用 accept() 会有点古怪的地方的! 你能够想象发生
这种事情:有人从非常远的地方通过一个你在侦听 (listen()) 的port连接 (connect()) 到你的机器。它的连接将增加到等待接受
(accept()) 的队列 中。 你调用 accep...
分类:
其他好文 时间:
2014-06-09 00:46:19
阅读次数:
214
There is an need of kill one port is already in
use. The command is : lsof -i:8000 There will be a list of: command pid user fd
type device size...
分类:
其他好文 时间:
2014-06-08 21:47:33
阅读次数:
366
20. mysqlmysql --host=127.0.0.1 --port=3306
--database=test --user=test --password=test --default-character-set=utf821.
脚本求两个文件的相同集合test1 test21 22 33...
分类:
系统相关 时间:
2014-06-08 21:20:54
阅读次数:
403