Korea FreeBSD Users Group News, Internal, Projects, Home
Software, Support, Documentation

[Áú¹®] rsync Áú¹®ÀÔ´Ï´Ù.



[ ³¯Â¥¼ø »öÀÎ ] [ ´ñ±Û¼ø »öÀÎ ] [ ÃÖ»óÀ§ »öÀÎ]

[ÀÌÀü ±Û] [´ÙÀ½ ±Û] [ÀÌÀü ´ñ±Û] [´ÙÀ½ ´ñ±Û]


¾È³çÇϼ¼¿ä?

rsync ¸¦ »ç¿ëÇØ¼­ Linux¿¡ ÀÖ´Â ÀڷḦ FreeBSD ·Î ¿Å±æ·Á°í ÇÕ´Ï´Ù.
¿¹Àü¿¡ Linux - Linux ( µÑ´Ù turbolinux 7.0 ) ´Â ÀߵǾú½À´Ï´Ù.
±×·±µ¥, ¿À´Ã Linux - FreeBSD 4.6 Àº ÀßµÇÁö ¾Ê´õ±º¿ä.
Àß µÇÁö ¾Ê´Â´Ù´Â °ÍÀÌ :: ¸¦ »ç¿ëÇØ¼­ ¾ÏÈ£¸¦ ÀÔÇõÇÏÁö ¾Ê°í °¡Á®¿À´Â °ÍÀ» À̾߱â ÇÕ´Ï´Ù.

ÀÏ´Ü, Linux ÂÊ ¼³Á¤ÀÔ´Ï´Ù.
[root@service xinetd.d]# cat rsync
# default: off
# description: rsync
# securlevel: 30
service rsync
{
        disable = no
        socket_type     = stream
        protocol        = tcp
        wait            = no
        user            = root
        server          = /usr/bin/rsync rsyncd --daemon
}

[root@service /root]# cat /etc/rsyncd.conf
[mitra]
path = /home/mitra
comment = mitra 
uid = mitra
gid = mitra
use chroot = yes
read only = yes
hosts allow = xxx.xxx.xxx.xxx
max connections = 1
timeout 600

[root@service /root]# cat /etc/hosts.allow
...
rsync: ALL
...

ÀÔ´Ï´Ù.

FreeBSD¿¡¼­
$ rsync -avz -e ssh service:"~mitra" /home/mitra/
¶ó°í Çϸé Àߵ˴ϴÙ.
ÇÏÁö¸¸..
$ rsync -avz -e ssh service::"~mitra" /home/mitra/
¶ó°í Çϸé
rsync: failed to connect to xxx.xxx.xxx.xxx: Connection refused
rsync error: error in socket IO (code 10) at clientserver.c(97)
¶ó°í ¿¡·¯°¡ ³ª¿À³×¿© --;

¹«¾ùÀÌ ¹®Á¦Àϱî¿ä? ¤Ð.¤Ð
åy«–Š$jwmjG©j»bœ¡TP†Ûiÿü0ÂJß­ç›±Ú+ƒñ@BJÿN…'²æìr¸›zǧvf¢–Ú&j:+v‰¨’±kyàRŠàÂ+aº{.nÇ+‰·ª¹ë-ЉìŠ{axƒb‡í…鞲Ơ

[ ³¯Â¥¼ø »öÀÎ ] [ ´ñ±Û¼ø »öÀÎ ] [ ÃÖ»óÀ§ »öÀÎ]

Copyright © 1998-2005 Korea FreeBSD Users Group.
All rights reserved. webmaster at kr.FreeBSD.org
$Date: 2002/09/30 23:02:27 $
Powered by FreeBSD