`

nexus安装

 
阅读更多

1   http://www.sonatype.org/nexus/ 下载

 

2   解压缩

 

3   配置环境变量在   path加上一段  执行 nexus解压缩目录的bin

 

4   运行cmd命令 nexus install   (发现报错wrapper : openScmanager faild  拒绝访问: 解决办法,权限不够,去window system32 找到 cmd.exe 右键用命令行打开  输入命令)

 

5   命令行显示  wrapper  : nexus installed   安装成功(这时看服务会发现多了一个 nexus)

 

6   启动服务   nexus start  (wrapper  : nexus  started 启动成功 )

 

如果启动错误 (wrapper  : nexus service  launched ,but not to start)  

 

解决方法  打开  nexus的目录bin/jsw/conf/wrapper.conf 配置文件中 找到 wrapper.java.command=java

改为wrapper.java.command=JAVA_HOME/bin/java

 

7   http://localhost:8081/nexus  打开页面访问不了。。。端口冲突,修改nexus端口

nexus的目录conf文件夹下nexus.properties 文件  看到 8081  改成其他即可

 

更改nexus的访问不用http://localhost:8081/nexus,而是直接通过http://localhost:8081 访问,

把webapp-context-path=/nexus 改成webapp-context-path=/ 就可以了。

 

8  ok   完成。

分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics