zoukankan      html  css  js  c++  java
  • Linux (Ubuntu)安装nexus,搭建maven私有服务器

     下载 nexus oos(开源版)https://www.sonatype.com/download-oss-sonatype

    2 将下载的压缩包上传到/opt/nexus/文件夹下面

    3 解压文件

    sudo tar -zxvf nexus-3.13.0-01-unix.tar.gz

    解压之后出现两个文件夹:

    nexus-3.13.0-01/

    sonatype-work/

    nexus-3.13.0-01存储nexus核心文件以及启动文件夹

    sonatype-work 可以存放maven下载jar包,和启动时候的log文件

    4 启动nexus

    nexus默认端口号8081,nexus3可以在nexus-3.13.0-01/etc下面的nexus-default.properties文件修改

    默认情况下,不建议以root用户运行Nexus,如果跳过警告可以修改配置文件:nexus-3.13.0-01/bin下面的nexus文件

    启动:切换到nexus-3.13.0-01/bin目录下,

    ./nexus start

    检查是否启动:

    查看进程:ps -ef |grep nexus

    注:

    sudo ./nexus start: 在后台启动Nexus服务

    sudo ./nexus status:查看Nexus运行状态
    sudo ./nexus stop: 停止后台的Nexus服务
    sudo./nexus restart: 重新启动后台的Nexus服务

    5 访问网页

    http://ip地址:8081     (如果出现404,就访问http://IP地址:8081/nexus)

    默认用户名和密码:admin/admin123

    参考:

    https://blog.csdn.net/xiaoxiangzi520/article/details/80520412
    https://www.cnblogs.com/dingyingsi/p/3776560.html
    https://www.cnblogs.com/muzi1994/p/6026144.html

    https://blog.csdn.net/dengsilinming/article/details/17635191
    https://blog.csdn.net/pucao_cug/article/details/64925157

    https://blog.csdn.net/chenfei2341/article/details/80431700
    http://shiyanjun.cn/archives/1768.html
    https://www.jianshu.com/p/9740778b154f

    https://www.cnblogs.com/sellsa/p/8108052.html

    https://www.cnblogs.com/kevingrace/p/6201984.html

  • 相关阅读:
    My Houdini First Step
    MaxScript随机赋材质
    Groups of Operators
    Select groups in scene
    投篮球
    U3D PlayMovie
    unicornForest
    MaxScript Spinner/progressBar
    MaxScript Button
    MaxScript 扇子打开
  • 原文地址:https://www.cnblogs.com/kxm87/p/9686579.html
Copyright © 2011-2022 走看看