We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 981bc5f commit c42ef1fCopy full SHA for c42ef1f
ebook/12.4.md
@@ -52,7 +52,7 @@ rsync主要有以下三个配置文件rsyncd.conf(主配置文件)、rsyncd.secr
52
2. --delete 是为了比如A上删除了一个文件,同步的时候,B会自动删除相对应的文件
53
3. --password-file 客户端中/etc/rsyncd.secrets设置的密码,要和服务端的 /etc/rsyncd.secrets 中的密码一样,这样cron运行的时候,就不需要密码了
54
4. 这条命令中的"用户名"为服务端的 /etc/rsyncd.secrets中的用户名
55
- 5. 这条命令中的 192.168.0.100 为服务端的IP地址
+ 5. 这条命令中的 192.168.145.5 为服务端的IP地址
56
6. ::www,注意是2个 : 号,www为服务端的配置文件 /etc/rsyncd.conf 中的[www],意思是根据服务端上的/etc/rsyncd.conf来同步其中的[www]段内容,一个 : 号的时候,用于不根据配置文件,直接同步指定目录。
57
58
为了让同步实时性,可以设置crontab,保持rsync每分钟同步,当然用户也可以根据文件的重要程度设置不同的同步频率。
0 commit comments