nexus

Getting started with Nexus Repository Manager

Prerequisites

To get Nexus Repository Manager 2 running so you can use it with Maven, you need to run through a few steps before you install the repository manager itself.

Once you’ve done this, you should be ready to move on and install Repository Manager itself.

Installation on Linux

Once you’ve met the prerequisites for installing Nexus Repository Manager 3, you’ll need to follow a few steps to get it running on Linux.

  • Open a terminal
  • Copy the package to a sane place sudo cp nexus-3.1.0-04-unix.tar.gz /usr/local
  • cd /usr/local
  • Untar the Nexus Repository Manager package via a similar command:

sudo tar xvzf nexus-3.1.0-04-unix.tar.gz

  • Create a symlink for ease of use sudo ln -s nexus-3.1.0-04 nexus

Once you’ve done these steps you can run Nexus Repository Manager via the following command

./bin/nexus run

You should see a lot of logs come up, and you should be able to access Nexus Repository Manager via the following URL: https://localhost:8081

Voila!

Installation on Windows

Once you’ve met the prerequisites for installing Nexus Repository Manager 3, you’ll need to follow a few steps to get it running on Windows.

  • Unzip the package, e.g. 7za.exe e nexus-3.1.0-04-win64.zip
  • Copy the package to a sane place, likely C:\nexus

Assuming you are using the command prompt and in the C:\nexus (or whatever directory you chose), once you’ve done these steps you can run Nexus Repository Manager via the following commands

  • cd bin
  • nexus.bat

You should see a lot of logs come up, and you should be able to access Nexus Repository Manager via the following URL: https://localhost:8081

Voila!


This modified text is an extract of the original Stack Overflow Documentation created by the contributors and released under CC BY-SA 3.0 This website is not affiliated with Stack Overflow