//server端系统
CentOS Linux release 7.7.1908 (Core) 3.10.0-1062.4.3.el7.x86_64
//client端系统
CentOS Linux release 7.7.1908 (Core) 3.10.0-1062.4.1.el7.x86_64
//安装rsync命令(如果还没安装,server端&&client端同样操作)
# yum -y install rsync
# setenforce 0 //临时关闭SELinux(重启机器后失效)
# touch /etc/rsyncd_pass.pass
# touch /etc/rsyncd_users.db
# chmod 600 /etc/rsyncd_pass.pass
# chmod 600 /etc/rsyncd_users.db
//注意:server端