레이블이 nexus인 게시물을 표시합니다. 모든 게시물 표시
레이블이 nexus인 게시물을 표시합니다. 모든 게시물 표시

2022년 10월 21일 금요일

바이너리 버전의 nexus 설치

 

사전정보
  1. 컨테이너 기반의 nexus설치 (docker기반의 nexus설치)외에 바이너리 기반으로 nexus설치 절차 작성
  2. 설치 버전은 3.310 버전으로 설치 진행
설치 작업
  1. 설치파일 다운로드
    $ wget https://download.sonatype.com/nexus/3/nexus-3.31.1-01-unix.tar.gz

  2. 압축해제 후 설정파일 셋업
    $ tar -zxvf nexus-3.31.1-01-unix.tar.gz -C /svc/nexus
    $ cd /svc/nexus/nexus-3.31.1-01/
     
    #포트 정보 변경
    $ vi etc/nexus-default.properties
    ...
    application-port=28080
    ...
     
    #JVM 리소스 변경
    $ vi bin/nexus.vmoptions
    ...
    -Xms1g
    -Xmx1g
    ...
     
    #로그 경로 변경
    $ vi etc/logback/logback.xml
    ...
    ${karaf.data}를 변경하고자 하는 경로로 설정
    ...
     
    #엑세스 로그 경로 변경
    $ vi etc/logback/logback-access.xml
    ...
    ${karaf.data}를 변경하고자 하는 경로로 설정
    ...

  3. nexus 실행
    $ ./bin/nexus  start


2022년 9월 12일 월요일

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

 

구성정보

  • nexus서버 IP : 192.168.10.10:11000
  • 리포지터리명 : test_repo
  • 계정명 : 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
    

adfit

AI들끼리 대화하기

ChatGPT, perplexity, Gemini... 많은 AI 서비스가 있고 서비스별로 다양한 엔진이 있죠. 문득 AI끼리 대화를 시켜보면 어떤 대화의 흐름을 이어갈까 궁금해졌습니다. 그래서 해보았습니다. 규 칙 나(사람)은 양쪽 AI에서...