How to install and configure Sonatype Nexus?

Note: This steps are applicable for Linux Only.

Prerequisite or System Requirements for Sonatype Nexus

  • Java 8 Runtime Environment (JRE)
  • Minimum CPUs: 4
  • Minimum RAM – 4 GB
  • OS – ANY but in this tutorials, we are using Linux

Step 1 – Install Java 8

Step 2 – Download Sonatype Nexus OSS or Pro

$ sudo -s 
$ cd /opt
$ yum install wget -y
$ wget https://download.sonatype.com/nexus/3/latest-unix.tar.gz
$ tar -zxvf latest-unix.tar.gz

Step 3 – Start and Validate a Sonatype Nexus

$ cd nexus-3.30.1-01
$ cd bin
$ ./nexus start
$ ./nexus status

Step 4 – Access Sonatype Nexus

# Default port for Sonatype Nexus is 8081. It would 2-3 mins of time to see a websites as below;

http://XX.2.146.91:8081/
admin
admin123
Rajesh Kumar
Follow me