Install Nexus private server on CentOS6

Source: Internet
Author: User

Install Nexus private server on CentOS6
1. Download The nexus compressed package: Ghost# Unzipnexus-2.14.0-01-bundle.zipDecompress two folders, nexus-2.14.0-01 sonatype-work. 4. Enter the startup directory.# CDs nexus-2.6.0-05/bin/5. Start nexus#./Nexus startView the nexus command :. /nexus7. at this time, the system may prompt ********************************** ******
WARNING-NOT RECOMMENDED TO RUN AS ROOT
**************************************** If you insist running as root, then set the environment variable RUN_AS_USER = root before running this script. this indicates configuring export RUN_AS_USER = root in the environment.

Enter:

Export RUN_AS_USER = root

Then execute the command, and the prompt will not be displayed again.
./Nexus start

You can also permanently configure vi/etc/profile in the system to add export RUN_AS_USER = root8. view the log after startup.# Vim, usr, nexus, nexus-2.14.0-01, logs, and wrapper. logThe error is reported because the host name and HOSTNAME in the/etc/hosts configuration are inconsistent with those in the/etc/networks file. The change is as follows: restart nexus Service 9. host access http: // 10.1.120.139: 8081/nexus/# welcome, successful!
10. For more information about centos network configuration, refer to the following link:

Http://blog.youxey.com/archives/293.htmllinux/centosinstall mavenprivate warehouse nexus

Http://blog.csdn.net/shandian534/article/details/8987349 Nexus installation and configuration http://snowolf.iteye.com/blog/1605811 Maven discrete notes-configure Nexushttp: // www.blogjava.net/javalinjx/archive/2013/08/21/403110.html linux system build maven nexus service Article http://wenku.baidu.com/view/a9a0618acc22bcd126ff0c4a.html Nexus Getting Started Guide (graphic)

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.