Skip to content

Instantly share code, notes, and snippets.

@yangboz
Forked from diegopacheco/nexus.md
Created March 8, 2017 15:47
Show Gist options
  • Save yangboz/b4c14ae21dbb04f332ff6b77befc4278 to your computer and use it in GitHub Desktop.
Save yangboz/b4c14ae21dbb04f332ff6b77befc4278 to your computer and use it in GitHub Desktop.
How to Install Nexus on Ubuntu?

Download and Install Nexus

sudo wget http://www.sonatype.org/downloads/nexus-latest-bundle.zip
sudo chmod 777 nexus-2.11.4-01-bundle.zip
sudo unzip nexus-2.11.4-01-bundle.zip
cd nexus-2.11.4-01/bin
sudo RUN_AS_USER=root ./nexus start

Config nexus on Maven

sudo vim $M2_HOME/conf/settings.xml
    <server>
      <id>nexus</id>
      <username>admin</username>
      <password>admin123</password>
    </server>

Goto: http://127.0.0.1:8081/nexus/#welcome

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment