First, download Nexus
Download OSS Latest Version: Https://www.sonatype.com/download-oss-sonatype
Old version: Https://support.sonatype.com/hc/en-us/articles/218637467-Download-Nexus-Repository-Manager-3
Version differences:
- Nexus oss (OSS = open source software) This version contains the basic functionality based on Sonatype open source software code and other features that are released as open source in the form of packages, free trial licenses see the downloaded binary package.
- Nexus Professional Nexus Professional CLM Edition
This is the flagship version, which contains all the features of the professional version. Need to purchase a license.
- Nexus Professional Trial
The trial version, which does not include all the features of the Nexus Professional Nexus Professional CLM Edition, is currently ((March 31, 2015)) available for a 14-day trial period, while the installation package is released in binary implementation ( See more information about differences):
When you open the link above, you will get to the following page
The middle section of which is the official installation documentation
You can read it by clicking on the left side.
Download the files back to C:\nexus
2. Install and run
① Modifying the data store path, C:\nexus\nexus-3.3.1-01\bin\nexus.vmoptions
Of course, you can directly use the default, supporting relative and absolute paths.
② Modify IP, port, Access root directory, C:\nexus\nexus-3.3.1-01\etc\nexus-default.properties
③ start, execute c:\nexus\nexus-3.3.1-01\bin\nexus.exe/run at the command line
Exit: "Ctrl" + "C"
④ access Test after boot is complete, https://127.0.0.1:8081
⑤ (optional) installation as a service
Nexus.exe/install <optional-service-name> # install Nexus. exe/start <optional-service-name > # start Nexus. exe/stop <optional-service-name> # End Nexus. Exe/uninstall < optional-service-name> # Uninstall #其中 <optional-service-name> The name of the service that can be customized
⑥ login with initial account password
Nexus init account password: admin/admin123
Of course, these can be logged in to make changes.
In addition to the nexus to build a private warehouse, there are Apache Archiva and Jfrog Artifactory can be implemented.
archiva:http://archiva.apache.org/index.cgi
artifactory:http://forums.jfrog.org/
Using Nexus to build a maven (installation) under Windows