

You can simply obtain the link and pull the tarball using wget command as shown below. Next, navigate to Nexus repository OSS downloads page, register for an account and download Nexus repository OSS for Unix tarball. echo "nexus ALL=(ALL) NOPASSWD: ALL" > /etc/sudoers.d/nexus Download Nexus Repository OSS Tarball Instead, create a system account for Nexus useradd -M -d /opt/nexus -s /bin/bash -r nexusĪllow the nexus user to run all commands with sudo without password.

OpenJDK 64-Bit Server VM (build 25.282-b08, mixed mode) Create Dedicated Nexus System AccountĪs a security precaution, Nexus Repository Manager should NOT be run as the root user. Then install Java 8 apt install openjdk-8-jdkĬonfirm the installed version of Java java -version openjdk version "1.8.0_282" You can simply run the command below to install Java 8 on Ubuntu 20.04 apt update You can install full JDK or just the JRE. Nexus repository manager requires Java 8 Runtime Environment (JRE).

Update system package cache apt update Install Java on Ubuntu 20.04 Ensure that the minimum requirements are met by your system before you can proceed to install Nexus repository manager on Ubuntu 20.04 as outlined on Nexus system requirements page, links provided below.
