본문 바로가기

기타

window nexus download

download site : https://help.sonatype.com/repomanager2/download

 

Download

Nexus Repository OSS is distributed with Sencha Ext JS pursuant to a FLOSS Exception agreed upon between Sonatype, Inc. and Sencha Inc. Sencha Ext JS is licensed under GPL v3 and cannot be redistributed as part of a closed source work.

help.sonatype.com

 

경로 : @/conf 폴더의 nexus.properties 파일 수정

D:\nexus-2.14.20-02-bundle\nexus-2.14.20-02\conf

 

port를 변경하고 싶으면 설정을 변경한다.

application-port=8081 // 이부분
application-host=0.0.0.0
nexus-webapp=${bundleBasedir}/nexus
nexus-webapp-context-path=/nexus

# Nexus section
nexus-work=${bundleBasedir}/../sonatype-work/nexus
runtime=${bundleBasedir}/nexus/WEB-INF

 

위 설정을 마쳤다면 실행한다.

cmd 창을 관리자 권한으로 실행하고

D: 폴더이동

 

 

만약 이렇게 실패가 난다면 자바 실행파일의 위치를 지정한다.

경로 : D:\nexus-2.14.20-02-bundle\nexus-2.14.20-02\bin\jsw\conf\wrapper.conf 파일 수정

wrapper.java.command=%JAVA_HOME%/bin/java 등록하라고 해서 했더니 안됨......

 

 

Nexus 3 로 실행하기

Nexus를 설치하는 방법은 크게 2가지다.

1. Sonatype 사이트에서 제공하는 압축 파일을 통해 설치 및 실행하는 방법

2. Docker 이미지로 설치 및 실행하는 방법

 

위 사이트에서 3 버전을 다운받은 후 CMD 관리자 실행권한 창에서 

경로: D:\nexus-3.37.0-01-win64\nexus-3.37.0-01\bin

nexus.exe /run

명령어를 실행한다.

 

기본 ID 와 비밀번호는 admin / admin123