ssh-keygencat id_rsa.pub >> authorized_keys目标机器上授权chmod 700 ~/.sshchmod 600 ~/.ssh/authorized_keysssh root@{remote.target.host}
分类:
其他好文 时间:
2014-07-16 21:48:06
阅读次数:
171
./pdsh -R ssh -w node-10-0[0-5] hostname-R:指定传输方式,默认为rsh,本例为ssh,如果希望ssh传输需要另行安装pdsh-rcmd-ssh,如果希望ssh无密码访问需要提前配置好。-w:指定待执行命令host,也可以这样配置,node_[1-9, 35,...
分类:
其他好文 时间:
2014-07-16 21:42:57
阅读次数:
275
hosts文件里面原来的内容不做修改,只是添加内容 方法/步骤先看看如何加快更新速度,再说如何更新。首先更新host文件,如图,打开目录C:\Windows\System32\drivers\etc,在目录下有hosts文件打开方式选用“记事本”打开将一下的文字复制到hosts文件里面,保存,注意不...
分类:
移动开发 时间:
2014-07-16 21:34:42
阅读次数:
297
1.TNS-00525: Insufficient privilege for operationStarted with pid=30869Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=ora11g)(PORT=1521)))Err...
分类:
其他好文 时间:
2014-07-12 13:27:00
阅读次数:
187
location.hash 设置或获取 href 属性中在井号“#”后面的分段。location.host 设置或获取 location 或 URL 的 hostname 和 port 号码。location.hostname 设置或获取 location 或 URL 的主机名称部分。locatio...
分类:
Web程序 时间:
2014-07-12 08:38:26
阅读次数:
275
//Situation System prompts that:"wget: unable to resolve host address".//Analysis Unable to resolve host address means the problem of DNS(Domain Nam.....
分类:
其他好文 时间:
2014-07-11 22:31:13
阅读次数:
187
一、蓝牙技术介绍 蓝牙无线通讯包括两种模式:基础模式(BR, Basic Rate)和低功耗模式(LE, Low Energy)。 蓝牙系统包括一个Host和多个Controllers,Host包括在HCI(Host Controller Interface)与应用程序之间,Controll...
分类:
其他好文 时间:
2014-07-11 11:14:11
阅读次数:
210
用户管理mysql>use mysql;查看mysql> select host,user,password fromuser;创建mysql> create user zx_root IDENTIFIEDby 'xxxxx'; //identified by 会将纯文本密码加密作为散列值存储修改....
分类:
数据库 时间:
2014-07-11 10:43:34
阅读次数:
255
今天同事pvuTraceback (most recent call last): File "F:\vmid.py", line 11, in vmiddle.connect((host, port))LookupError: unknown encoding: idna...
分类:
其他好文 时间:
2014-07-10 21:17:06
阅读次数:
365
我采用的是MySQLdb操作的MYSQL数据库。先来一个简单的例子吧:importMySQLdb
try:
conn=MySQLdb.connect(host=‘localhost‘,user=‘root‘,passwd=‘root‘,db=‘test‘,port=3306)
cur=conn.cursor()
cur.execute(‘select*fromuser‘)
cur.close()
conn.close()
exceptMySQLdb.Error,e..
分类:
数据库 时间:
2014-07-10 18:20:40
阅读次数:
282