2009-1-19 10:59:58 阅读16 评论0 192009/01 Jan19
Rsync 是 *Nix 类系统中的远程同步备份工具,其特性有:可以保存整个目录树和文件系统,能够保留原文件的权限、时间,支持通过 ssh 来传输文件,等等。
为了实现将远程服务器中的文件同步备份到本机,我使用了下列命令(Rsync+ssh):
rsync -avlR --delete -e ssh user@xxx.xxx.xxx.xxx:/remotedir /localdir/
该指令中涉及到的选项作用如下:
2009-1-19 10:45:33 阅读31 评论1 192009/01 Jan19
注意点:
Send后面一般都要添加expect。本例是使用for循环重复expect。
Expect后面的“{“必须和expec在一行
匹配完一个子项目后,expect下面的项目还会继续执行,在必要的时候需要添加continue,break等。
子项目中的内容要使用大括号括起来。
#!/bin/bash
# \
exec expect "$0" "$@"
2008-7-21 11:00:39 阅读14 评论1 212008/07 July21
2008-7-20 21:34:28 阅读10 评论0 202008/07 July20
The following describes a procedure to set up NIS network name service under Red Hat Linux. This is geared toward a small intallation with only one domain. However, it should be fairly evident how to add more NIS domains. The NIS domain name has nothing to do with any DNS naming convention being used.
In these examples, the following conventions are used:
NIS domain: "internal"
Code or configuration file data:
2008-7-3 19:27:17 阅读65 评论0 32008/07 July3
相关软件链接
Gnugk http://www.gnugk.org
Freeradius http://www.freeradius.org
Postgresql Mysql在Redhat 7以上已经安装或已经存在包文件。
1 安装部署软件
1)安装Gnugk
到官网下载相关压缩包,解压缩
tar xvfz gnugk-2.2.3-linux-x86
2)安装FreeRadius
tar xvfz freeradius.tar.gz
cd xvfz freeradius-1.1.0