Rsync

来自开放百科 - 灰狐
(版本间的差异)
跳转到: 导航, 搜索
第6行: 第6行:
 
获得源码: http://rsync.samba.org/ftp/rsync/rsync-2.6.8.tar.gz
 
获得源码: http://rsync.samba.org/ftp/rsync/rsync-2.6.8.tar.gz
 
  tar zxvf rsync-2.6.8.tar.gz
 
  tar zxvf rsync-2.6.8.tar.gz
  cd rsync-2.6.8
+
  cd rsync-2.6.8, as root
 
  ./configure
 
  ./configure
 
  make
 
  make
第12行: 第12行:
  
 
  rsync --help  
 
  rsync --help  
 +
 +
You can simply run rsync as a daemon, or you can have it started automatically by inetd. In /etc/services add:
 +
rsync 873/tcp
 +
and in /etc/inetd.conf add:
 +
rsync stream tcp nowait root /usr/bin/rsync rsync --daemon --config=/etc/rsyncd.conf
  
 
==相关文档==
 
==相关文档==
 
*[[Rsync_Mirror_Site|用rsync对网站进行镜像备份]]
 
*[[Rsync_Mirror_Site|用rsync对网站进行镜像备份]]
 
*rsync examples - http://rsync.samba.org/examples.html
 
*rsync examples - http://rsync.samba.org/examples.html

2006年10月15日 (日) 10:29的版本

http://rsync.samba.org/

安装指南

获得源码: http://rsync.samba.org/ftp/rsync/rsync-2.6.8.tar.gz

tar zxvf rsync-2.6.8.tar.gz
cd rsync-2.6.8, as root
./configure
make
make install
rsync --help 

You can simply run rsync as a daemon, or you can have it started automatically by inetd. In /etc/services add:

rsync 873/tcp

and in /etc/inetd.conf add:

rsync stream tcp nowait root /usr/bin/rsync rsync --daemon --config=/etc/rsyncd.conf

相关文档

分享您的观点
个人工具
名字空间

变换
操作
导航
工具箱