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

推荐订阅源

The GitHub Blog
The GitHub Blog
Engineering at Meta
Engineering at Meta
博客园 - 聂微东
博客园 - Franky
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
雷峰网
雷峰网
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
L
LangChain Blog
WordPress大学
WordPress大学
H
Help Net Security
H
Hackread – Cybersecurity News, Data Breaches, AI and More
Y
Y Combinator Blog
Blog — PlanetScale
Blog — PlanetScale
MyScale Blog
MyScale Blog
IT之家
IT之家
酷 壳 – CoolShell
酷 壳 – CoolShell
罗磊的独立博客
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
有赞技术团队
有赞技术团队
Apple Machine Learning Research
Apple Machine Learning Research
云风的 BLOG
云风的 BLOG
博客园 - 【当耐特】
P
Proofpoint News Feed
D
DataBreaches.Net

博客园 - 快乐就好

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