Centos기술노트
nexus(raw) 형태 리포지터리에서 curl을 이용한 파일 관리 명령어
잘나가는전산쟁이
2022. 9. 12. 02:50
728x90
반응형
SMALL
구성정보
- nexus서버 IP : 192.168.10.10:11000
- 리포지터리명 : test_repo
- 계정명 : test / test123
작업절차
- test_repo에 있는 img-1.png 파일 다운로드
$> curl -IL -u 'test:test123' http://192.168.10.10:11000/repository/test_repo/img-1.png -o img-1.png
- test.tar.gz 파일을 test_repo로 업로드
$> curl -IL -u 'test:test123' --upload-file ./test.tar.gz http://192.168.10.10:11000/repository/test_repo/test.tar.gz
- test_repo에 있는 test.tar.gz 파일 삭제
$> curl -IL --request DELETE -u 'test:test123' http:/192.168.10.10:11000/repository/test_repo/test.tar.gz
출처 - http://igoni.kr/books/it/page/nexusraw-curl
nexus(raw) 형태 리포지터리에서 ... | igoni.kr
구성정보 nexus서버 IP : 192.168.10.10:11000 리포지터리명 : test_repo 계정명 : test / test123 작...
igoni.kr
728x90
반응형
LIST