CwRsync4.0.2安装配置文档[整理].pdfVIP

  • 3
  • 0
  • 约2.91千字
  • 约 9页
  • 2021-10-13 发布于福建
  • 举报
CwRsync 4.0.2 安装配置文档 CwRsync是基于 cygwin 平台的 rsync 软件包,支持 windows 对 windows、windows 对 Linux 、Linux 对 windows 高效文件同步。由于 CwRsync已经集成了 cygwin 类库,因此安装的时候可以省去 cygwin 包。 Cwrsync 还集成了 OpenSSH for windows,可以实现 Linux 下 Rsync 一模一样的操作。详细配置步骤如下: 一、服务器端安装配置 1、下载服务器端安装文件 /projects/sereds/files/ 截止本文档更新日期,最新版本是 cwRsync_Server_4.0.2_Installer 2、安装 这一步 很重要,可以说是 cwRsync安装成功与否的关键。 这一步要求输入当前系统存在 的账号密码,用来启动 RsyncServer 服务,这个账号需要在安装前就要建立好, 因为安装程序不会自动创建。 如果这个账号没有提前创建好的话, 系统“服务” 里将不会出现“ RsyncServer ”服务。 程序自动设置程序目录可修改的权限,因为需要写日志文件。 3、修改配置文件 rsyncd.conf use chroot = false strict modes = false log file = rsyncd.log # Module definitions # Remember cygwin naming conventions : c:\work becomes /cygwin/c/work # [rsync] path = /cygdrive/d/file read only = false transfer logging = yes ignore errors list = no hosts allow = 3 hosts deny = * auth users = SvcCWRSYNC secrets file = /cygdrive/d/pass/rsync.passwd 配置文件在安装程序的根目录下,配置内容如下,参数解释: use chroot = no # 不使用 chroot strict modes = false # 使用静态模式 pid file = /var/run/rsyncd.pid log file = /var/log/rsyncd.log # 日志记 录文件 [rsync] # 这里是认证的模块名,在 client 端需要指定 path = /cygdrive/d/file # 需要做镜像的目录,如 d:/file transfer logging = yes # 记录传输日志 ignore errors # 可以忽略一些无关的 IO 错误 read only = yes # 只读 list = no # 不允许列文件 hosts allow=/ hosts deny = * # 禁止除 / 段外的连接 IP auth users = SvcCWRSYNC # 认证的用户名,如果没有这行,则表明是匿名 secrets file = /cygdrive/d/pass/rsync.passwd # 认证文件名 创建认证文件 d/pass/rsync.passwd 内容格式:用户:密码,如 SvcCWRSYNC:347SJDg345876y8324启动 RsyncServer 服务并保证开机自动重启, 服务器端配置完毕。 二、客户端安装配置 1 、下载客户端安装包 /projects/sereds/files/ 截止本文档更新日期, 最新 版本是 cwRsync_4.0.2_Installer 2 、安装 点击 Install ,安装完成。 3 、cwRsync

文档评论(0)

1亿VIP精品文档

相关文档