바뀜

둘러보기로 가기 검색하러 가기
736 바이트 추가됨 ,  2021년 5월 1일 (토) 22:24
편집 요약 없음
=== /home/ftpsync/etc/ftpsync.conf 파일 생성 및 설정 저장소(debian) 미러링 ===
==== /home/ftpsync/etc/ftpsync.conf 파일 생성 ====/home/ftpsync/etc/ftpsync.conf.sample 파일을 복사해서 ftpsync.conf 파일을 생성합니다.
<pre>
</pre>
==== /home/ftpsync/etc/ftpsync.conf 파일 설정 ====
ftpsync.conf 파일은 데비안 미러 서버에서 'debian' 저장소를 다운로드하는 데 사용합니다. 저는 ftpsync.conf 파일을 이용해 http://mirror.debianusers.or.kr/debian/ 저장소를 만들었습니다.
제가 사용하는 ftpsync.conf는 다음과 같습니다.
=== /home/ftpsync/etc/ftpsync-security.conf 파일 생성 및 설정 = 미러링 실행 ====
<pre>$ /home/ftpsync/bin/./ftpsync</pre>  ==== 미러링 로그 확인 ==== 아래 명령으로 미러링의 실시간 로그를 확인할 수 있습니다. <pre>$ tail -f /home/ftpsync/log/rsync-ftpsync.log</pre>  === 저장소(debian-security) 미러링 === ==== /home/ftpsync/etc/ftpsync-security.conf 파일 생성 ====/home/ftpsync/etc/ftpsync.conf.sample 파일을 복사해서 ftpsync-security.conf 파일을 생성합니다.
<pre>
</pre>
==== /home/ftpsync/etc/ftpsync-security.conf 파일 설정 ====ftpsync-security.conf 파일은 데비안 미러 서버에서 'debian-security' 저장소를 다운로드하는 데 사용합니다. 저는 ftpsync-security.conf 파일을 이용해 http://mirror.debianusers.or.kr/debian-security/ 저장소를 만들었습니다. 제가 사용하는 ftpsync-security.conf는 다음과 같습니다.
<syntaxhighlight lang="diff">
== 참고 ==미러링 실행 ==== <pre>$ /home/ftpsync/bin/./ftpsync sync:archive:security</pre>  ==== 미러링 로그 확인 ==== 아래 명령으로 미러링의 실시간 로그를 확인할 수 있습니다. <pre>$ tail -f /home/ftpsync/log/rsync-ftpsync-security.log</pre>

둘러보기 메뉴