Introduction of Sonatype Nexus


by DevOpsSchool.com

Rajesh Kumar

(Senior DevOps Manager & Principal Architect)


Rajesh Kumar — an award-winning academician and consultant trainer, with 15+ years’ experience in diverse skill management, who has more than a decade of experience in training large and diverse groups across multiple industry sectors.

What is Nexus?



World’s #1 Repository Manager


  • A artifact repository mgmt tools
  • Single source of truth for all of your components, binaries, and build artifacts
  • Efficiently distribute parts and containers to developers
  • Deployed at more than 100,000 organizations globally

Why Nexus?



  • Saving Time
  • Saving Cost
  • Improve Quality of Software Development

Why SonaType Nexus?


  • To Store the artifact
  • Standard Process and Directory Layout
  • Saving time
  • Integrity of the package
  • Availability is time consuming
  • Security
  • Enforces for Standard Process
  • Maintenance & Cleanup
  • Schedule the maintenance
  • Backup
  • Mirror
  • Agile
    • Shorter Release
    • Quality
    • Time

Release



  • Nexus Repository OSS
    • Universally manage binaries and artifacts for FREE.

  • Nexus Repository Pro
    • Universally manage binaries and artifacts with HA and support.
https://www.sonatype.com/products/repository-oss-vs-pro-features

Other Package Repository Manager



  • Jfrog Artifactory
  • Apache Archiva
  • Nuget Gallery

Nexus vs Artifactory


Universal Support for All Popular Build Tools


  • Store and distribute Maven/Java, npm, NuGet, Helm, Docker, P2, OBR, APT, GO, R, Conan components and more.
  • Manage components from dev through delivery: binaries, containers, assemblies, and finished goods.
  • Advanced support for the Java Virtual Machine (JVM) ecosystem, including Gradle, Ant, Maven, and Ivy.
  • Compatible with popular tools like Eclipse, IntelliJ, Hudson, Jenkins, Puppet, Chef, Docker, and more.

Repository Formats


  • Apt Repositories
  • Bower Repositories
  • CocoaPods Repositories
  • Conan Repositories
  • Conda Repositories
  • Docker Registry
  • Git LFS Repositories
  • Go Repositories
  • Helm Repositories
  • Maven Repositories
  • npm Registry
  • NuGet Repositories
  • p2 Repositories
  • PyPI Repositories
  • R Repositories
  • Raw Repositories
  • RubyGems Repositories
  • Yum Repositories

Prerequisite: Install & Configure Nexus?


  • Nexus Repository Manager requires a Java 8 Runtime Environment (JRE)
  • Minimum CPUs: 2
  • Memory Requirements - 4GB
https://help.sonatype.com/repomanager3/installation/system-requirements

Traditional Way


Docker Way


Workflow: Working with Nexus


How to access?


http://localhost:8081/nexus

How to login?


admin/admin123

Repository Types in Nexus


  • Hosted
  • Proxy
  • Group

Upload Artifacts


http://goo.gl/VptTqr

Download Artifact


http://goo.gl/DD2Ksk

Nexus Administration


  • Users
  • Roles
  • Privileges
  • LDAP

SMTP


http://goo.gl/DoSV6A

HTTP & HTTPS Proxy


http://goo.gl/mWpocK

One and Final Reference


https://books.sonatype.com/nexus-book/reference/index.html

DevOpsSchool Community Networks


These platforms provide you the opportunity to connect with peers and industry DevOps leaders, where you can share, discuss or get information on latest topics or happenings in DevOps culture and grow your DevOps professionals network.

DevOps
Build & Release
DevOps
Build & Release
DevOpsSchool
DevOps Group
BestDevOps.com
      

Any Questions?


Thank You!


DevOpsSchool — Lets Learn, Share & Practice DevOps

www.devopsschool.com

Connect with us on
contact@devopsschool.com | +91 7004 215 841 | 1800 889 7977