plink_path="C:/plink.exe"'plink.exe路径 username="username"'用户名 password="password"'密码 host="192.168.0.1"'Unix/Linux服务器地址 command="ls"'要执行的命令 SetoShell=...
分类:
其他好文 时间:
2014-06-27 21:52:26
阅读次数:
293
需要测试OpenSuSE11 x64上mysql性能,发现很多东西与centos以及红帽有差别。其中最切身的就是sshd服务的开启。安装好OpenSuSE 11后,发现ssh连接不上去,可以ping通,telnet不行。查看服务后,发现ssh服务没有开启。开启步骤:1.修改sshd_config文件...
分类:
其他好文 时间:
2014-06-27 21:38:29
阅读次数:
319
python发送邮件的时候,总是出现:[Errno 10060] 错误码根据debug得到在connect的时候出错。认真检查了下host,没有错呀~应该就是服务器的host。查看了下网上的一些例子,发现qq的host举例:smtp.qq.com/smtp.163.com/smtp.162.com于...
分类:
编程语言 时间:
2014-06-27 21:16:48
阅读次数:
483
BACKGROUND OF THE INVENTIONThis relates to Input/Output (I/O) performance in a host system having multiple processors, and more particularly, to effic...
分类:
其他好文 时间:
2014-06-27 21:05:13
阅读次数:
337
在使用时,先引用 using System.Net.NetworkInformation;Ping pingSender = new Ping(); PingReply reply = pingSender.Send("127.0.0.1"); if (r...
分类:
其他好文 时间:
2014-06-26 18:24:46
阅读次数:
213
Suppose a sorted array is rotated at some pivot unknown to you beforehand.
(i.e., 0 1 2 4 5 6 7 might become 4
5 6 7 0 1 2).
You are given a target value to search. If found in the array retur...
分类:
其他好文 时间:
2014-06-26 13:58:53
阅读次数:
203
在ARC项目中使用performSelector:withObject:函数出现“performSelector may cause a leak because its selector is unknown”。在stackoverflow找到了一个解决方案,地址:http://stackover...
分类:
其他好文 时间:
2014-06-25 13:03:01
阅读次数:
270
MySql中添加用户,新建数据库,用户授权,删除用户,修改密码(注意每行后边都跟个;表示一个命令语句结束):1.新建用户 1.1 登录MYSQL: @>mysql -u root -p @>密码 1.2 创建用户: mysql> insert into mysql.user(Host,Us...
分类:
数据库 时间:
2014-06-25 09:10:42
阅读次数:
269
一、准备工作 1.确定两台主机处于同一网段,能相互ping通。二、Windows NTP 服务器配置 1. 单击“开始”-》单击“运行”,键入regedit,单击“确定”。 2. 修改注册表 a)HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Se...
分类:
其他好文 时间:
2014-06-25 00:51:38
阅读次数:
280