Repository Management with Nexus
24.2. Getting Started
This guide is based on the usage of Nexus Professional. A lot of the core features are available in Nexus Open Source as well and some examples are suitable to assess the open source version as well.
- Step 1: Download the Nexus Professional Trial Installer for your operating system
- Step 2: Run the Nexus Professional Installer
- Step 3: Start Nexus from the Nexus Professional Installer
When Nexus has started just select to open the url in the wizard or go to http://localhost:8081/nexus in a browser window.
This guide and the examples reference the Nexus URL http://localhost:8081/nexus. If you have chosen to use a different port during the installation of the trial e.g. 9081, simple change the URLs.
In case something goes wrong and Nexus seems to be unavailable, you can examine the Nexus log file to identify problems. It is located in
Nexus tries to listen on port 8081. If you have another application listening on this port, Nexus will not be able to start.
You can change the port Nexus listens on. Open this file
Edit the line that looks like this:
For example, to access Nexus on port 9090 instead, change the line to
Save the file and restart Nexus.
Once Nexus is started and you are accessing the user interface the
first time, you will see the trial activation form. Provide your full
name, email address, organization, and location, click on
You will immediately receive an email from Sonatype with the subject
“Your Nexus Professional Trial License”, which contains your trial
license key. Paste this license key into the license field in the
Nexus Professional user interface. Click
Activate to activate your
14-day Nexus Professional Trial. Once your trial is activated you will
be presented with the Nexus user interface.
After activating your Nexus install, you can log into Nexus as an administrator. Go to http://localhost:8081/nexus/ and click on the Login button in the upper right-hand corner of the interface.
The default administrator username is
admin and password is
The Nexus Professional Trial evaluation guide assumes that you are logged in as an administrator.
To make it easier to evaluate Nexus, we’ve created a set of projects to demonstrate the features of Nexus Open Source and Nexus Professional. These example projects are bundled with the trial installer for your convenience.
In addition they are available as the nexus-book-examples project on GitHub at https://github.com/sonatype/nexus-book-examples for you to download and inspect separately, if desired. The latest version of all the examples is available as a zip archive at https://github.com/sonatype/nexus-book-examples/archive/master.zip.
When you downloaded the trial distribution of Nexus Professional, your server is also preconfigured to demonstrate important features.
The Nexus trial distribution contains the following customizations:
- Nexus has been preconfigured to download the search index from the Central Repository.
- A Staging profile has been configured to demonstrate release management.
- Procurement has been preconfigured so you can quickly define rules for the OSS components.
- Nexus proxies NuGet Gallery so that you can quickly evaluate support for .NET development.