콘텐츠로 이동


Nexus(raw) 형태 리포지터리에서 curl을 이용한 파일 관리 명령어

구성정보

  1. nexus서버 IP : 192.168.10.10:11000
  2. 리포지터리명 : test_repo
  3. 계정명 : test / test123

작업절차

  1. 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
    
  2. 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
    
  3. test_repo에 있는 test.tar.gz 파일 삭제
    $> curl -IL --request DELETE -u 'test:test123' http:/192.168.10.10:11000/repository/test_repo/test.tar.gz
    


back
perplexity에서 생성한 AI이미지






작성일: 2026년 7월 16일 ,  마지막 업데이트: 2026년 7월 16일