Linux Build Nexus

Source: Internet
Author: User
Tags gz file

MAVEN is already set up, and now it's time to build a configuration nexus to get the functionality of the function ha.

1, Nexus download

Nexus official Download, latest version download: nexus-2.4.0-09-bundle.tar.gz

Nexus War Download: Nexus-2.4.0-09.war

Nexus has two kinds of installation implementation, one is the way of war package, put it directly in such as Tomcat can be enabled, there is a source of the way, as an operation or like the source of the way the said Ha. Let's go...

2, Nexus installation

Unzip the tar.gz file:

#cd/home/tools

#tar ZXVF nexus-2.4.0-09-bundle.tar.gz

Move Directory

#mv Nexus-2.4.0-09/usr/local/nexus

3, Nexus Boot

Nexus boot is in the bin directory, first look at the startup/shutdown/restart command, Input command:

#cd/usr/local/nexus/bin

#./nexus

The following options appear:

[Email protected] bin]#./nexus

Usage:./nexus {Console | start | stop | restart | status | dump}

Start Nexus:

#./nexus start

Close Nexus:

#./nexus stop

4, Nexus Verification

After you start the Nexus, enter the address in your native browser: Http://localhost:8081/nexus

The page above shows that the configuration Nexus is successful!

In the upper-right corner, click "Log In" to enter the user name and password (default username: admin Password: admin123) login

5. Settings

1. Click on the left repositories to change the Download Remote Index configuration to True for all type is proxy configuration options

If you need the agent to configure the bottom of the override Http proxy Setting on the hook and fill in the Proxy server address and port, last save the settings

2. Then right-click the ReIndex in the list

3. Add your own jar to Nexus

Check 3rd party, Artifact Upload label

GAV Definition Selection GAV Parameters

Fill out Group Artifact version Packaging

Then select the jar package to upload the submission.

Linux Build Nexus

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.