First install rsync and then find/-name & quot; rsync & quot; find the installed file and create the configuration file mkdir/etc/rsyncvirsync for rsync. conf # Minimalconfigurationfileforrsyncdaemon # Seersync (1) andrsyncd. conf (5 )... install rsync first and then find/-name "rsync". find the installation file and create the rsync configuration file mkdir/etc/rsyncvi rsync. conf # Minimal configuration file for rsync daemon # See rsync (1) and rsyncd. conf (5) man pages for help # This line is required by the/etc/init. d/rsyncd scriptpid fil E =/var/run/rsyncd. pidport = 873 container-address = 172.23.1.1 # uid = nobody # gid = nobodyuid = 0gid = 0 use chroot = no # limit access to private LANshosts allow = 172.23.0.0/container 255.255.0.0 192.168.3.0/container deny = * max connections = 5 motd file =/etc/rsyncd. motd # This will give you a separate log file # log file =/var/log/rsync. log # This will log every file transferred-up to 85, 000 + per user, per sync # transfer logging = yes -www.2cto.com-log format = % t % a % m % f % bsyslog facility = local3timeout = 300 [synchronous] path =/data/tongbulist = yesignore errors # auth users = userread only = false # secrets file =/etc/rsyncd. secretscomment = back -www.2cto.com-the above is my configuration file, because the configuration authentication is not successful, so no authentication synchronization is configured. Debug the authentication synchronization later. Start rsyncrsync -- daemon -- config =/etc/rsync/rsyncd. conf modifies the firewall and opens tcp 873 Port vi rsync. secrets user: password client: rsync.exe-uvzrtopg -- progress -- delete/cygdrive/d/work/user@172.23.1.1: tongbu author lnwu
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.