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)