Sonatype Nexus Repository 3.20 Installation, Admin Login, and Port Change

By Awkash Agrawal

2 minute read time

There are often times in agile teams where DevOps is constrained by bandwidth.

This tutorial is aimed at developers to help them get things up and running without hassle. This will give them confidence to try things on a working instance, rather than just learning theory.

Set Up Sonatype Nexus Repository 3.20 in Just Four Steps

In this video, I divided the entire tutorial into a series of steps. There are just four, called out from step one to step 4.1.

Step 1 is needed to download the exe from Nexus host.

Step 2 is needed because the downloaded package is in .zip format for Windows and .tgz for Linux.

Step 3 is responsible for running the Nexus server. Behind-the-scenes, it does many things, so that a normal developer needs not to worry. If you are running this on Linux, you can start this process in the background with "&" added at the end of the command.

Step 3.1 may be needed if you have an existing application running on the same port as Linux. This will only be evident when you fail.

Step 4 is the general step that allows you to login to the Nexus server. Since you will be logging in for the first time, you need to refer to admin.password file to get the temp password.

Step 4.1 allows you to change the password from the default password. This will also remove the admin.password file. Do remember the password you create!

One of the key motivations for using Sonatype Nexus Repository is its ease of use. It is easy to configure. It greatly helps get a team up and running with repository manager.

Picture of Awkash Agrawal

Written by Awkash Agrawal

Awkash is a developer advocate. He helps developers, QA, and DevOps people reach their true potential, unblocking them so that they can achieve goals faster. "I love to explore latest technologies and manage large teams. I believe technology should be simple otherwise it is hard to adopt and ...

Tags