Nexus Introduction
Nexus is the MAVEN warehouse manager, and if you use Maven, you can download the required artifacts from the MAVEN central repository (artifact), but this is usually not a good practice, you should set up a MAVEN warehouse server locally and maintain the local repository while acting on the remote repository To save bandwidth and time, the Nexus can meet this need. In addition, he provides a powerful warehouse management feature, component search functionality, which is based on rest, and the friendly UI is a ExtJS rest client that consumes less memory and is based on a simple file system rather than a database. These advantages make it increasingly the most popular MAVEN warehouse manager.
Nexus Download
- : http://www.sonatype.org/nexus/, download Open source version
NEXUS oss [OSS = open source software, open source software--free]
NEXUS Professional-free TRIAL [Professional version-charge].
Nexus installation
- Installation Environment: Operating system: Linxu (CentOS)
- Unzip the package into the/usr directory, the Nexus has 2 folders, the first folder is the core file, the second folder is used to store the downloaded jar:
- Modify the port, enter the nexus/nexubs-2.13.0-01/conf directory, edit the nexus.properties file, command: Vim nexus.properties
- Start the Nexus, enter the Nexus/nexubs-2.13.0-01/bin directory,
-
- Run command:./nexus//Can see those running commands
- Run command:./nexus start//Start Nexus
Note: May error, reported above errors: need to modify the running user, modify the running file Nexus, command: Vim Nexus, change run_as_user to root;
After saving, start the Nexus again and run the command:./nexus start
- View Nexus Console, command:./nexus Console
- Access in the browser. Address: HTTP://IP: Port/nexus
- Login in the upper-right corner of the Web page, Default User name: admin, Password: admin123
Installing the MAVEN Nexus under Linux