您的位置:首页 > 其它

无密码rsync服务搭建

2015-12-30 18:27 417 查看
1、安装 rsync : yum install -y rsync

2、配置 /etc/rsyncd.conf 

#cat /etc/rsyncd.conf

log file = /var/log/rsyncd.log

lock file = /var/run/rsync.lock

pid file = /var/run/rsyncd.pid

[send_test]

path = /data/

comment = send_test

uid = root

ignore errors

read only = no

list = no

3、启动服务

 rsync --daemon --config=/etc/rsyncd.conf &

4、在其他机器执行,rsync 命令

/usr/bin/rsync -av 10.97.25.100::send_test/*
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: