이 페이지는 Artifactory의 파일 저장 위치 변경 방법을 정리한다.

설정 파일 확인

RPM으로 설치한 경우

/var/opt/jfrog/artifactory/etc/artifactory/binarystore.xml

Standalone (zip)으로 설치한 경우

<Artifactory Install Dir>/etc/artifactory/binarystore.xml

저장소 위치 변경

(경고) 설정 변경 전 Artifactory 서비스를 중지한다.

<config version="v1">
    <chain template="file-system">                                <!-- Use the "file-system" template -->
    </chain>
    <provider id="file-system" type="file-system">                    <!-- Modify the "file-system" binary provider -->
            <fileStoreDir>/data/binaries</fileStoreDir>        <!-- Override the <fileStoreDir> attribute -->
    </provider>
</config>