环境
[root@build-PC src]# lsb_release -a
LSB Version: :base-4.0-amd64:base-4.0-noarch:core-4.0-amd64:core-4.0-noarch:graphics-4.0-amd64:graphics-4.0-noarch:printing-4.0-amd64:printing-4.0-noarch
Distributor ID: CentOS
Description: CentOS release 6.4 (Final)
Release: 6.4
Codename: Final
[root@build-PC src]# lsyncd -version
Version: 2.1.4
一. 最简示例
1.为方便,不用源码或安装包。lsyncd 要使用 rsync传输,所以要在客户端和服务端都安装 rsync
yum -y install lua lua-devel pkgconfig gcc asciidoc rsync
yum install lsyncd
3.准备配置文件
</