(源自網絡)rsync(DATA同步) 的安裝
- 詳細內容
- 分類: BSD
- 發佈: 2006-05-28, 週日 15:22
- 作者 Super User
- 點擊數: 17757
install rsync
cd /usr/ports/net/rsync
make install && make clean
vi /usr/local/etc/rsyncd.conf
pid file = /var/run/rsyncd.pid
log file = /var/log/rsyncd.log
lock file = /var/run/rsync.lock
uid = nobody
gid = nobody
use chroot = no
max connections = 4
syslog facility = local5
[jason]
path = /home/jason/rsync
comment = This is test rsync
uid = root
auth users = jason
ignore errors
read only = no
list = no
secrets file = /usr/local/etc/rsyncd.secrets
vi /usr/local/etc/rsyncd.secrets
jason:123456
chmod 600 /usr/local/etc/rsyncd.secrets
vi /etc/rc.conf
rsyncd_enable="YES"
download
C:\PROGRA~1\CWRSYNC\bin\rsync -vrtz --delete Email住址會使用灌水程式保護機制。你需要啟動Javascript才能觀看它::jason /cygdrive/K/jason/
upload
C:\PROGRA~1\CWRSYNC\bin\rsync -vrtz --delete /cygdrive/K/jason/ Email住址會使用灌水程式保護機制。你需要啟動Javascript才能觀看它::jason