Nexus Repository Manager 制品仓库
nexus 管理 Maven、npm、Docker、PyPI 等制品,支持代理仓库、宿主仓库和仓库组。它基于 Java,生产环境要关注堆内存、blob 存储和清理策略。
nexus run
nexus start
nexus stop
curl -u admin:password http://127.0.0.1:8081/service/rest/v1/status
curl -u admin:password http://127.0.0.1:8081/service/rest/v1/repositories
curl -u admin:password -X POST http://127.0.0.1:8081/service/rest/v1/repositories \
-H 'Content-Type: application/json' \
-d '{"name":"npm-proxy","format":"npm","type":"proxy","online":true}'
# /opt/sonatype-work/nexus3/etc/nexus.properties
nexus-args=${jetty.etc}/jetty.xml,${jetty.etc}/jetty-http.xml
-Djava.io.tmpdir=/opt/sonatype-work/nexus3/tmp
admin.password 文件中;登录后要立即修改。jfrog — 另一种制品仓库 CLIdocker — 镜像仓库mvn / npm — 客户端