http://www.eclipse.org/ldt/ Lua Development Tools (LDT) is about providing Lua developers with an IDE providing the user experience developers expect
分类:
其他好文 时间:
2016-03-03 10:17:10
阅读次数:
173
http://csharpindepth.com/Articles/General/Unicode.aspx Scope of this page This is a big topic. Don't expect this page to do more than scratch the surf
分类:
Web程序 时间:
2016-03-01 18:41:07
阅读次数:
203
-Android introduces a richer and more complex approach by supporting multiple application entry points. Android programs should expect the system to start them in different places, depending on where...
分类:
移动开发 时间:
2016-02-26 23:42:39
阅读次数:
440
粘贴下readme:#myexpectV1.0released#authchentp0601@qq.com#envdescriptionmyexpectserverrequires:bashisneededofcource expectforanswerpassword vsftpdforclienttodownloadscriptsuploadfilesetc.myexpectclientrequires:ftpforupload wgetfordownload ..
分类:
其他好文 时间:
2016-02-24 09:59:02
阅读次数:
129
想在shell脚本里ssh连接到另外一台服务器后执行一些命令,但是不希望通过交互方式输入登录密码。主要的解决方法有三种:1.生成ssh公钥,建立和对方机器的信任关系;2.使用expect脚本;3.使用sshpass这里介绍一下sshpassyuminstallsshpass-y实例:[root@fsbin]#./sshpass-p12345..
分类:
其他好文 时间:
2016-02-21 18:45:33
阅读次数:
201
目的:每天将A服务器(192.168.0.23)上的文件复制到B服务器(192.168.0.25)上,如果已经存在则不复制。思路:首先统一服务器时间,避免出现莫名的错误或者管理上的混乱。用NTP由于是跨服务器复制,涉及到密码自动录入的问题。需要解决。用scp复制,会覆盖已经存在的文件,增..
分类:
系统相关 时间:
2016-02-02 23:26:22
阅读次数:
539
--stdin表示可以用任意文件做标准输入expect它主要的功能是给ssh进程加个壳,用来传递交互指令。它的核心是spawnexpectsendsetspawn调用要执行的命令expect等待命令提示信息的出现,也就是捕捉用户输入的提示:send发送需要交互的值,替代了用户手动输入内容set设置变量值intera..
分类:
系统相关 时间:
2016-01-29 21:25:18
阅读次数:
379
centos shell编程4【分发系统】 第三十八节课http://www.cnblogs.com/MYSQLZOUQI/p/4811790.htmlmkpasswd 生成密码的工具,安装 expect包yum install -y expect上半节课下半节课f
分类:
系统相关 时间:
2016-01-26 23:24:33
阅读次数:
210
脚本实现功能:批量或单个SSH免交互登录认证脚本应用场景:当部署集群时,大多数实现要配置好管理节点与从节点的SSH免交互登录,针对这样的情况,写了下面脚本,简化工作。#!/bin/bash
#blog:http://lizhenliang.blog.51cto.com
color_echo(){
if[$1=="green"];then
echo-e"\..
分类:
系统相关 时间:
2016-01-18 21:04:01
阅读次数:
394