Rsync service installation and configuration rsync service installation: Check whether the rsync service is installed: rpm-qa | grep rsync if it is installed, You need to configure and modify the following 1. modify/etc/xinetd. set "disable = yes" to "disable = no cat/etc/xinetd" in d/rsync. d/rsync # default: off # description: The rsync server is a good addition to an ftp server, as it \ # allows crc checksumming etc. service rsync {disable = no socket_type = stream wait = no user = root server =/usr/bin/rsync server_args = -- daemon log_on_failure + = USERID} 2. new: vi/etc/rsyncd. conf: uid = rootgid = rootuse chroot = nomax connections = 10 strict modes = yespid file =/opt/myysrnc/rsyncd. pidlock file =/opt/myysrnc/rsyncd. locklog file =/opt/myysrnc/rsyncd. log [www] path =/data/wwwcomment = analyseread only = falsehosts allow = * 3. start the daemon client/usr/local/bin/rsync -- daemon: run the synchronization command:/usr/bin/rsync-arzuv/data/www/192.168.136.128: www/Note: the client must execute the synchronization command to trigger the synchronization operation. to implement scheduled synchronization, you can use crontab-e to add scheduled tasks.