标签:backup 创建 sync tin 配置文件 nat start direct access
接收端配置:
1.安装rsync
yum -y install rsync
2.配置同步模块
1. 编辑同步配置文件
vi /etc/rsyncd.conf
2. 同步模块配置参数
# any name you like
[backup]
# destination directory for copy
path = /usr/blues
# hosts you allow to access
hosts allow = 192.168.16.143
hosts deny = *
list = true
uid = root
gid = root
read only = false
3. 创建同步文件夹
mkdir /usr/blues
4. 启动同步服务
systemctl start rsyncd
5. 设置开机启动
systemctl enable rsyncd
******
CentOS 7.2 部署Rsync + Lsyncd服务实现文件实时同步/备份 (一)
标签:backup 创建 sync tin 配置文件 nat start direct access
原文地址:http://www.cnblogs.com/betx/p/6523953.html