码迷,mamicode.com
首页 > 其他好文 > 详细

rsync同步流程

时间:2019-04-30 20:00:21      阅读:114      评论:0      收藏:0      [点我收藏+]

标签:6.2   端口   阿里   9.1   开启   xinetd   restart   star   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端口

rsync同步流程

标签:6.2   端口   阿里   9.1   开启   xinetd   restart   star   rsync同步   

原文地址:https://www.cnblogs.com/litexce/p/10797630.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!