NEXUS-2.12.0 Installation and Deployment

Source: Internet
Author: User
Tags sonatype

**************************

Jdk

**************************

Check Java:

Rpm-qa|grep Java

sudo rpm-e--nodeps java-1.6.0-openjdk-devel-1.6.0.37-1.13.9.4.el6_7.x86_64


/usr/local/java:

Tar xvfz jdk-7u79-linux-x64.gz-c/usr/local/

Ln-s/usr/local/jdk1.7.0_79//usr/local/java


Update/etc/profile:

Export Java_home=/usr/local/java

Export classpath= $JAVA _home/lib: $JAVA _home/jre/lib:.

Export path= $JAVA _home/bin: $PATH


**************************

Maven

**************************

/usr/local/maven:

Tar xvfz apache-maven-3.3.9-bin.tar.gz-c/usr/local/

Ln-s/usr/local/apache-maven-3.3.9//usr/local/maven

Vi/usr/local/maven/conf/setting.xml

Ln-s/data/repo//usr/local/maven/repo


Update/etc/profile:

Export Maven_home=/usr/local/maven

Export path= $MAVEN _home/bin: $PATH


**************************

Nexus

**************************

wget https://sonatype-download.global.ssl.fastly.net/nexus/oss/nexus-2.12.0-01-bundle.tar.gz


/usr/local/nexus:

sudo tar xvfz nexus-2.12.0-01-bundle.tar.gz-c/usr/local/

Ln-s/usr/local/nexus-2.12.0-01//usr/local/nexus

Ln-s/data/sonatype-work//usr/local/nexus/sonatype-work


Update/etc/profile:

Run_as_user=root

Export Run_as_user


Update/usr/local/nexus/conf/nexus.properties

Bundlebasedir =/usr/local/nexus


# Jetty Section

application-port=8081

application-host=0.0.0.0

Nexus-webapp=${bundlebasedir}/nexus

Nexus-webapp-context-path=/nexus


# Nexus Section

#nexus-work=${bundlebasedir}/. /sonatype-work/nexus

Nexus-work=${bundlebasedir}/sonatype-work/nexus

Runtime=${bundlebasedir}/nexus/web-inf



/usr/local/nexus/bin/nexus start stop


/usr/local/nginx/sbin/nginx-s Reload

/usr/local/nginx/sbin/nginx-t-c/usr/local/nginx/conf/nginx.conf


http://dev.auto.ifeng.com/nexus/#welcome

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.