
linux
文章平均质量分 77
mer1234567
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
shell脚本中用expect实现远程scp文件
通过在shell脚本中用expect实现远程scp文件:使用expect前,需要先安装两个rpm包:# rpm -ihv CentOS/expect-5.43.0-5.1.i386.rpm# rpm -ihv CentOS/expect-devel-5.43.0-5.1.i386.rpm#!/usr/bin/expect -fset password 密码spawn s转载 2011-12-14 11:00:33 · 1767 阅读 · 0 评论 -
inux上iptables防火墙的基本应用教程
1、安装iptables防火墙如果没有安装iptables需要先安装,CentOS执行:yum install iptablesDebian/Ubuntu执行:apt-get install iptables2、清除已有iptables规则iptables -Fiptables -Xiptables -Z3、开放指定的端口#允许本地回环接口(即运转载 2012-05-29 14:59:13 · 626 阅读 · 0 评论