Toggle navigation
主页
English
K8S
Golang
Guitar
About Me
归档
标签
Welcome to Sanger's Blog!
Nexus3
无
2023-02-22 16:30:15
18
0
0
sanger
[TOC] # Nexus3简介 > [Nexus3](https://github.com/sonatype/nexus-public) 是一个统一的仓库系统,常见的有诸如apt、docker、maven2、npm、pypi、yum等repositories。如果开发工程师在开发软件时没有一个统一的repositories地址,那么将会受到不必要的影响,降低开发迭代效率。而Nexus3 就是这么一个平台,可以统一管理repositories仓库。 https://help.sonatype.com/repomanager3 # 安装 https://help.sonatype.com/repomanager3/installation/installation-methods ## systemd方式 ### 下载二进制包 > 在列表中选择一个 https://github.com/sonatype/nexus-public/releases https://help.sonatype.com/repomanager3/product-information/download ``` wget https://github.com/sonatype/nexus-public/archive/refs/tags/release-3.47.1-01.tar.gz ``` ## systemd ``` [Unit] Description=Sonatype Nexus After=network.target [Service] User=nexus Type=forking TimeoutStartSec=0 ExecStart=/home/app/nexus/nexus/bin/nexus start ExecStop=/home/app/nexus/nexus/bin/nexus stop RestartSec=20 [Install] WantedBy=multi-user.target ``` ## docker方式 https://github.com/sonatype/docker-nexus3 https://hub.docker.com/r/sonatype/nexus3 ``` $ mkdir /some/dir/nexus-data && chown -R 200 /some/dir/nexus-data $ docker run -d -p 8081:8081 --name nexus -v /some/dir/nexus-data:/nexus-data sonatype/nexus3 ``` ## k8s方式 https://cloud.tencent.com/developer/article/2014111
上一篇:
音标
下一篇:
Sonar分支扫描
0
赞
18 人读过
新浪微博
微信
更多分享
腾讯微博
QQ空间
人人网
文档导航