Installing the MAVEN Nexus under Linux

Source: Internet
Author: User
Tags maven central

 

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

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.