rsync同步流程

rsync同步流程
1)主服务器配置vim /etc/rsyncd.conf 重启service xinetd restart
2)sdui安全狗开启端口873
3)* * * * * sleep 1; rsync -avzP --exclude "Cache" --delete --password-file=/root/rsync_pass ruser@39.106.216.140::jszz /home/wwwroot/kuai.com/web
4)从服务器vim /root/rsync_pass  输入123456保存  chmod 600 /root/rsync_pass
5)开启阿里云873端口

posted @ 2019-04-30 18:39  litexce  阅读(201)  评论(0编辑  收藏  举报