centos7 build nexus3

centos7 build nexus3

PW nexus3 build on centos7

Download: http://download.sonatype.com/nexus/3/nexus-3.7.1-02-unix.tar.gz
(Zhendi official website to download is slow, I use Thunder download one night on the Baidu cloud. on, easy download)

Links: https://pan.baidu.com/s/1nR3ZgOEJzfi72rg9PgaPmQextraction code:dpfm

If the speed you can use wget command directly on the server can be:
wget http://download.sonatype.com/nexus/3/nexus-3.7.1-02-unix.tar.gz


installation steps

centos7, the premise has been installed JDK

  • Will be downloaded nexus-3.7.1-02-unix.tar.gzto the server and then unzip

    The first step: decompression

    tar -zxvf nexus-3.7.1-02-unix.tar.gz
    

    Step Two: Configure environment variables
    will be the nexus of bin configuration environment variable

    # 修改profile
    vim /etc/profile
    # 在配置文件的末尾添加环境变量信息
    export NEXUS_HOME=/home/soft/nexus-3.7.1-02
    export PATH=$PATH:$NEXUS_HOME/bin
    

    After exiting the save, let source effect.

     source /etc/profile
    

    Other related commands

    //启动
    nexus start
    //停止
    nexus stop 
    //重启
    nexus restart 
    //查看状态
    nexus status
    

    You can modify the default port in the etc following the default file. nexus default port is 8081

       /home/soft/nexus-3.7.1-02/etc
      [root@uzong etc]# vim nexus-default.properties 
      [root@uzong etc]# pwd
      /home/soft/nexus-3.7.1-02/etc
    

    Such as modifying 8099: http://182.61.136.109:8099/

    The default account password: admin / admin123
    then remember to change your password; you do not need network


Postscript: nexus generally do not build the public Internet. We are network within the company.

Published 274 original articles · won praise 119 · views 290 000 +

Guess you like

Origin blog.csdn.net/qq_31156277/article/details/103254175