로그인 회원가입
모두인포
전체IT경제사회생활스포츠시사여행연애

CentOS Rsync 설치

lmkfox · 2021-02-21 · 조회 2
CentOS Rsync 설치
CentOS Rsync 설치 하기    - 우선 패키지 확인   #rpm -qa | grep rsync , rpm -qa | grep xinetd   - 설치가 않되어 있으면 설치 한다.    #yum install rsync, yum install xinetd    - 설치가 끝났으면 rsync 설정   #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 = yes       <-- 이부분을 no 로 변경 flags = IPv6 socket_type     = stream wait            = no user            = root server          = /usr/bin/rsync server_args     = --daemon log_on_failure  += USERID }   - 그 후 rsync.conf 설정   #vi /etc/rsyncd.conf   [test]                                <- 사용할 rsync 서비스 이름 path = /data/test                <- 데이터 원본 경로 comment = test Rsync         <- 코멘트 uid = nobody                    <- 권한 사용자 gid = nobody                    <- 권한 그룹  hosts allow = 192.168.1.      <- 허용할 클라이언트 IP max connections = 10        <- 최대 연결 수  timeout = 30                    <- time out   - 서비스 재시작   #service xinetd restart

댓글

아직 댓글이 없습니다.

로그인 후 댓글을 남길 수 있습니다.