FreeKB - Nexus Download and Install Nexus Repository Manager OSS on Linux
Nexus - Download and Install Nexus Repository Manager OSS on Linux

Before installing Nexus, your Linux system must be running version 8 of Java. The java -version command can be used to determine if Java is installed, and if installed, the version of Java that is running. If you do not have version 8 of Java on your Linux system, refer to Installing Java on Linux.

java -version

 

By default, Nexus will listen for connections on port 8081. Ensure no other processes are using port 8081.

ps -ef | grep 8081

 

  1. Go to https://www.sonatype.com/nexus/repository-oss/download and select Download.
  2. Select your Operating System (Linux) and select Download. This will download a file such as nexus-<version>-unix.tar.gz.

Place nexus-<version>-unix.tar.gz in the /tmp directory on your Linux system, and then use the tar command to extract nexus-<version>-unix.tar.gz.

cd /tmp
tar -zxf nexus-<version>-unix.tar.gz -C /opt

 

Below the /opt directory, there will now be a new directory named nexus-<version>. Issue the nexus run command to start Nexus.

/opt/nexus-<version>/bin/nexus run

 



Add a Comment




We will never share your name or email with anyone. Enter your email if you would like to be notified when we respond to your comment.




Please enter a2cf8 in the box below so that we can be sure you are a human.




Comments

Web design by yours truely - me, myself, and I   |   jeremy.canfield@freekb.net   |