zl程序教程

您现在的位置是:首页 >  系统

当前栏目

Linux中安装rsync完美教程文档

2023-06-13 09:17:43 时间
获取 rsync-3.1.0 我的网盘里放了一个 。地址:

http://yunpan.cn/cKAHidI4yCu3L 提取码 c59cLinux中安装rsync完美教程文档
开始安装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 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