现在的位置: 首页技术分享>正文
Windows下安装rsync服务
发表于8年前 技术分享 暂无评论 ⁄ 被围观 1,791 次+

Windows下安装rsync服务

(1)软件下载地址:http://www.itefix.no/i2/node/10650

(2)安装服务端用cwRsyncServer_4.0.3_Installer.exe

(3)直接双击,点击安装,在要输入用户名和密码的时候使用系统用户的用户名和密码

(4)新建文件/cygdrive/c/rsync/rsync.server.pass

在rsync.server.pass文件写入                                                    

use chroot = false
strict modes = false

hosts allow = *
#hosts deny = *

log file = rsyncd.log

# Module definitions
# Remember cygwin naming conventions : c:work becomes /cygwin/c/work
#

[rsyncscripts]
path = /cygdrive/c/rsync
read only = false
auth users = root
secrets file = /cygdrive/c/rsync/rsync.server.pass
transfer logging = yes

[dpan]
path = /cygdrive/d
read only = false
auth users = root
secrets file = /cygdrive/c/rsync/rsync.server.pass
transfer logging = yes

(5)启动RsyncServer服务
 开始==>运行==>services.msc==>RsyncServer (启动,并设为自动启动)
(6)禁止NetBOIOS,否则在客户端上使用rsync从Listing Server同步文件会很慢:
双击桌面右下脚的网络连接 –> “Properties” –> “Internet Protocol(TCP/IP)” –> “Advanced…” –> “WINS” –> 选中”Disable NetBIOS over TCP/IP”。

给我留言

留言无头像?