Ⅰ. 넥서스 레파지토리(Nexus Repository)란?
개발 과정에서 사용되는 다양한 소프트웨어 아티팩트(artifact) 들을 저장, 관리, 배포하는 데 사용되는 중앙 저장소 시스템입니다. 보통 빌드된 라이브러리, 바이너리, 패키지 등을 저장하고 재사용할 수 있게 하여 개발 및 배포 프로세스를 효율화합니다. 대표적으로 Sonatype Nexus Repository Manager가 많이 사용됩니다.
Ⅱ. 넥서스 레파지토리(Nexus Repository) 특징
ⅰ) 소프트웨어 아티팩트 저장소 관리 도구
ⅱ) Maven, npm, Docker, PyPI, Yum, APT 등 다양한 포맷 지원
ⅲ) 프라이빗 레포지토리로 사내 저장소 구성 가능
ⅳ) CI/CD와 통합되어 빌드 아티팩트를 저장하고 배포
Ⅲ. 넥서스 레파지토리(Nexus Repository) 기능
기능 | 설명 |
프록시 레파지토리 | 외부 공개 저장소를 캐싱 (예: Maven Central, npm registry) |
호스트 레파지토리 | 자체적으로 패키지를 업로드하고 공유 |
그룹 리 레파지토리 | 여러 리포지토리를 하나로 묶어 접근 통합 |
역할 기반 접근 제어 | 사용자별 읽기/쓰기 권한 설정 가능 |
CI/CD 통합 | Jenkins, GitLab CI 등과 연동해 자동화된 빌드 배포 가능 |
지원 포맷 | Maven, npm, Docker, NuGet, PyPI, APT, Yum 등 다양한 포맷 지원 |
Ⅳ. 넥서스 레파지토리(Nexus Repository) 장점
ⅰ) 외부 의존성 캐싱으로 빌드 안정성 향상
ⅱ) 사내 전용 라이브러리 관리 가능
ⅲ) CI/CD 파이프라인과 쉽게 연동 가능
ⅳ) 오픈소스와 프라이빗 아티팩트 통합 관리
Ⅴ. 넥서스 레파지토리(Nexus Repository) 설치 방법
ⅰ) 다운로드 사이트
https://help.sonatype.com/en/download.html
Download
Nexus Repository downloads are available for the 64-bit versions of Apple macOS, Microsoft Windows, and Unix/Linux. They contain all the necessary resources to install and run Nexus Repository.Download Sonatype Nexus Repository 3.79.1These downloads are us
help.sonatype.com
ⅱ) 설치하는 운영체제 맞게 다운로드
ⅲ) 다운로드 후 압축해제
ⅳ) nexus-3.79.1-04-win-x86_64 디렉터리 이동 후 파일 확인
ⅴ) 관리자 권한으로 CMD 창 실행
cd [다운로드 경로]\ nexus-3.79.1-04\bin install-nexus-service.bat [다운로드 경로]\sonatype-work |
예시)
cd C:\Users\feccle\Download\nexus-3.79.1-04-win-x86_64\nexus-3.79.1-04\bin
install-nexus-service.bat C:\Users\feccle\Download\nexus-3.79.1-04-win-x86_64\sonatype-work
ⅵ) 서비스 시작
실행 > services.msc > Sonatype Nexus Repository 서비스 시작
ⅶ. 포트 변경
기본 포트는 8081 포트이며, 포트 변경이 필요할 경우 nexus-default.properties 파일 수정이 필요합니다.
[다운로드 경로]\nexus-3.79.1-04\etc\nexus-default.properties |
예시)
1) 디렉터리 이동
C:\Users\feccle\Download\nexus-3.79.1-04-win-x86_64\nexus-3.79.1-04\etc 디렉터리 이동 후
2) 파일 편집
nexus-default.properties 편집
3) 포트 변경
application-port=8081 > application-port=8080
4) 서비스 재시작
ⅷ. 서비스 확인
ⅸ. 계정 로그인
기본 계정 : Admin
패스 워드 : sonatype-work\admin.password
예시)
1) 패스워드 확인
패스워드 위치 : C:\Users\feccle\Download\nexus-3.79.1-04-win-x86_64\sonatype-work\admin.password
2) 로그인
'어플리케이션' 카테고리의 다른 글
라이프키퍼(LifeKeeper)에 대해 알아보겠습니다. (0) | 2025.05.30 |
---|---|
애자일(Agile) 방법론에 대해 알아보겠습니다. (0) | 2025.05.08 |
CAPTCHA (Completely Automated Public Turing test to tell Computers and Humans Apart)에 대해 알아보겠습니다. (0) | 2025.03.11 |
mod_jk 모듈을 컴파일 및 설치하는 방법에 대해 알아보겠습니다. (0) | 2025.03.10 |
MIME Type(Multipurpose Internet Mail Extensions Type)에 대해 알아보겠습니다. (1) | 2025.02.20 |