Unpacking the Distribution Archives Non-Destructively
The distribution archives are designed to be unpacked from the command line such that it will not replace or overwrite any existing files in the directory it resides in, but will create any missing files.
- As the user account that will eventually run Nexus Repository 3, download or copy the bundle into the Nexus Repository 3 Installation Directory
-
Extract the archive using a command specific to your bundle format.
Examples using the Nexus Repository 3.1.0-04 distributions:tar xzf nexus-installer-3.1.0-04-unix.tar.gz
tar xzf nexus-installer-3.1.0-04-mac.tgz
7za.exe e nexus-installer-3.1.0-04-win64.zip
-
Extracting the archive will populate the application directory and the parent of the default Data Directory.
./nexus-3.1.0-04 ./sonatype-work