- 博客(3)
- 资源 (16)
- 收藏
- 关注
转载 RHEL5.2 安装bind-9.5.1-P2
转自:blog.chinaunix.net/uid-7541208-id-2612869.html 1、安装openssl tar -zxvf openssl-0.9.8d.tar.gz cd openssl-0.9.8d ./config --prefix=/usr/local/openssl make;make install 2、安装bind groupadd
2013-07-16 15:59:34 690
原创 shell+expect实现多台服务器自动运行脚本。
list.txt 192.168.1.1:root:passwd 192.168.1.2:root:passwd … 192.168.1.50:root:passwd cat/root/list.txt | whileread row;do IP=$(echo $row |cut -d : -f 1 ) username=$(echo $row |cut -d
2013-07-08 17:16:56 1309
转载 linux expect自动登录ssh,ftp
转自:http://blog.51yip.com/linux/1462.html expect是一种能够按照脚本内容里面设定的方式与交互式程序进行“会话”的程序。根据脚本内容,Expect可以知道程序会提示或反馈什么内容以及 什么是正确的应答。它是一种可以提供“分支和嵌套结构”来引导程序流程的解释型脚本语言。 shell功能很强大,但是不能实现有交互功能的多机器之前的操作,例如ssh和
2013-07-08 15:16:45 803
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人