[rsync Server 설치]
[root@sangchul src]# wget http://rsync.samba.org/ftp/rsync/rsync-3.0.7.tar.gz
[root@sangchul src]# tar xvfz rsync-3.0.7.tar.gz
[root@sangchul rsync-3.0.7]# ./configure
[root@sangchul rsync-3.0.7]# make
[root@sangchul rsync-3.0.7]# make install
[root@sangchul rsync-3.0.7]# vi /etc/xinetd.d/rsync
# 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/local/bin/rsync
server_args = --daemon
log_on_failure += USERID
}
[root@sangchul rsync-3.0.7]#
[root@sangchul rsync-3.0.7]# netstat -an | grep 873
tcp 0 0 0.0.0.0:873 0.0.0.0:* LISTEN
[root@sangchul rsync-3.0.7]# vi /etc/rsyncd.conf
[service]
path = /usr/service
comment = service
uid = root
gid = root
use chroot = yes
read only = yes
hosts allow = 192.168.0.200
max connections = 2
timeout 600
[root@sangchul rsync-3.0.7]#
[rsync Client 설치]
[root@byungun service]# rsync -avz --delete 192.168.0.100::service /usr/service &
'리눅스' 카테고리의 다른 글
[보안] rootkit hunter (rkhunter) 설치 (0) | 2013.07.02 |
---|---|
[crontab] 시간 동기화 (0) | 2013.07.02 |
[WEB 보안] John the ripper 설치 (johnripper) (0) | 2013.07.02 |
[리눅스][보안취약점] 계정 잠금 임계값 설정 (1) | 2013.07.02 |
[리눅스] 하드웨어 정보 확인하기 | dmidecode 명령어 (0) | 2013.06.28 |