2.3 Environmental ready -nexus

--- --- restore content begins

1. Download the installation package

  cd /usr/software/

  wget https://sonatype-download.global.ssl.fastly.net/nexus/oss/nexus-2.14.3-02-bundle.tar.gz

2. Extract

  mkdir -p /usr/local/nexus

       cp nexus-2.14.3-02-bundle.tar.gz /usr/local/nexus/nexus-2.14.3-02-bundle.tar.gz

  cd /usr/local/nexus/

  tar -zxvf nexus-2.14.3-02-bundle.tar.gz 

       After decompression occurs:

  nexus-2.14.3-02

  sonatype-work

3. Environment Variables

  vi / etc / profile

  export RUN_AS_USER=root

  export PATH=.:$JAVA_HOME/bin:$RUN_AS_USER:$PATH

  source /etc/profile

4. Start

  ./nexus-2.14.3-02/bin/nexus start

5. Configuring Security Group (aws-ec2)

6. Access Address:

http://your ip:8081/nexus

 

--- end --- restore content

Guess you like

Origin www.cnblogs.com/bloodthirsty/p/11288331.html