Install rsync in Linux
ObtainRsync-3.1.0 I put one in my online drive. Address:
Http://pan.baidu.com/s/1dDs4lSt
Install
Rsync-3.1.0.tar.gz
# Tar zxvf rsync-3.1.0.tar.gz
# Cd rsync-3.1.0
#./Configure -- prefix =/home/work/rsync
# Make
# Make install
Configuration File example
<span style="font-size:18px;">use chroot = nomax connections=36000log file=/home/work/rsync/log/rsyncd.logpid file=/home/work/rsync/rsyncd.pidlock file=/home/work/rsync/rsyncd.lock[data]path = /home/work/www/comment = dataauth users = workuid = workgid = worksecrets file = /home/work/rsync/etc/rsyncd.pasread only = falsewrite only = yes</span>
Start
Rsync -- daemon -- port 3334 -- config =/home/work/rsync/conf/rsyncd. conf
Error 1
@ ERROR: setgroups failed
Rsync error: error starting client-server protocol (code 5) at main. c (1503) [sender = 3.0.6]
This error is not required because of the rsync of the service and the rsync version of the transfer. Later I changed it to a version.