Windows Nexus Environment Setup
1. Download Nexus version for Nexus-2.11.4-01-bundle
2. Put the downloaded files on the D drive for decompression
3. Directory structure after decompression
The nexus-2.11.4-01 directory contains the files needed to run the nexus. is required for Nexus operation.
The Sonatype-work directory contains the configuration files, log files, warehouse files, etc. that the nexus generates. This directory is backed up by default when we need to back up the nexus.
4. Configure the environment variables, configure the directory to the environment variable path, and store the directory for my files.
5. Switch to the directory to execute the installation command
(1) Nexus Install
(2) Start Nexus
Nexus start
If startup fails, such as. This message indicates that the JDK is not configured correctly and requires more than jdk1.7 version if the Nexus is above version 2.6. and configure the JDK path in the wrapper.conf file Wrapper.java.command=c:\program files\java\jdk1.7.0_75\bin\java.exe
Error message:
Cause of error
Nexus does not start for the approximate reason:
1.nexus in the wrapper.conf file: A Java configuration error causes startup failures (including version errors and path errors) to be resolved as above
2.nexus of 8081 Ports are occupied
Modify the Nexus port number--Find the Application-port in Nexus.properties under nexus-2.11.4-01\conf to modify the port number you want
6. Start successfully, enter address
http://127.0.0.1:8081/nexus/
Windows Nexus Environment Setup