惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

S
SegmentFault 最新的问题
博客园 - 三生石上(FineUI控件)
WordPress大学
WordPress大学
博客园 - 【当耐特】
月光博客
月光博客
Vercel News
Vercel News
D
Docker
I
InfoQ
Apple Machine Learning Research
Apple Machine Learning Research
博客园 - 叶小钗
MongoDB | Blog
MongoDB | Blog
GbyAI
GbyAI
有赞技术团队
有赞技术团队
雷峰网
雷峰网
博客园 - 聂微东
小众软件
小众软件
Y
Y Combinator Blog
腾讯CDC
L
LangChain Blog
The GitHub Blog
The GitHub Blog
宝玉的分享
宝玉的分享
Stack Overflow Blog
Stack Overflow Blog
大猫的无限游戏
大猫的无限游戏
T
The Blog of Author Tim Ferriss

博客园 - 快乐就好

vs code使用 mvn install 使用winsw部署spring boot项目 springboot jrebel热部署 springboot devtools热启动 浅谈单元测试 IntelliJ IDEA live template 方法配置 使用MHA实现MySQL主从复制高可用 Linux 常用命令介绍 开源堡垒机 dubbo循序渐进 - Jenkins自动化部署 maven教程 Git命令速查表 maven下载,上传设置 Maven中 jar包冲突原理与解决办法 延迟调度总结 使用Nexus3搭建Maven私服+上传第三方jar包到本地maven仓库 dubbo循序渐进 - nacos安装 dubbo循序渐进 - 什么是RPC
dubbo循序渐进 - 使用Docker安装Nexus
快乐就好 · 2019-10-21 · via 博客园 - 快乐就好

docker pull docker.io/sonatype/nexus3

 

mkdir -p /usr/local/nexus3/nexus-data
chown -R 777/usr/local/nexus3/nexus-data
 
docker run -tid -p 8081:8081 --name nexus -e NEXUS_CONTEXT=nexus -v /usr/local/nexus3/nexus-data:/nexus-data  docker.io/sonatype/nexus3

 注:nexus安装必须要2G内存,否则会提示内存不足

附:非docker方式

下载链接
https://www.sonatype.com/download-oss-sonatype
https://sonatype-download.global.ssl.fastly.net/nexus/3/latest-unix.tar.gz
tar -zxvf latest-unix.tar.gz
cd nexus-3.19.1-01/
bin/nexus run&

 windows版本安装方式

进入解压目录

cd bin
nexus /run
nexus /install nexus #创建服务

耐心等待安装完成

 最终进入http://localhost:8081/访问nexus

具体怎么用,请访问https://www.cnblogs.com/happyday56/p/11714802.html