How to Install & Set Up Nexus Repository OSS
Run Sonatype Nexus Repository OSS — a universal artifact manager for Maven, npm, Docker, and more — the fast way with Docker.
Prerequisites
- ✓A host with 4 GB+ RAM and Java 8/11 (bundled in the Docker image)
- ✓Docker (for the container method)
Run Nexus with Docker
Retrieve the admin password
Nexus generates a one-time admin password on first boot.
Alternative — run without Docker (bundled JRE tarball)
Sonatype doesn't publish native apt/dnf packages, but the tarball download bundles its own Java runtime, so it drops onto RHEL or Ubuntu identically — no distro-specific step.
!
The admin password from this install method lands in sonatype-work/nexus3/admin.password instead of the Docker path above.
Verify
Open http://your-host:8081, sign in as admin with that password, and complete the setup wizard to set a new password and anonymous-access policy.
Documentation & Knowledge Base
Official DocumentationNexus Repository Documentation →Knowledge Base & CommunitySonatype Community →
Download Nexus Repository OSS— all versions & official links→Related Guides
Need Nexus Repository OSS deployed and managed for you?
We're OpenStack Dev — we design, deploy, and operate production DevOps infrastructure.