Linux rsync目录同步功能实现.docxVIP

  • 4
  • 0
  • 约4.57千字
  • 约 5页
  • 2017-07-08 发布于河南
  • 举报
Linux rsync目录同步功能实现

Linux rsync目录同步功能实现 2009-01-08 14:04:45 标签: 实现目标: ? ?A 服务器上 /opt/web 目录,与B服务器上 /opt/web目录实现同步。即:B主动与A进行同步。 ? OS: Reaht AS4 ? A Server? /opt/web B Server? /opt/web ? 一. A Server config ? 1.rsync 系统自带, 需要使用 --deamon 方式进行启动,服务端口是 TCP 873 ? 2. vi /etc/xinetd.d/rsync? 修改 disable =yes 为 disable =no ,修改后的文件如下 ? # default: off # description: The rsync server is a good addition to an ftp server, as it \ #?????? allows crc checksumming etc. service rsync { ??????? disable = no ??????? socket_type???? = stream ??????? wait??????????? = no ??????? user??????????? = root ??????? server????????? = /usr/

文档评论(0)

1亿VIP精品文档

相关文档