개요
다운로드한 .tgz tarball을 사용하여 Linux 에서 MongoDB Mongosync를 구성하려면 이 페이지의 단계를 따르세요.
Mongosync는 일부 플랫폼에서 사용할 수 있습니다.
Mongosync 버전
이 튜토리얼에서는 최신 버전의 mongosync 를 설치합니다.
고려 사항
플랫폼 지원
Mongosync는 다음 Linux 운영 체제에서 사용할 수 있습니다.
Amazon Linux 2
Amazon Linux 2023
Red Hat Enterprise Linux(RHEL) 7
Red Hat Enterprise Linux(RHEL) 8
Red Hat Enterprise Linux (RHEL) 9
Ubuntu 18.04
Ubuntu 20.04
Ubuntu 22.04
Ubuntu 24.04
버전 요구 사항
Mongosync는 클러스터 간 동기화를 지원합니다. MongoDB 서버 버전 호환성에 대한 자세한 내용은 MongoDB Server 버전 호환성을 참조하세요.
Mongosync 설치
다음 단계에 따라 .tgz에서 Mongosync를 수동으로 설치합니다.
바이너리가 PATH 환경 변수에 나열된 디렉토리에 있는지 확인합니다.
mongosync 바이너리는 압축을 푼 tarball의 bin/ 디렉토리에 있습니다. mongosync 바이너리의 위치를 PATH 에 추가하려면 다음 중 하나를 수행하세요.
바이너리를
PATH변수에 나열된 디렉토리(예:/usr/local/bin)에 복사합니다. (tar파일을 추출한 위치를 반영하도록/path/to/mongosync/bin를 업데이트합니다.)sudo cp /path/to/mongosync/bin/mongosync /usr/local/bin/ PATH에 이미 있는 디렉토리(예:/usr/local/bin)에서mongosync바이너리에 대한 기호 링크를 생성합니다. (tar파일을 추출한 위치를 반영하도록/path/to/mongosync/bin을(를) 업데이트합니다.)sudo ln -s /path/to/mongosync/bin/mongosync /usr/local/bin/mongosync