You can imagine a situation like this , When a company has a project , First, 3 When it comes to personal development , They Maven I've relied on a lot of packages , Now there's a new man , He also needs to develop this project , If he continues to download from the central warehouse , So it will undoubtedly Download for a long time , So what's the solution , That's to build private clothes , Of course, it's much faster to download packages on the company LAN ！
Now let's talk about how to install nexus Well .
First, of course, to download nexus Slightly https://www.sonatype.com/download-oss-sonatype
download 2.14.2 Version of .
After decompression , take bin The path to the directory is added to path Go to... In environment variable .
After adding , Input nexus Test it , This will happen .
Leave him alone . Then we need to change a configuration
stay bin/jsw/conf Find the file in the directory , open .
Change it to ：
C:\Program Files\Java\jdk1.7.0_04\bin\java For my JDK Of java.exe The absolute path to the file , You can change it to yours ！
Input nexus install add to nexus service
Input nexus start Start the service
Verify that the service starts normally ：
Type in the browser ： http://localhost:8081/nexus/ The default port is 8081 — Of course you can modify
user name :admin password :admin123
The installation is complete ！
This article is written by [ Familiar with memory ] To write , All rights reserved . Welcome to reprint , Sharing is the source of progress .
Participation of this paper Tencent cloud media sharing plan , You are welcome to join us , share .