美文网首页
Maven私服Nexus3.x环境构建 2019-04-05

Maven私服Nexus3.x环境构建 2019-04-05

作者: Theflash_26d0 | 来源:发表于2019-04-06 07:59 被阅读0次

    Nexus的安装有两种实现方式:

    1)war包安装方式

    下载地址:https://sonatype-download.global.ssl.fastly.net/nexus/oss/nexus-2.14.2-01.war

    直接将war包放在tomcat的根目录下,启动tomcat就可以用了

    2)源码安装方式

    下载地址:https://www.sonatype.com/download-oss-sonatype

    [root@master-node ~]# cd /usr/local/src/

    [root@master-node src]# wget https://sonatype-download.global.ssl.fastly.net/nexus/3/nexus-3.2.0-01-unix.tar.gz

    [root@master-node src]# tar -zvxf nexus-3.2.0-01-unix.tar.gz 

    [root@master-node src]# mv nexus-3.2.0-01 /usr/local/nexus

    启动nexus(默认端口是8081)

    [root@master-node src]#sudo /usr/local/nexus/bin/nexus 

    [root@master-node src]#sudo /usr/local/nexus/bin/nexus start

    3)直接打开私服

    地址:http://localhost:8081

    相关文章

      网友评论

          本文标题:Maven私服Nexus3.x环境构建 2019-04-05

          本文链接:https://www.haomeiwen.com/subject/dkiliqtx.html