First, Introduction
Nexus is a powerful MAVEN warehouse manager that greatly simplifies the maintenance of its internal warehouses and access to external warehouses.
Second, installation
1, need JDK8 above environment
2, download Nexus installation package, download website address: Https://www.sonatype.com/download-oss-sonatype
3, installation only need a few steps
sudo mkdir/opt/nexus# extract sudo tar zxvf nexus - 3.13 . 0 -01 -unix.tar.gz-c/opt/nexus# new user sudo useradd nexus# modify file belongs to user sudo chown Nexus /opt/nexus- r # add JAVA configuration # will Install4j_java_home_ OVERRIDE =/opt/java/jdk1. 8 . 0_171/vi /opt/nexus/nexus-3.13 . 0 -01 /bin/nexus
4, the first time to start viewing the log, then you can use (boot:/opt/nexus/nexus-3.13. 0-01/bin/nexus start off:/opt/nexus/nexus-3.13. 0-01/bin/nexus Stop)
/opt/nexus/nexus-3.13. 0-/bin/nexus Run
5, after the completion of the Access address: http://127.0.0.1:8081 (if the page 404 error, etc. will be refreshed access)
6. Use default account: Admin/admin123 Login
Yexiangyang
[Email protected]
Install nexus3.x under Linux