maven私有仓库nexus的安装

nexus安装:

1.解压nexus-2.12.0-01-bundle.zip

2.添加nexus到path环境变量中
D:\Program Files\nexus-2.12.0-01-bundle\nexus-2.12.0-01\bin

3.在命令提示符中将nexus作为服务安装
nexus install

4.修改D:\Program Files\nexus-2.12.0-01-bundle\nexus-2.12.0-01\bin\jsw\conf下的wrapper.conf配置文件
设置jvm的路径
# Set the JVM executable
# (modify this to absolute path if you need a Java that is not on the OS path)
wrapper.java.command=D:\Program Files\Java\jdk1.8.0_212\bin\java

5.在命令提示符中启动nexus服务
nexus start

6.在浏览器中访问nexus
输入的地址为:http://localhost:8081/nexus

posted @ 2021-03-15 17:46  松松敲代码  阅读(97)  评论(0编辑  收藏  举报