rsync 질문입니다...
글쓴이: myjuliet / 작성시간: 일, 2006/01/08 - 3:31오후
미러링 하는 프로그램으로 알고 있습니다.
연습해보려구 혹시나 해서 rpm -qa 루 검색해보니
2.5.5~ 버젼이 설치되어있더군요 실행을 하려면
rsyncd.conf 파일이 있어야 하는걸루 알고 있습니다.
그런데 아무리 찾아도 보이질 않네요 최상이 루트 가서
find . / -name rsync* -print 루 모든걸 검색해두 .conf란
파일이 존재하지 않습니다.. 그래서 ftp 가서 2.6버젼이
나왔길래 저걸루 ./configure 이후 make && make install
루 한후 다시 .conf 파일은 그 어디에두 없네요 ㅠㅠ;;
컨피그 할때 그래서 다시 ./configure --prefix=/usr/local/rsync루 강제루 잡아줫는데
저 폴더는 생성되지 않네요.. 제 개념이 어느 부분에서 잘못된건가요.. 웨 .conf 파일이 없을까요 ㅠㅠ;; 도저히 못 찾겟네요
Forums:
/etc/rsyncd.conf 없읍니다.. /usr/local/src 그 어디에두 없습니다 ㅠㅠ
/etc/rsyncd.conf 없읍니다.. /usr/local/src 그 어디에두 없습니다 ㅠㅠ
명후니~
그것은;
아마도 rsyncd.conf 파일은 집적 만들어줘야 하는 것으로 알고 있습니다.
---- sample -----
[이름]
path = backup할 경로
comment = 설명
uid = nobody
gid = nobody
hosts allow = 허용할 IP
use chroot = yes
timeout = 600
read only = yes
-----------------
이 정도로 설정해 주시면 됩니다. 옵션이 덩 있지만 저도 rsync에 대해서 공부하는 중이라...
rpm 패키지에는 원래 없군요.
sudo rpm -ql rsync
/etc/xinetd.d/rsync
/usr/bin/rsync
/usr/share/doc/rsync-2.5.4
/usr/share/doc/rsync-2.5.4/COPYING
/usr/share/doc/rsync-2.5.4/README
/usr/share/doc/rsync-2.5.4/tech_report.tex
/usr/share/man/man1/rsync.1.gz
/usr/share/man/man5/rsyncd.conf.5.gz
그렇지만 맨 페이지는 있네요.^^
데비안 패키지에 들어 있는 rsyncd.conf 파일입니다. 아래는:
/usr/share/doc/rsync/examples/rsyncd.conf
# sample rsyncd.conf configuration file
# GLOBAL OPTIONS
#motd file=/etc/motd
#log file=/var/log/rsyncd
# for pid file, do not use /var/run/rsync.pid if
# you are going to run rsync out of the init.d script.
pid file=/var/run/rsyncd.pid
#syslog facility=daemon
#socket options=
# MODULE OPTIONS
[ftp]
comment = public archive
path = /var/www/pub
use chroot = yes
# max connections=10
lock file = /var/lock/rsyncd
# the default for read only is yes...
read only = yes
list = yes
uid = nobody
gid = nogroup
# exclude =
# exclude from =
# include =
# include from =
# auth users =
# secrets file = /etc/rsyncd.secrets
strict modes = yes
# hosts allow =
# hosts deny =
ignore errors = no
ignore nonreadable = yes
transfer logging = no
# log format = %t: host %h (%a) %o %f (%l bytes). Total %b bytes.
timeout = 600
refuse options = checksum dry-run
dont compress = *.gz *.tgz *.zip *.z *.rpm *.deb *.iso *.bz2 *.tbz
放下着-----
내려놓으려는 마음도 내려놓기
放下着-----
내려놓으려는 마음도 내려놓기
댓글 달기