获取 rsync-3.1.0 我的网盘里放了一个 。地址: http://yunpan.cn/cKAHidI4yCu3L 提取码 c59c
开始安装rsync [root@localhost ~]# tar zxvf rsync-3.1.0.tar.gz [root@localhost ~]# cd rsync-3.1.0 [root@localhost ~]# ./configure --prefix=/home/work/rsync [root@localhost ~]# make [root@localhost ~]# make install 配置文件 举例 <span style="font-size:18px;">use chroot = no max connections=36000 log file=/home/work/rsync/log/rsyncd.log pid file=/home/work/rsync/rsyncd.pid lock file=/home/work/rsync/rsyncd.lock [data] path = /home/work/www/ comment = data auth users = work uid = work gid = work secrets file = /home/work/rsync/etc/rsyncd.pas read only = false write only = yes</span> [root@localhost ~]# rsync --daemon --port 3334 --config=/home/work/rsync/conf/rsyncd.conf
原创文章,作者:ItWorker,如若转载,请注明出处:https://blog.ytso.com/57933.html