首页 > 系统服务 > 详细

Linux中安装rsync

时间:2015-01-12 10:56:31      阅读:382      评论:0      收藏:0      [点我收藏+]

获取 rsync-3.1.0  我的网盘里放了一个 。地址:

http://pan.baidu.com/s/1dDs4lSt


安装

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


配置文件 举例

<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>


启动

rsync --daemon --port 3334 --config=/home/work/rsync/conf/rsyncd.conf




Linux中安装rsync

原文:http://blog.csdn.net/u012063703/article/details/42639167

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!