感谢三位发贴人: http://blog.csdn.net/xyzjl/article/details/53148398 http://www.iyunv.com/thread-341683-1-1.
感谢三位发贴人:
http://blog.csdn.net/xyzjl/article/details/53148398
http://www.iyunv.com/thread-341683-1-1.html
http://blog.csdn.net/rekadowney/article/details/52492587
下载Nexus:
https://sonatype-download.global.ssl.fastly.net/nexus/3/nexus-3.3.0-01-win64.zip
解压到D:/nexus文件夹,可以看到nexus-3.3.0-01和sonatype-work两个文件夹。
运行cmd
执行步骤如下:
- Win+R,输入cmd回车,打开命令提示符窗口。
- 一路cd命令,进入“nexus/nexus-3.3.0-01/bin”目录。
- 输入 nexus,exe /run,回车即可运行。
对于不熟悉命令提示符命令操作的用户,还有一种简单的打开命令提示符窗口的办法:
- 进入“NEXUX_HOME/nexus/nexus-3.1.0-04/bin”目录。
- 按住Shift键,同时鼠标右键单击,选择“在此处打开命令窗口”。
- 输入 nexus,exe /run,回车即可运行。
Preparing JRE ...2017-04-27 21:21:09,061+0800 WARN [FelixStartLevel] *SYSTEM uk.org.lidalia.sysoutslf4j.context.SysOutOverSLF4JInitialiser - Your logging framework class org.ops4j.pax.logging.slf4j.Slf4jLogger is not known - if it needs access to the standard println methods on the console you will need to register it by calling registerLoggingSystemPackage2017-04-27 21:21:09,061+0800 INFO [FelixStartLevel] *SYSTEM uk.org.lidalia.sysoutslf4j.context.SysOutOverSLF4J - Package org.ops4j.pax.logging.slf4j registered; all classes within it or subpackages of it will be allowed to print to System.out and System.err2017-04-27 21:21:09,061+0800 INFO [FelixStartLevel] *SYSTEM uk.org.lidalia.sysoutslf4j.context.SysOutOverSLF4J - Replaced standard System.out and System.err PrintStreams with SLF4JPrintStreams2017-04-27 21:21:09,076+0800 INFO [FelixStartLevel] *SYSTEM uk.org.lidalia.sysoutslf4j.context.SysOutOverSLF4J - Redirected System.out and System.err to SLF4J for this context…………………………………………(程序自动运行,不用任何操作)- Initialized2017-04-27 21:22:58,357+0800 INFO [jetty-main-1] *SYSTEM org.eclipse.jetty.server.handler.ContextHandler - Started o.e.j.w.WebAppContext@7bf1276c{/,file:///D:/nexus/nexus-3.3.0-01/public/,AVAILABLE}2017-04-27 21:22:58,397+0800 INFO [jetty-main-1] *SYSTEM org.eclipse.jetty.server.ServerConnector - Started ServerConnector@59823b2b{HTTP/1.1,[http/1.1]}{0.0.0.0:8081}2017-04-27 21:22:58,398+0800 INFO [jetty-main-1] *SYSTEM org.eclipse.jetty.server.Server - Started @120970ms2017-04-27 21:22:58,402+0800 INFO [jetty-main-1] *SYSTEM org.sonatype.nexus.bootstrap.jetty.JettyServer --------------------------------------------------Started Sonatype Nexus OSS 3.3.0-01-------------------------------------------------(程序运行到这里进会停顿一会儿,此时也不需要任何操作……)2017-04-27 21:24:50,614+0800 INFO [qtp103198562-67] *UNKNOWN org.apache.shiro.session.mgt.AbstractValidatingSessionManager - Enabling session validation scheduler...2017-04-27 21:24:50,627+0800 INFO [qtp103198562-67] *UNKNOWN org.sonatype.nexus.internal.security.anonymous.AnonymousManagerImpl - Using default configuration: AnonymousConfiguration{enabled=true, userId='anonymous', realmName='NexusAuthorizingRealm'} (程序运行到这里就可以登陆Nexus了)
检查是否安装成功
浏览器测试: http://localhost:8081
默认用户名/密码: admin/admin123
见到下面的界面,恭喜登陆成功